Sometimes you may come across the error message as “Invalid cPanel license ” after logging in to the WHM . There are multiple causes when you face such errors like
Cpanel license expiration
Change in the main IP of the server
License not updated
In order to fix the above issue, first make sure you have an active cPanel license for the server IP.
You can check the status of your cPanel license at the URL below .
Copy and paste the server IP and click on Verify.
Once you clicked on “Verify” , it will show you the cPanel license status.
If you see the cPanel license status active , then use the commands below in order to fix the invalid cPanel license error.
Login to the server with root user with either Secure shell client ( SSH ) or Putty
Run the following as root on the server: /usr/local/cpanel/cpkeyclt
After executing the command it will show you that the license status has been updated.
Now you should be able to login to WHM and navigate through it