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!

SOLVED [CPANEL-26440] Custom kernel leading to false reboot warnings

Discussion in 'General Discussion' started by jimlongo, Mar 19, 2019.

  1. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    This just started today with the latest update v78.0.18. Rebooted server.

    When I'm on any of my plugin's pages in WHM the "You must reboot the server to apply software updates." is always displayed. Any other pages it's not.

    What could the difference be? Any ideas what might be causing this?

    Thanks.
     
    #1 jimlongo, Mar 19, 2019
    Last edited by a moderator: Mar 19, 2019
  2. bellwood

    bellwood Active Member PartnerNOC

    Joined:
    Sep 25, 2012
    Messages:
    32
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    New York
    cPanel Access Level:
    DataCenter Provider
    Running:

    needs-restarting -r

    ...returns 0 if reboot is not needed, and 1 if a reboot is needed along with the associated packages.

    You'll need the yum-utils package installed.

    Docs: needs-restarting(1) - Linux manual page

    If nothing needs restarting it could be a UI bug.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jimlongo,

    Can you run the commands below and share the output here?

    Code:
    /usr/local/cpanel/bin/whmapi1 system_needs_reboot
    cat /var/cpanel/envtype; echo
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    Code:
    [ro[email protected] ~]# /usr/local/cpanel/bin/whmapi1 system_needs_reboot
    ---
    data:
      details: {}
    
      needs_reboot: 0
    metadata:
      command: system_needs_reboot
      reason: Cannot determine startup kernel version.
      result: 0
      version: 1
    [[email protected] ~]# cat /var/cpanel/envtype; echo
    kvm
    [[email protected] ~]#
    
    
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jimlongo,

    Can you open a support ticket so we can take a closer look at the system to see why the startup kernel version isn't detectable? You can post the ticket number here and we'll link this thread to it.

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

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    Ticket 11715255. Something about "nonstandard kernel from the host/datacenter Linode". I'll see if that resolves anything. Note this ticket only addresses the kernel question.

    I did as the ticket suggested, however that has made no change in the response to the question you asked earlier.

    Also note that nothing has changed here except the cPanel version. The kernel didn't change, the plugin didn't change.
     
    #6 jimlongo, Mar 21, 2019
    Last edited: Mar 21, 2019
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jimlongo,

    Thank you for taking the time to submit a ticket.

    Upon reviewing the information in the ticket, it looks like internal case CPANEL-15405 was published in the past (version 66) to address the scenario you've described:

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

    Thus, WHM should be able to detect the custom kernel and suppress the reboot warning. If that's not happening, then it's possible this requires a new case to report the problem in recent versions. I've added a note to the ticket to let our Technical Analysts know about this case. I'll continue to monitor the ticket and update this thread with the outcome once it's closed.

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

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, case CPANEL-26440 was opened to report false reboot warnings that appear on systems running a custom kernel. I'll monitor this case and update this thread with more information on it's status as it becomes available.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mickael

    mickael Member

    Joined:
    Aug 3, 2014
    Messages:
    13
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello

    I just arrived on this forum after typing this in google: "You must reboot the server to apply software updates."

    And I too have this alert, I have a new dedicated server since January 12, 2019 with a custom kernel and from January 12 to April 10, 2019 I received this false alarm at least 10 times and too since today last time or yesterday, and the worst is that I always restart in the same week but I will not do it again if this alert is false ?!
     
    cPanelMichael likes this.
  10. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Everyone,

    The fix for CPANEL-26440 to ensure custom kernels are detected with reboot status updates is scheduled for inclusion with cPanel & WHM version 84.

    To receive an email when version 84 is published, subscribe to the cPanel mailing list.

    Let me know of any questions.

    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