Unactivated License File after Upgrading Kernel

PCZero

Well-Known Member
Dec 13, 2003
778
103
193
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.
 
  • Like
Reactions: Infopro

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
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 ??
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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 ?
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Is the internal case CPANEL-11442 is fixed on stable cPanel 62. Please let us know.
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.