Hi,
My CentOS will reboot every several days. There's nothing in /var/log/messages. I want to find out why it reboots automatically. Is there any log I can look at? Or any suggestions to monitor the server activity?
Thanks, Justin
My CentOS will reboot every several days. There's nothing in /var/log/messages. I want to find out why it reboots automatically. Is there any log I can look at? Or any suggestions to monitor the server activity?
You might try setting up remote syslogging to see if you catch anything extra there .. besides that .. if you have any indication that it is load related .. you might look at hangwatch http://people.redhat.com/astokes/hangwatch/ to try and get information from sysrq if load becomes too high.
Barry
Hi Barry,
Thanks for your suggestion. The load of my server is very light. I'll give remote syslog a try. If remote syslog can't catch anything extra, is there any other clue?
Thanks, Justin
On Sun, Sep 6, 2009 at 10:45 AM, Barry Brimer lists@brimer.org wrote:
My CentOS will reboot every several days. There's nothing in /var/log/messages. I want to find out why it reboots automatically. Is
there
any log I can look at? Or any suggestions to monitor the server activity?
You might try setting up remote syslogging to see if you catch anything extra there .. besides that .. if you have any indication that it is load related .. you might look at hangwatch http://people.redhat.com/astokes/hangwatch/ to try and get information from sysrq if load becomes too high.
Barry _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Maybe look for cron jobs? Also, if you are on a network that has Internet access, see if you have a vulnerable kernel?
On Sun, Sep 6, 2009 at 12:57 PM, Justin Yaojyaojyao@gmail.com wrote:
Hi Barry,
Thanks for your suggestion. The load of my server is very light. I'll give remote syslog a try. If remote syslog can't catch anything extra, is there any other clue?
Thanks, Justin
On Sun, Sep 6, 2009 at 10:45 AM, Barry Brimer lists@brimer.org wrote:
My CentOS will reboot every several days. There's nothing in /var/log/messages. I want to find out why it reboots automatically. Is there any log I can look at? Or any suggestions to monitor the server activity?
You might try setting up remote syslogging to see if you catch anything extra there .. besides that .. if you have any indication that it is load related .. you might look at hangwatch http://people.redhat.com/astokes/hangwatch/ to try and get information from sysrq if load becomes too high.
Barry _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Justin Yao wrote:
Hi,
My CentOS will reboot every several days. There's nothing in /var/log/messages. I want to find out why it reboots automatically. Is there any log I can look at? Or any suggestions to monitor the server activity?
Odds are that it is hardware related (power supply, RAM, etc.) and crashing before it can log anything.
On Sun, Sep 6, 2009 at 12:01 PM, Les Mikeselllesmikesell@gmail.com wrote:
Justin Yao wrote:
My CentOS will reboot every several days. There's nothing in /var/log/messages. I want to find out why it reboots automatically. Is there any log I can look at? Or any suggestions to monitor the server activity?
Odds are that it is hardware related (power supply, RAM, etc.) and crashing before it can log anything.
+1 unless it is happening at the same time when a cron job is running, as Scott mentioned. Inspect the fans on the PSU and CPU and make sure they are running. Be sure it has good ventilation and is clean inside.
On 09/06/2009 10:23 AM, Lanny Marcus wrote:
On Sun, Sep 6, 2009 at 12:01 PM, Les Mikeselllesmikesell@gmail.com wrote:
Justin Yao wrote:
My CentOS will reboot every several days. There's nothing in /var/log/messages. I want to find out why it reboots automatically. Is there any log I can look at? Or any suggestions to monitor the server activity?
Odds are that it is hardware related (power supply, RAM, etc.) and crashing before it can log anything.
+1 unless it is happening at the same time when a cron job is running, as Scott mentioned. Inspect the fans on the PSU and CPU and make sure they are running. Be sure it has good ventilation and is clean inside. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Can you sent the hardware specs? I use a lot of HP servers and they have a 'feature' called ASR that will reboot non-responsive servers.