LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Errors On Shutdown (Is There A Log?) (https://www.linuxquestions.org/questions/linux-server-73/errors-on-shutdown-is-there-a-log-770478/)

jmoschetti45 11-20-2009 12:52 PM

Errors On Shutdown (Is There A Log?)
 
Occasionally some things hang on shutdown. Seems to be random as far as I can tell, I'm not always there to watch the reboot.

So far these have hung:
bind9
portmap
deconfiguring network interfaces

It's not always the same ones, sometimes it's none at all, sometimes it's more than one.

No idea what's going on.

I tried throwing "echo dmesg > /var/log/shutdown.txt" into a script in rc0 just before the umount local file systems one, but it hasn't produced a log.

Any other way of getting details like in dmesg on boot for shutdown?

rweaver 11-20-2009 05:18 PM

Quote:

Originally Posted by jmoschetti45 (Post 3764181)
Occasionally some things hang on shutdown. Seems to be random as far as I can tell, I'm not always there to watch the reboot.

So far these have hung:
bind9
portmap
deconfiguring network interfaces

It's not always the same ones, sometimes it's none at all, sometimes it's more than one.

No idea what's going on.

I tried throwing "echo dmesg > /var/log/shutdown.txt" into a script in rc0 just before the umount local file systems one, but it hasn't produced a log.

Any other way of getting details like in dmesg on boot for shutdown?

If your system is shutting down correctly that information should be in the normal logs unless it shutdown syslog first.


All times are GMT -5. The time now is 08:54 PM.