Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Kernel update caused kernel mismatch

Discussion in 'General Discussion' started by SGroupGeorge, Jul 13, 2016.

  1. SGroupGeorge

    SGroupGeorge Member

    Joined:
    Feb 23, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Manchester, UK
    cPanel Access Level:
    Root Administrator
    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
    Code:
    yum update
    and then gracefully restarted the server as indicated on the warning description.

    After the reboot, the error changed to
    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
    Code:
    uname -a
    is
    whereas
    Code:
    rpm -q kernel
    shows
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,872
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SGroupGeorge

    SGroupGeorge Member

    Joined:
    Feb 23, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Manchester, UK
    cPanel Access Level:
    Root Administrator
    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?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. SGroupGeorge

    SGroupGeorge Member

    Joined:
    Feb 23, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Manchester, UK
    cPanel Access Level:
    Root Administrator
    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?
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:

    Code:
    grub2-editenv list
    The following document explains how this works, and provides more information on rescue mode:

    https://wiki.centos.org/HowTos/Grub2

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. SGroupGeorge

    SGroupGeorge Member

    Joined:
    Feb 23, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Manchester, UK
    cPanel Access Level:
    Root Administrator
    Great, so the command you sent me outputs
    I take it that's the right one and the bug will be fixed on cPanel 58?

    Thanks for all your help.
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, the grub2 environment is used to correctly determine the default boot kernel on CentOS 7 systems in cPanel 58.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice