1828469 Members
3250 Online
109978 Solutions
New Discussion

system reboots itself?

 
Pradeep_7
Occasional Advisor

system reboots itself?

Hi,

I am using redhat linux 6.2. I observed that my system reboots in around every month or so (no particular time span), with out even any command issued. Is there any way I can stop this doing.

Where can I check why it has been rebooted?
Why would the system even reboot itself?

Any help would be a lot appreciated.

Thanks.

3 REPLIES 3
I_M
Honored Contributor

Re: system reboots itself?

Hi

There are some possibility to reboot the system.

1) Hardware problem

2) Software Problem

3) Cracked

4) Power (or UPS) problem

In any cases, logfile helps you to identify the problem.

/var/log/messages
(what is the last message you see before reboot?)

# last
(Who was in the system.)

# uptime
(When the system booted last time.)

For example, you can set mail command in the /etc/rc.d/rc.local , then you can get the e-mail notification at a time when the system reboot.

Good luck

Ted M Johnson_1
Frequent Advisor

Re: system reboots itself?

...you might want to get a temperature probe as well - ya might be overheating.

Good Luck.
Mark Fenton
Esteemed Contributor

Re: system reboots itself?

If the reboot is being caused by some kernel panic or other, there should be an indication in /var/log/messages as to what hickuped.

If that's not the case, then mayhap there is a transient power/heat problem that is causing the behavior.

The suggestion to have the rc.local send an email is sound -- you could add a line like:

mail < `dmesg` -s "System rebooted" someuser@somewhere

And at least then you'd have a fresh copy of what happened...

Mark