How to check Server reboot reason

Hi,

I want to know how can we check Server reboot reason on Suse linux ?
or what caused server to reboot or hung.

anyone knows abut the it. ?

Bryan

The trouble is that when a server has problems, it often is not able to write to a log file.

There are a number of logs in /var/log , including

/var/log/boot

or

/var/log/boot.log

Did you search there or the other syslog files?

/var/log/boot.msg also may hold some hints, as well as /var/log/mesasges, on my OpenSuSE 11.0 I have the following :

egrep -i '(shut|reboot)' messages > reboots.log

and when I 'cat' the file :

Guys thankx for reply but i really didnt find anything from this boot and message logs files. I think configuring dump collecting system can only help in such matter ?