Click to See Complete Forum and Search --> : Logging shutdown information


rsgunter
04-29-2001, 03:50 PM
Can someone tell me where I can find a log of the shutdown information? I'm using Mandrake 7.2.

Bills_a_bub
04-29-2001, 04:56 PM
Shutdown information as in what happened during a shutdown of your system? Check:


/var/log/messages


If that's not it, please post specifically what you are looking for.

<edit>wiped sleep from eyes and typed correct path</edit>

[ 29 April 2001: Message edited by: Bills_a_bub ]

rsgunter
04-30-2001, 01:22 AM
Yes, as in shutdown information as in what happened during the shutdown of my system.

Specifically I'm looking for some type of error. I just installed a removeable hard drive enclosure on one of my drives and I keep noticing some sort of error message about the drive on each shutdown. Unfortunately the message appears a split second before my system powers off.

I don't see anything in /var/log/messages about it, but I think it may be having a problem flushing something. Other than that the drive appears to be working fine.

Thanks for the help and maybe I'll just learn to read really fast... :)

The_Stack
05-07-2001, 12:00 PM
You could try to setup logging for debug messages.

first read:
man syslog.conf
man touch
man chmod
man kill
man syslogd

su to root, then create a new logfile:
touch /var/log/debug

use chmod to remove rwx privileges:
chmod o-r /var/log/debug
chmod o-w /var/log/debug
chmod o-x /var/log/debug

add the following line to your /etc/syslog.conf file:
*.debug /var/log/debug


restart your syslog:
kill HUP `pidof syslogd`

Good Luck!