1835388 Members
3067 Online
110078 Solutions
New Discussion

startup error for hpux11

 
kholikt
Super Advisor

startup error for hpux11

Hi,

I got the following message during the startup.

/sbin/auto_parms[10]: 0^J1: Syntax error

what is the problem??
abc
5 REPLIES 5
Michael Tully
Honored Contributor

Re: startup error for hpux11

Hi,

Sounds like there is a syntax error
in the /sbin/auto_parms script at
line 10. Has this file been changed
recently?? This is not file that
should be changed at all.

What OS have you got?
From one of my HP-UX 11 systems I
get this:

# ll ./auto_parms
-r-xr--r-- 1 bin bin 42764 Oct 27 1997 auto_parms

# sum ./auto_parms
40705 84 ./auto_parms
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: startup error for hpux11

Hi,

Sounds like there is a syntax error
in the /sbin/auto_parms script at
line 10. Has this file been changed
recently?? This is not file that
should be changed at all.

What OS have you got 11 or 11i
From one of my HP-UX 11 systems I
get this:

# ll ./auto_parms
-r-xr--r-- 1 bin bin 42764 Oct 27 1997 auto_parms

# sum ./auto_parms
40705 84 ./auto_parms
Anyone for a Mutiny ?
K.Vijayaragavan.
Respected Contributor

Re: startup error for hpux11

1)Can you post the content of /sbin/auto_parms (atleast first 15 lines)?

2)Are you using DHCP server and have you configured or tried to configure your workstation as DHCP client?

3)auto_parms script checks value of the parameter "DHCP_ENABLE[0]=" in /etc/rc.config.d/netconf.

4)If you don't want DHCP client the set the value as follows,
DHCP_ENABLE[0]=0

5)It also checks the files,
/etc/rc.config.d/LANG
/etc/dt/config/Xconfig

6)check the file "/etc/auto_parms.log" file for more details.

7)man auto_parms

-K.Vijay

"Let us fine tune our knowledge together"
Mark Greene_1
Honored Contributor

Re: startup error for hpux11

It appears you have ^J instead of a real linefeed in the script. If you run "cat -v /sbin/auto_parms", and then just "cat /sbin/auto_parms" do you see the literal string ^J in either listing?

mark
the future will be a lot like now, only later
Roger Baptiste
Honored Contributor

Re: startup error for hpux11

hi,

Another check is, the auto_parms script is called from the /sbin/rc script during startup time.
Check and ensure the two
files /sbin/rc and /sbin/auto_parms are ok.


test@/home/new > ll /sbin/auto_parms
-r-xr--r-- 1 bin bin 42988 Aug 16 2000 /sbin/auto_parms

test@/home/new >ll /sbin/rc
-r-xr--r-- 1 bin sys 4262 Nov 7 1997 /sbin/rc

test@/home/new >grep auto_parms /sbin/rc
# /sbin/auto_parms will invoke /sbin/set_parms to remedy the situation.
if [ -x /sbin/auto_parms ]; then
/sbin/auto_parms
echo "\nWARNING: /sbin/auto_parms does not exist"

***

-ra
Take it easy.