If you are using a cPanel/WHM installed server, you may face 'Invalid cPanel license' error sometimes due to issues with the cPanel license currently inuse on the server. The licensing is done for the server IP address. The error can occur due to different reasons.
- The existing license expired. You can check if the license is active or not for your server IP via the official cPanel website itself. You can paste the server IP and check if the license is active or not.
- The main IP of the server got changed. You need to cross-check and verify if the main IP of the server is the same which is already licensed.
- The license may not be refreshed. You can run a command from the server to do the license check and refresh if it is active.
Once you have verified if the license is active, do the following steps:
- Login to the server via terminal as root.
- Run the following command:
# /usr/local/cpanel/cpkeyclt
- If the license is already active, you will get the following result:
Updating cPanel license...Done. Update succeeded.
Building global cache for cpanel...Done
- If it is not active, you will get an error with the details. You need to check it with the hosting support if you are already licensed and still getting the error.
You can watch the video tutorial of this task by clicking here.
Bookmarks