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.

Unactivated License File after Upgrading Kernel

Discussion in 'General Discussion' started by PCZero, Feb 23, 2017.

Tags:
  1. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    552
    Likes Received:
    38
    Trophy Points:
    178
    Location:
    Earth
    After updating the kernel to the latest version and rebooting I get this error when I try to log into WHM!

    Unactivated License File

    Following the instructions on the screen, running /usr/local/cpanel/cpkeyclt as root resolved the issue. Posted as an FYI in case anyone else gets this problem.
     
    Infopro likes this.
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    This issue was brought up on the EDGE users list just yesterday and Technical Support is on it.

    Thanks for posting so others know about it.
     
  3. chiareu

    chiareu Member

    Joined:
    Feb 8, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest
    cPanel Access Level:
    Root Administrator
    Yep, same problem here....
    Unactivated License File
    To access the interface, you must install the license and ensure that the license is active.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    We do have an open support ticket open from another customer experiencing this issue. I'll update this thread with more information on the status of this issue as it becomes available.

    If you can reproduce this issue, and would be willing to let us reboot your system for testing, please open a support ticket using the link in my signature and post the ticket number here.

    As mentioned, the current workaround is to update the license file via the following command:

    Code:
    /usr/local/cpanel/cpkeyclt
    Thank you.
     
  5. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    774
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Hello

    every time I reboot our server, I.E. upgrade kernel, then try to log into the WHM I have to run the script: /usr/local/cpanel/cpkeyclt otherwise I keep the message about our server's cpanel license not valid or expired or something to that affect. After I run the script to correct the license everything is fine till the next time I reboot then I have to run the script again. Why does this only happen after rebooting server ??
     
  6. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    122
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Yes I have seen this problem lately.

    I think it's a bug.
     
  7. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    158
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Same here - upgraded a number of kernels today and had the licence expire after reboot and need re-syncing
     
  8. Jonathan Moore

    Joined:
    Feb 26, 2017
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    London
    cPanel Access Level:
    Root Administrator
    Same here.
     
  9. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,399
    Likes Received:
    52
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Until a proper solution is applied to it, I think one temporary solution could be that you can add the license update command in the rc.local file in the location /etc or create a script that will activate the license and put it in the init scripts section, so it triggers with the reboot.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, the issue was reproduced and thus no further support requests are required at this time. Internal case CPANEL-11442 will fix an issue where kernel upgrades and downgrades can break the cPanel license on systems running cPanel 62 and cPanel 64. I'll update this thread once the resolution is published. In the meantime, the current workaround is to manually update the license file via the following command:

    Code:
    /usr/local/cpanel/cpkeyclt
    Thank you.
     
  11. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    774
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    we are currently running version 60.0 - build 37 waiting for the stable release update to be applied on 3/1 will this be addressed after the update ?
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @mickalo,

    A fix for internal case CPANEL-11442 is not yet released, however this only happens when upgrading or downgrading the kernel, so you are unlikely to encounter this issue on the update to cPanel version 62 unless you reboot the system into a new kernel at the same time.

    Thank you.
     
  13. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    774
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    ok thanks for the info. as long as we can fix it with that command line script just a minor inconvenience.
     
  14. Sarath Kumar R

    Sarath Kumar R Active Member

    Joined:
    Oct 18, 2016
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Is the internal case CPANEL-11442 is fixed on stable cPanel 62. Please let us know.
     
  15. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    No, it's not yet published. I'll update this thread when that happens, and in the meantime you can manually correct the issue with the following command:

    Code:
    /usr/local/cpanel/cpkeyclt
    Thank you.
     
  16. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, CPANEL-11442 and CPANEL-11531 are included with cPanel version 62.0.16 and should address the issue reported on this thread:

    Fixed case CPANEL-11442: Avoid invalid license message when rebooting into new kernel.
    Fixed case CPANEL-11531: Check for invalid license on cpsrvd dormant startup.


    Note that 62.0.16 is only published to the "Current" build tier at this time. Additional information about product versions and the release process is available at:

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

    Thank you.
     
Loading...

Share This Page