Home > Linux, Redhat > Auto reboot RHEL Linux after a kernel panic

Auto reboot RHEL Linux after a kernel panic

Kernel panic, by default, will leave your system in a hung state with the output message for investigation.

If you prefer the system to reboot after this event, modify /etc/sysctl.conf and append the following line to reboot the system after 10s:

kernel.panic = 10

Run as root to take immediate effect:

sysctl -p

Categories: Linux, Redhat
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: