How to fix invalid cPanel license error / cpkeyclt


Written by Dennis Nind

Last published at: May 16th, 2019

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

  1. Cpanel license expiration

  2. Change in the main IP of the server

  3. 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.

  1. Login to the server with root user with either Secure shell client ( SSH ) or Putty

  2. Run the following as root on the server: /usr/local/cpanel/cpkeyclt

  3. Hit enter

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