CPanel / WHM

Unknown License File Version in cpanel : Failed to get a new license, or part of the update process failed

Sometime while accessing WHM, some links are giving below error.

===============================================
Unknown License File Version (has = 23, needed = 22, length=1554). This means that the system failed to get a new license, or part of the update process failed. If you are the server admin,
===============================================

 

To resolve this issue follow the below steps

/usr/local/cpanel/cpkeyclt

If above commands work then it's ok but if it is still show above error then follow the below steps

run the below command to stop cpsrvd service

/usr/local/cpanel/etc/init/stopcpsrvd

then sync the files from cpanel server using below command this will fix your issue.

/usr/local/cpanel/scripts/upcp --sync