Operating System - HP-UX
1753784 Members
7098 Online
108799 Solutions
New Discussion юеВ

Re: Problems with load hostname an ip adress

 
SOLVED
Go to solution
Edixon Padilla
New Member

Problems with load hostname an ip adress

hi all,

I have this problems with a rp3440 and hpux 11.11, this are the mesagges:


Output from "/sbin/rc2.d/S130pfilboot start":
----------------------------
/sbin/rc2.d/S130pfilboot[5]: Syntax error at line 131 : `"' is not matched.


Output from "/sbin/rc2.d/S131ipfboot start":
----------------------------
/sbin/rc2.d/S131ipfboot[6]: Syntax error at line 131 : `"' is not matched.

Output from "/sbin/rc2.d/S340net start":
----------------------------
/sbin/rc2.d/S340net[134]: Syntax error at line 131 : `"' is not matched.

Output from "/sbin/rc2.d/S370named start":
----------------------------
/sbin/rc2.d/S370named[49]: Syntax error at line 131 : `"' is not matched.


Output from "/sbin/rc2.d/S490mrouted start":
----------------------------
/sbin/rc2.d/S490mrouted[39]: Syntax error at line 131 : `"' is not matched.

Output from "/sbin/rc2.d/S500inetd start":
----------------------------
/sbin/rc2.d/S500inetd[38]: Syntax error at line 131 : `"' is not matched.

Output from "/sbin/rc2.d/S510gated start":
----------------------------
/sbin/rc2.d/S510gated[38]: Syntax error at line 131 : `"' is not matched.

Start router discover protocol daemon
Output from "/sbin/rc2.d/S520rdpd start":
----------------------------
/sbin/rc2.d/S520rdpd[25]: Syntax error at line 131 : `"' is not matched.

Start RARP protocol daemon
Output from "/sbin/rc2.d/S525rarpd start":
----------------------------
/sbin/rc2.d/S525rarpd[37]: Syntax error at line 131 : `"' is not matched.

Start remote system status daemon
Output from "/sbin/rc2.d/S530rwhod start":
----------------------------
/sbin/rc2.d/S530rwhod[39]: Syntax error at line 131 : `"' is not matched.

/sbin/rc2.d/S535inetsvcs[75]: Syntax error at line 131 : `"' is not matched.

Starting mail daemon
Output from "/sbin/rc2.d/S540sendmail start":
----------------------------
/sbin/rc2.d/S540sendmail[37]: Syntax error at line 131 : `"' is not matched.


Output from "/sbin/rc2.d/S550ddfa start":
----------------------------
/sbin/rc2.d/S550ddfa[40]: Syntax error at line 131 : `"' is not matched.

Start SNMP Master Network Management daemon
Output from "/sbin/rc2.d/S560SnmpMaster start":
----------------------------
/sbin/rc2.d/S560SnmpMaster[167]: Syntax error at line 131 : `"' is not matched.

Start OSPF MIB Network Management subAgent
Output from "/sbin/rc2.d/S565OspfMib start":
----------------------------
/sbin/rc2.d/S565OspfMib[74]: Syntax error at line 131 : `"' is not matched.

Start SNMP HP-UNIX Network Management subAgent
Output from "/sbin/rc2.d/S565SnmpHpunix start":
----------------------------
/sbin/rc2.d/S565SnmpHpunix[203]: Syntax error at line 131 : `"' is not matched.

Start SNMP MIB-2 Network Management subAgent
Output from "/sbin/rc2.d/S565SnmpMib2 start":
----------------------------
/sbin/rc2.d/S565SnmpMib2[207]: Syntax error at line 131 : `"' is not matched.

Start SNMP Trap Dest Network Management subAgent
Output from "/sbin/rc2.d/S565SnmpTrpDst start":
----------------------------
/sbin/rc2.d/S565SnmpTrpDst[208]: Syntax error at line 131 : `"' is not matched.

Output from "/sbin/rc2.d/S590Rpcd start":
----------------------------
/sbin/rc2.d/S590Rpcd[30]: Syntax error at line 131 : `"' is not matched.


Output from "/sbin/rc2.d/S600iforls start":
----------------------------
/sbin/rc2.d/S600iforls[34]: Syntax error at line 131 : `"' is not matched.


Start remote boot daemon
Output from "/sbin/rc2.d/S610rbootd start":
----------------------------
/sbin/rc2.d/S610rbootd[40]: Syntax error at line 131 : `"' is not matched.

Start time synchronization
Output from "/sbin/rc2.d/S660xntpd start":
----------------------------
/sbin/rc2.d/S660xntpd[37]: Syntax error at line 131 : `"' is not matched.

Start accounting
Output from "/sbin/rc2.d/S700acct start":
----------------------------
/sbin/rc2.d/S700acct[39]: Syntax error at line 131 : `"' is not matched.

and when the system is ready and execute the command:

#uname -a --->show next
hpux 11.11 unknow

and the interfaces of network not load.

when i execute the command #set_parms
i configured the hostname and ip adress and the server works fine. when i reboot the server, lost the information.

thanks for you help.
5 REPLIES 5
Dennis Handly
Acclaimed Contributor
Solution

Re: Problems with load hostname an ip adress

>/sbin/rc2.d/S130pfilboot[5]: Syntax error at line 131 : `"' is not matched.

You could have a junk file in /etc/rc.config.d/.
Or you have a typo (extra or missing double quote) in one of the config files there. Any file there you changed recently, around line 131?
sahir_1
Frequent Advisor

Re: Problems with load hostname an ip adress

Hi,

Check /etc/rc file. Especially line no:131 in that. I feel you may have to remove one " or ' form that line. Do it after a backup of /etc/rc file in hand.. :-)

All the Best..

Sahir
Edixon Padilla
New Member

Re: Problems with load hostname an ip adress

I will review and then tell you.

Thanks...
Steven E. Protter
Exalted Contributor

Re: Problems with load hostname an ip adress

Shalom,

A quick fix would be to restore the rc file from a working system.

You can't keep duplicates of configuration files in /etc/rc.config.d unless they start with certain characters. Not being able to remember what those characters are, I simply keep copies under development elsewhere.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bob E Campbell
Honored Contributor

Re: Problems with load hostname an ip adress

A quick check for problems under /sbin/init.d would be to run the command "swverify \*" and look for errors.

If you need clean copies of the files under /etc/rc.config.d look under /usr/newconfig/etc/rc.config.d.

Also run the following snippet:

for X in /sbin/init.d/* /etc/rc.config.d/*
do
sh -n $X
[[ $? -ne 0 ]] && print ERROR: $X
done