Kernel update caused kernel mismatch
Hi,
I had a warning in the cPanel Security Advisor stating my kernel version is not the latest one even though i'm running the latest WHM (56).
after reading through the forums, i executed
and then gracefully restarted the server as indicated on the warning description. After the reboot, the error changed to Current kernel version does not match the kernel version for boot. running kernel: 3.10.0-327.22.2.el7.x86_64, boot kernel: 0-rescue-f646b80d3a4046e78c14798df28a8631
I've rebooted the system gracefully a couple of times in an attempt to fix this, but it still comes up. The server has a recovery rescue image that allows me to access the server if everything else fails. Any suggestions would be much appreciated. Not sure if they are really relevant, but the output of
is 3.10.0-327.22.2.el7.x86_64
whereas
shows kernel-3.10.0-327.3.1.el7.x86_64 kernel-3.10.0-327.22.2.el7.x86_64
yum updateand then gracefully restarted the server as indicated on the warning description. After the reboot, the error changed to Current kernel version does not match the kernel version for boot. running kernel: 3.10.0-327.22.2.el7.x86_64, boot kernel: 0-rescue-f646b80d3a4046e78c14798df28a8631
I've rebooted the system gracefully a couple of times in an attempt to fix this, but it still comes up. The server has a recovery rescue image that allows me to access the server if everything else fails. Any suggestions would be much appreciated. Not sure if they are really relevant, but the output of
uname -ais 3.10.0-327.22.2.el7.x86_64
whereas
rpm -q kernelshows kernel-3.10.0-327.3.1.el7.x86_64 kernel-3.10.0-327.22.2.el7.x86_64
-
Hello :), Yes, Your server is in rescue mode. I will suggest you please mount your server disk and try to switch your server kernel to old one and try to reboot server in normal mode. 0 -
Hi, Thanks for your reply. I'm not too sure how to do this as my administration skills are decent, but not superb. The server seems to be up as usual however. All the services, sites and WHM work fine and i thought they wouldn't work if i were in rescue? 0 -
Hello, This is addressed on the following thread: Security Advisor, grub.conf on Centos 7 Thank you. 0 -
Hi Michael, Thanks for your response. My issue is slightly different to the one on the linked post as i do see the boot kernel, however is set to rescue. Is this also fixed on 58? Is this message something i should worry about, or will it go away on its own once i upgrade to 58? Will it cause me any issues in the meantime? 0 -
Hello, The grub2 environment is used to correctly determine the default boot kernel on CentOS 7 systems in cPanel 58. However, it's possible your server is configured to boot into rescue mode. You can view the default kernel entry with the following command on CentOS 7: grub2-editenv list
The following document explains how this works, and provides more information on rescue mode:0 -
Great, so the command you sent me outputs saved_entry=CentOS Linux (3.10.0-327.22.2.el7.x86_64) 7 (Core)
I take it that's the right one and the bug will be fixed on cPanel 58? Thanks for all your help.0 -
I take it that's the right one and the bug will be fixed on cPanel 58?
Yes, the grub2 environment is used to correctly determine the default boot kernel on CentOS 7 systems in cPanel 58. Thank you.0
Please sign in to leave a comment.
Comments
7 comments