Skip to main content

Kernel Update Best Practices

Comments

2 comments

  • cPanelMichael
    Hello, Rebooting a machine after a kernel update should not result in an ability to access the server. It's likely something else happened during the reboot that lead to the login credentials failing to work. Could you review /var/log/secure for the time this happened and see what shows up for the failed login attempts?
    ) What is a quick run down of the "best practice" for kernal updates - there does not really seem to be an up to date methodology listed.

    Generally, upon installing the new kernel via YUM, you simply reboot the system so that it uses the new kernel.
    ) On one specific machine, I do not have access to snapshots - would a kernal update on this machine be very high risk? I do have WHM backup enabled - but I assume this is not going to contain the OS files!

    Kernel updates are not generally high risk, but it is possible for unforeseen events (e.g. file system errors) to result in the server failing to boot upon issuing the reboot command. Thank you.
    0
  • Pankaj K
    kernel updates are very safe they do not cause any issues. I generally use yum install kernel which installs the new kernel keeping the old kernel as it is. Yes this can cause lot of having lots of old kernel but you can keep clearing old kernels when your /boot is full
    0

Please sign in to leave a comment.