Ask Your Question

Fedora 17 random reboots: where to begin troubleshooting?

asked 2012-08-10 14:06:20 -0600

jasonbrooks gravatar image

I'm running Fedora 17 64-bit on a Lenovo Thinkserver, and the machine is rebooting itself every 10-24 hours. I want to figure out what's causing this, but I don't know where to look. I've taken to leaving "tail -f /var/log/messages" running in a ssh window, but there are no clues there -- no messages immediately preceding the reboot.

Any suggestions on what I can do / where I should look to get a handle on this?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2012-08-10 20:06:47 -0600

sajidiel gravatar image

dmesg might be a place to find a hint as well. You can find the log in /var/log/dmesg or just run dmesg and pipe through less or more.

Do you have sysstat running on the machine? If not, that might help you determine if it's CPU consumption related, memory related, etc. Sysstat will check system resources every 10 minutes and print them into daily log files @ /var/log/sa/sa## ( ## for the numerical value for the current day ). It will keep 7 days by default. You can then use the 'sar' command to parse through the log files and print information you request. It's a helpful tool when initiating an investigation such as this. It's also customizable.

edit flag offensive delete link more

answered 2012-08-10 18:02:45 -0600

Joe Julian gravatar image

Assuming there's an actual panic that's causing this, the way I've always captured it was through a serial console. Null-modem connection to another computer and capture it to a file.

Looks like might be another way.

edit flag offensive delete link more

answered 2012-08-20 17:33:21 -0600

aatdark gravatar image

you can still try to use netconsole. Which will send kernel message over the network:

nc -l -u 6666

#Server - will not preserve restart
insmod netconsole netconsole=4444@,66..

#Server - will be configured after restart
echo 'options netconsole netconsole=4444@,6666@' >> /etc/modprobe.d/netconsole.conf = Server IP = Client IP

edit flag offensive delete link more

Question Tools


Asked: 2012-08-10 14:06:20 -0600

Seen: 2,298 times

Last updated: Aug 20 '12