November 21, 2007

Reboot Linux box after a kernel panic

Author: JT Smith

If a kernel panic occurs for the first time you have to no choice but to reboot Linux box manually.

If you want the server to get rebooted automatically after kernel hit by a pain error message, try adding panic=N to /etc/sysctl.conf file.

It specify kernel behavior on panic. By default, the kernel will not reboot after a panic, but this option will cause a kernel reboot after N seconds.

Link: cyberciti.biz

Category:

  • Linux
Click Here!