The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,146
    Likes Received:
    34
    Trophy Points:
    48
    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.
     
  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. 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?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,734
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  6. 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.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,734
    Likes Received:
    661
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, the grub2 environment is used to correctly determine the default boot kernel on CentOS 7 systems in cPanel 58.

    Thank you.
     
Loading...

Share This Page