English
Ask Your Question
0

Fedora 17 random reboots: where to begin troubleshooting?

asked 2012-08-10 19:06:20 +0000

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
1

answered 2012-08-11 01:06:47 +0000

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
1

answered 2012-08-10 23:02:45 +0000

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 http://fedoraproject.org/wiki/Howtousekdumptodebugkernel_crashes might be another way.

edit flag offensive delete link more
0

answered 2012-08-20 22:33:21 +0000

aatdark gravatar image

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

#Client
nc -l -u 6666

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

#Server - will be configured after restart
echo 'options netconsole netconsole=4444@192.168.178.1/eth0,6666@192.168.178.59/e0:49:75:c3:0b:ff' >> /etc/modprobe.d/netconsole.conf

192.168.178.1 = Server IP

192.168.178.59 = Client IP

http://www.kernel.org/doc/Documentation/networking/netconsole.txt

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2012-08-10 19:06:20 +0000

Seen: 2,054 times

Last updated: Aug 20 '12