[CentOS] how to debug random server reboots
sk.paix at gmail.com
Wed Jun 3 09:15:58 UTC 2009
Rudi Ahlers пишет:
> Hi all,
> One of our CentOS 5.3 randomly reboots, at different times of the day,
> and I can't see why it's doing it.
> I have looked through the logs, but don't see any thing in there that
> shows me why it has rebooted. How can I debug this?
try to enable kdump to get kernel dump, if this software-related issue.
Using Kexec and Kdump For System Troubleshooting
yum install kexec-tools
edit /etc/grub.conf and append to the end of the kernel line:
"crashkernel=128M at 16M"
chkconfig kdump on
Also look this:
How do I configure kexec/kdump on Red Hat Enterprise Linux 5?
How can I voluntarily crash my machine to test if netdump/diskdump/kdump
I configured works?
My server crashes once in awhile. How can I debug it?
My system has started to hang randomly. What information does Red Hats
technical support need to diagnose the problem?
My Red Hat Enterprise Linux 2.1 system had a kernel panic, an oops
message, or is freezing for no apparent reason. How can I find out what
is causing this?
Next, I recommend you setup and run
memtest86+.x86_64 : Stand-alone memory tester for x86 and x86-64 computers
You should ask the support to reboot machine for a night and chose the
memtest in grub loader.
If DC has ipkvm - ask it.
Also what a network card on your server ?
I had some troubles with non-brand network card..
Best wishes, Sergej Kandyla
Всегда улыбайтесь жизни и жизнь всегда улыбнется вам!
More information about the CentOS