1832616 Members
3485 Online
110043 Solutions
New Discussion

Re: HP-UX Shutdown Log

 
Bala_4
Occasional Advisor

HP-UX Shutdown Log

Hi All

I wanted to know where the log file is generated when you shutdown the HP-UX ver 11.00 server ? The /etc/shutdownlog doesnot provide any useful info.
This is what I am looking for.
When the server is started, all scripts in /sbin/rcN.d [N=0 - 6] starting with "S" are executed and the progress is recorded in /etc/rc.log.
Now what is equivalent log file for rc when server is shutdown. i.e when "K" scripts are executed.

Thanks in advance

Bala
7 REPLIES 7
Mark Mitchell
Trusted Contributor

Re: HP-UX Shutdown Log

Not knowing what info you want start is 2 places,
/sbin/rc.log and rcOLD.log for the specific start and shutdown information. Also you might want to look at /var/adm/syslog/syslog.log and OLDsyslog.log
James R. Ferguson
Acclaimed Contributor

Re: HP-UX Shutdown Log

Hi:

The /etc/rc.log is moved to /etc/rc.log.old

...JRF...
Mark Mitchell
Trusted Contributor

Re: HP-UX Shutdown Log

whoops, must be thinking about rc.d's in sbin.
James A. Donovan
Honored Contributor

Re: HP-UX Shutdown Log

Look in /etc/rc.log.old when your server comes back up. You'll see that it contains the log of all the shutdown scripts.
Remember, wherever you go, there you are...
Bill McNAMARA_1
Honored Contributor

Re: HP-UX Shutdown Log

The shutdown log will provide usefull information in cases of unexpected shutdowns such as panics or TOCs and so on.

You can verify from the shutdown log if there was a reboot or shutdown issued by root, time and so on.. so in these cases it's usefull enough.

What kind of information are you looking for on shutdown?

Later,
Bill
It works for me (tm)
f. halili
Trusted Contributor

Re: HP-UX Shutdown Log

Re scripts in /sbin/rc0.d, /bin/rc1.d, /sbin/rc3.d ......
Those that starts with "S" gets logged in the /etc/rc.log file. Those files with the "K" aren't.


derekh
Insu Kim
Honored Contributor

Re: HP-UX Shutdown Log

They're recorded from the middle of the rc.log.old.

Best regards,
Never say "no" first.