How to resync or sync cPanel license / cPanel license error

In the event that your cPanel license gets out of sync with cPanel's server or it needs to be synced for the first time or upgraded, you may have an invalid license error when you attempt to log in to the WHM or cPanel. To fix this, you can log in to the shell as root and execute the following command:




The result should be:

Updating cPanel license...Done. Update succeeded.
Building global cache for cpanel...Done


Updating cPanel license...Done. Update succeeded.

Once you see this message, just refresh your cPanel or WHM in your browser and it will be updated.

You can also conveniently run this code from the terminal section in your WHM.

terminal update cpanel license

  • cpanel sync, cpanel resync, cpanel update, whm, Updating cPanel license, cpanel sync license, shell, terminal, login
  • 73 Users Found This Useful
Was this answer helpful?

Related Articles

Can I have multiple users in cPanel?

Yes, in cPanel you can add multiple users. When logged into cPanel, click the people icon to the...

How to force cPanel backups through SSH

All you need to do is run this one line from SSH from your cPanel based server that has the new...

How to disable network manager

Disable NetworkManager on CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon...

What is cPanel and WHM?

cPanel is a server management program used to help website owners easily be able to manage...

How do I add/create a MySQL database?

It is easy once you get used to it. Here is how to make a MySQL database connection ready....