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!

KernelCare: reboot still required

Discussion in 'General Discussion' started by coursevector, Oct 22, 2017.

Tags:
  1. coursevector

    coursevector Well-Known Member

    Joined:
    Feb 23, 2015
    Messages:
    56
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Seems like the same issue that I see happening before in KernelCare: reboot still required and SOLVED - cPanel 66 - Reboot Message in WHM

    Below are the results if I run the following:

    # cat /usr/local/cpanel/version
    11.66.0.25

    # kcarectl --uname
    2.6.32-696.10.3.el6

    # /usr/bin/kcarectl --info
    kpatch-state: patch is applied
    kpatch-for: Linux version 2.6.32-696.10.3.el6.x86_64 (mockbuild@c1bl.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) ) #1 SMP Tue Sep 26 18:14:22 UTC 2017
    kpatch-build-time: Fri Sep 29 12:32:11 2017
    kpatch-description: 1-;2.6.32-696.10.3.el6

    # /usr/bin/kcarectl --update
    Kernel is safe

    Yet I still see the same "You must reboot the server to apply kernel updates."
     
  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
    Hi,

    What do you see when you hit the below command:
    # cat /var/run/system_needs_reboot.cache

    Do you see the new kernel or the old kernel in it?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. coursevector

    coursevector Well-Known Member

    Joined:
    Feb 23, 2015
    Messages:
    56
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Here is what I see when I run that (re-ran the same commands from earlier to make sure nothing changed):

    # cat /usr/local/cpanel/version
    11.66.0.25

    # kcarectl --uname
    2.6.32-696.10.3.el6

    # /usr/bin/kcarectl --info
    kpatch-state: patch is applied
    kpatch-for: Linux version 2.6.32-696.10.3.el6.x86_64 (mockbuild@c1bl.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) ) #1 SMP Tue Sep 26 18:14:22 UTC 2017
    kpatch-build-time: Fri Sep 29 12:32:11 2017
    kpatch-description: 1-;2.6.32-696.10.3.el6

    # /usr/bin/kcarectl --update
    Kernel is safe

    # cat /var/run/system_needs_reboot.cache
    {"needs_reboot":1,"details":{"kernel":{"boot_version":"2.6.32-696.13.2.el6.x86_64","running_version":"2.6.32-696.10.3.el6"}}}

    But it is clearly showing a newer kernel will run after it boots. So is this a kernelcare bug at this point you think?
     
  4. linux4me2

    linux4me2 Well-Known Member

    Joined:
    Aug 21, 2015
    Messages:
    201
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    When you say:
    are you seeing that in Security Advisor's output, or as a button in WHM's toolbar?

    If you're seeing the Security Advisor notice, I believe it is because you are running the latest Kernelcare patch as shown by the "--update" and "--info" output, but Kernelcare hasn't released a patch that is as new as the latest kernel. My understanding from the Kernelcare FAQ is that Kernelcare only applies security patches and occasional bug patches, so they may not release a patch for every kernel update. I've been seeing the Security Advisor warning too for a couple of weeks now, but there is no newer Kernelcare patch yet.
     
  5. coursevector

    coursevector Well-Known Member

    Joined:
    Feb 23, 2015
    Messages:
    56
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator

    I'm seeing the notice in the WHM toolbar. I disabled the Security Advisory notices because they were getting annoying since I know I have kernelcare installed on the servers. I thought it would go away, but it's been this way since v66 his the STABLE channel.
     
  6. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,761
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Something is wrong, because the latest kernel for CentOS 6 (RHEL 6?) is 2.6.32-696.13.2.el6

    Your kcarectl --uname is showing

    2.6.32-696.10.3.el6

    And your kcarectl --update is showing that you are uo to date.

    Does kcarectl --check show you as also being up to date?

    What does kcarectl --version show?
     
  7. coursevector

    coursevector Well-Known Member

    Joined:
    Feb 23, 2015
    Messages:
    56
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Logged into WHM and still see the notice in the top banner just to confirm. Below are your answers.

    # kcarectl --uname
    2.6.32-696.10.3.el6

    # kcarectl --update
    Kernel is safe

    # kcarectl --version
    2.13-2

    # kcarectl --check
    The latest patch is applied.
     
  8. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,761
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    I would suggest opening a ticket with CloudLinux/Kernelcare about this. Something is wrong some where.
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    coursevector Well-Known Member

    Joined:
    Feb 23, 2015
    Messages:
    56
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    When should I expect that to hit the STABLE channel?
     
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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