1752277 Members
4520 Online
108786 Solutions
New Discussion юеВ

Re: errors in rc.log

 
SOLVED
Go to solution
DeafFrog
Valued Contributor

errors in rc.log

Dear Gurus,

I saw some errors in rc.log .........
Start multicast routing daemon
Output from "/sbin/rc2.d/S490mrouted start":
----------------------------
/sbin/rc2.d/S490mrouted[39]: Syntax error at line 4 : `(' is not expected.

Start Internet services daemon
Output from "/sbin/rc2.d/S500inetd start":
----------------------------
/sbin/rc2.d/S500inetd[38]: Syntax error at line 4 : `(' is not expected.

Start dynamic routing daemon
Output from "/sbin/rc2.d/S510gated start":
----------------------------
/sbin/rc2.d/S510gated[38]: Syntax error at line 4 : `(' is not expected.

after i had restored the box with ignite tape.
also the inetd is not coing up ..
# /sbin/init.d/inetd start
/sbin/init.d/inetd[38]: Syntax error at line 4 : `(' is not expected.
#
could you please suggest what i can check for ......
Regards ,
Rahul


FrogIsDeaf
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: errors in rc.log

Hi:

You probably have a bogus file in the '/etc/rc.config.d' directory. You can keep backup copies of files here _ONLY_ if you follow the rules documented in '/etc/rc.config'.

One way to expose the problem is to do:

# sh -vx /etc/rc.config 2>&1|more

The actual filename will appear as 'fname=' in the traced output with clear syntax errors like you have seen.

Regards!

...JRF...
DeafFrog
Valued Contributor

Re: errors in rc.log

Dear James ,

Removed the bogus entry and rebooted.now OK.You are fantastic !!

Thanks a lot once again.
FrogIsDeaf