Issue :
Many of you might have come across the cPanel License Expired error on
accessing cPanel or WHM.
Fix :
When you encounter such a problem, you can verify if it has actually expired from http://layer1.cPanel.net/verify by giving the main IP of the server there. And if it shows the license as still active, then ssh to the server as root and run the script.
# /usr/local/cpanel/cpkeyclt
and restart cPanel.
If it doesn’t clear off in the first attempt, remove the file called “lisc” and run cpkeyclt again.
# cd /usr/local/cpanel/
# rm -rf lisc
# /usr/local/cpanel/cpkeyclt
Restart cPanel and the error should be gone!!!