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!

WHM v66.0.14 - You must reboot the server to apply kernel updates

Discussion in 'General Discussion' started by CBG, Aug 23, 2017.

Tags:
  1. CBG

    CBG Active Member

    Joined:
    Apr 23, 2010
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    Hi,

    Just did a force update to v66.0.14 and in WHM it saying:
    You must reboot the server to apply kernel updates

    I am running KernelCare that fully up to date and yum update doesn;t find anything.

    I have also done a graceful reboot twice.

    [root@katie ~]# uname -r
    3.10.0-514.26.2.el7.x86_64
    [root@katie ~]# yum install kernel
    Loaded plugins: fastestmirror, universal-hooks
    Loading mirror speeds from cached hostfile
    * EA4: 85.13.201.2
    * cpanel-addons-production-feed: 85.13.201.2
    * base: mirrors.linode.com
    * extras: mirrors.linode.com
    * updates: mirrors.linode.com
    Package kernel-3.10.0-514.26.2.el7.x86_64 already installed and latest version
    Nothing to do
    [root@katie ~]#
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. CBG

    CBG Active Member

    Joined:
    Apr 23, 2010
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    Update: just click on v66.0.14 which takes you to: Upgrade to Latest Version
    I then clicked on Click to Upgrade.

    After it ran and I click on the WHM image, it has now gone
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lacivert

    lacivert Member

    Joined:
    May 6, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    Hi, I just upgraded to WHM v66.0.14 and I see a message that says "You must reboot the server to update kernel." and I did it two times!! I'm still seeing same message. Do I still have to reboot? I thought it stuck! What can we do?

    Thanks.
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,772
    Likes Received:
    92
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    did you run
    # yum update kernel
    upcp does not upgrade the kernel
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Internal case CPANEL-15405 is open to address an issue where the use of non-stock kernels can result in the "You must reboot the server to update kernel" banner in WHM in cases where the active kernel is already installed and utilized. The resolution will include changes to ensure this feature isn't utilized on systems running custom kernels. I'll monitor this case and update this thread with more information as it becomes available.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. jdstallings

    jdstallings Well-Known Member

    Joined:
    Jul 27, 2003
    Messages:
    60
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    This is also occurring for systems running CLOUDLINUX 7.3 standard v66.0.14
     
    #6 jdstallings, Aug 23, 2017
    Last edited by a moderator: Aug 24, 2017
  7. lacivert

    lacivert Member

    Joined:
    May 6, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    yes I connected with ssh and

    yum clean all
    yum update

    there is nothing updated.

    still, I'm seeing the same message!?
     
  8. lacivert

    lacivert Member

    Joined:
    May 6, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    SOLVED - cPanel 66 - Reboot Message in WHM

    I checked this threads and removed cache file.

    rm /run/system_needs_reboot.cache




    Its not showing anymore and also

    root@ocean:/run # kcarectl --uname
    -bash: kcarectl: command not found

    Do I need to track check this later?
     
  9. lacivert

    lacivert Member

    Joined:
    May 6, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    yes that error message appeared again. I'm not happy. :(

    You must reboot the server to apply kernel updates.

     
  10. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Internal case CPANEL-15405 will prevent the reboot banner from appearing on any system that uses a custom kernel. I'll update this thread again once the resolution is published.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, the resolution is included with cPanel version 66.0.17 (available in the CURRENT build tier):

    Fixed case CPANEL-15405: Don't instruct users to reboot when they're running a custom kernel.

    This version should make it's way to the "RELEASE" build tier in the near future. You can read more about the product versions and release process at:

    Product Versions and the Release Process - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. JonathanW

    JonathanW Member

    Joined:
    May 15, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Alabama
    cPanel Access Level:
    DataCenter Provider
    Updated to 66.0.17 last night yet the message remains.

    shot-2017-08-31-08:11:03.png
     
  13. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    KernelCare updates the system to the latest kernel via its patching system, however it's possible the kernel RPM installed on the system is not updated to the latest version. Using the latest kernel RPM isn't required with KernelCare (it allows the system to run updated kernels without the latest RPM installed), however this can lead to cPanel displaying the "reboot warning" because the boot_version and running_version it detects are mismatched. A new case, CPANEL-15544, is now open to address this behavior. I'll monitor this case and update this thread with more information as it becomes available. In the meantime, you should be able to workaround this issue by installing the latest kernel RPM available from your OS (e.g. yum update kernel).

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. indoc0der

    indoc0der Member

    Joined:
    Sep 4, 2011
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    Hello,

    the message appears again on WHM/cPanel v66.0.17. Already running yum update kernel and nothing happened.

    [root@server ~]# yum update kernel
    Loaded plugins: fastestmirror, rhnplugin, universal-hooks
    This system is receiving updates from CLN.
    Loading mirror speeds from cached hostfile
    * EA4: 104.219.172.10
    * cpanel-addons-production-feed: 104.219.172.10
    * cloudlinux-x86_64-server-7: cl.banahosting.com
    No packages marked for update
    [root@server ~]#

    Thank you.
     
  15. RobinF28

    RobinF28 Active Member

    Joined:
    Jun 27, 2015
    Messages:
    32
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Elgin, Scotland
    cPanel Access Level:
    Root Administrator
    Hi Guys,
    Same issue for me, but I'm not using Kernel Care.
    Applied updates (yum update kernel) but warning message remains...?
    Cheers, Robin.
     

    Attached Files:

  16. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Does this server use KernelCare? If not, didyou reboot the server after applying the kernel update?

    Did you reboot the server after applying the kernel update?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Real Sauvageau

    Real Sauvageau Registered

    Joined:
    Sep 5, 2017
    Messages:
    1
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Quebec
    cPanel Access Level:
    Root Administrator
    Hi , I'm using Kernel Care with 66.0.17. I did what cPanelMichael as and reboot and no more kernel message.

    thanks.
     
    cPanelMichael likes this.
  18. kevinlevin

    kevinlevin Member

    Joined:
    Oct 27, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Same problem here:

    Running 66.0.17 + KernelCare on all servers - the message never disappears.
    Had to reboot a server 5 times and still.. the message is here. This is getting very annoying.
    @ cPanel Team - Please fix this ASAP.
     
    #18 kevinlevin, Sep 6, 2017
    Last edited by a moderator: Sep 6, 2017
  19. RobinF28

    RobinF28 Active Member

    Joined:
    Jun 27, 2015
    Messages:
    32
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Elgin, Scotland
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Yes, I've rebooted the server more than 3 times, and the warning remains.

    Also, I've updated the kernel a few more times, both the "cp hardened kernel patch" and the basic yum, (yum update kernel) and rebooted again, and the warning remains.

    Also (sorry) I've updated to 66.18 - and updated kernel again, and it still show as "old" kernel...

    root@host.xxxxxxx.eu ~ $ uname -r
    2.6.32-642.13.1.el6.x86_64

    Any ideas, thank you.

    Regards, Robin.
     

    Attached Files:

  20. RobinF28

    RobinF28 Active Member

    Joined:
    Jun 27, 2015
    Messages:
    32
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Elgin, Scotland
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Yes, I've run "yum -y update kernel" 3 times & rebooted many times, but still the kernel refuses to upgrade, and I still get the warning message.

    I've also updated to 66.18, but still no improvement.

    Here is my current grub.conf info...
    Code:
    #########################################################
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You do not have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /, eg.
    #          root (hd0,0)
    #          kernel /boot/vmlinuz-version ro root=/dev/vda1
    #          initrd /boot/initrd-[generic-]version.img
    #boot=/dev/vda
    default=0
    timeout=1
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    hiddenmenu
    title CentOS (2.6.32-642.13.1.el6.x86_64)
            root (hd0,0)
            kernel /boot/vmlinuz-2.6.32-642.13.1.el6.x86_64 ro root=UUID=585e41ba-db5b-4e24-9b08-e4a27476f5fa rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM elevator=noop
            initrd /boot/initramfs-2.6.32-642.13.1.el6.x86_64.img
    title CentOS 6 (2.6.32-642.el6.x86_64)
            root (hd0,0)
            kernel /boot/vmlinuz-2.6.32-642.el6.x86_64 ro root=UUID=585e41ba-db5b-4e24-9b08-e4a27476f5fa rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM elevator=noop
            initrd /boot/initramfs-2.6.32-642.el6.x86_64.img
    
    ####################################################
    
    Any ideas? Thank you.

    Regards, Robin.
     

    Attached Files:

    #20 RobinF28, Sep 6, 2017
    Last edited by a moderator: Sep 6, 2017
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