How to see why my server is restarted without user action

Jason Paddle asked:

My server is restarted by itself tonight. How can I determine waht caused this? I checked in /var/log/messages but I can’t understand from there.

Is there any other way/option ?

I use Red Hat Enterprise Linux AS release 3 (Taroon Update 5)

Thanks

My answer:


Best guess:

Your server is restarting because some piece of hardware in it is failing. It is, after all, an antique that should have been decommissioned years ago. The symptom you describe is also strongly correlated with failed hardware components, regardless of the age of the system.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.