cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Errors in rc.log

 
SOLVED
Go to solution
Ganesh Saraf
Occasional Advisor

Multiple Errors in rc.log

Hi all,
today i have changed one server host name and IP address. Also changes entries in hosts file. After reboot server, server started giving multiple errors. Even same error were found while changeing run levels.

Here am attacing rc.log file for referance.

Please help to find out real problem.
6 REPLIES
Vivek Bhatia
Trusted Contributor

Re: Multiple Errors in rc.log

Hi Ganesh,

I think you should set all the information using the command set_parms and then try a reboot.

Regards
Vivek
James R. Ferguson
Acclaimed Contributor

Re: Multiple 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...
Ganesh Saraf
Occasional Advisor

Re: Multiple Errors in rc.log

Hi JRF,
I have executed command given by you ( sh -vx /etc/rc.config 2>&1|more) but coudnt figured out what i should do next.. Am attaching out of same. Help me to know wht to next.

Regards,
Ganesh
James R. Ferguson
Acclaimed Contributor
Solution

Re: Multiple Errors in rc.log

Hi (again) Ganesh:

If you look at your output you see:

+ fname=gan
+ [ -f /etc/rc.config.d/gan -a gan != core -a gan = gan ]
+ . /etc/rc.config.d/gan
+ NAME VALUE BOOT MIN-MAX UNITS FLAGS
/etc/rc.config[11]: NAME: not found.

This points to the file '/etc/rc.config.d/gan' as the file that should not be in /etc/rc.config.d' (or is misconfigued).

Regards!

...JRF...
Ganesh Saraf
Occasional Advisor

Re: Multiple Errors in rc.log

hi again JRF,
Thanks lot for solution. I mistakelly redirected sysdef output to gan file in /etc/rc.config.d directory. i removed that file. It solved the problem

Thanks a lot once again.

Regards,
Ganesh
Ganesh Saraf
Occasional Advisor

Re: Multiple Errors in rc.log

Thanks a lot once again!!