Many users experience the following error while accessing WHM/cPanel
License could not be activated.
Following are some reasons due to which this error can be occurred.
1)If server hostname has been changed
2)If primary IP of cPanel server for which cPanel license was activated, has been changed.
3)Server firewall.
Here are some basic steps to fix this error.
Verify that cPanel license is activated at
http://verify.cpanel.net.
If link shows that WHM is licensed then verify server hostname , primary IP just to ensure if it hasn’t been changed. Correct the primary IP address , hostname if it found to be changed. Stop/start server firewall.
If server IP, hostname is correct then check if server’s primary IP address match with the IP address of license. For that type the following command from shell.
curl
http://www.cPanel.net/showip.cgiIf output gives other IP address then you need to license that IP.
If everything appears to be corrected then just activate cPanel license from command line.
root@server [~]# /usr/local/cpanel/cpkeyclt
Hope you shouldn’t see any error at this time.