Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I find out why my UNIX server rebooted

Status
Not open for further replies.

Snili

IS-IT--Management
Feb 1, 2002
2
0
0
GB
Dear friends,
Last night, I realised one of my UNIX servers had re-booted itself. How can I find out the cause of this re-boot? At the time no one was even logged onto the box.

Many thanks
 
Check /var/adm/messages file and see if there are any messages before the reboot started that will help with the cause of the problem.
 
Snili,
You can check by run this command as root user:
#crontab -e
and look in there if somebody set crontab to reboot your system by itself.

Thanks,
ST
 

sunguy123,
while its possible to consult the crontab with the editor choice (-e) its way more simpler and less dangerous to check it out with the -l (list entries) option and its also more simpler because you can see all crontabs entries alot faster use it like this:

crontab -l "user"

Best Regards

Nuno Abrantes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top