cPanel Invalid License File After Changing Hostname Error
After changing web host server hostname by using WHM (WebHost Manager) or via shell command, cPanel may display “Invalid License File” error message. The symptom appears immediately on next navigation, and even after administrator or cPanel user logout and login again to WHM/cPanel. The error occurs because changing hostname will invalidate the cPanel license.
The solution to invalid cPanel license is easy. Simply login to the server via SSH as root (or su to root), and run the following command:
/usr/local/cpanel/cpkeyclt
The command will reset and refresh update the cPanel license file with the new current hostname, and push the change to cPanel’s license verification servers auth.cpanel.net and verify.cpanel.net.
Related Articles
- How to Change Hostname in cPanel Web Host
- Invalid Volume License Key, 0xC004F059 or 0xc004f035 Error When Activating Windows Vista on OEM Computer
- Individualize Windows Media Player (WMP) (for FairUse4WM and Invalid License Error)
- Restore Full Backup or cpmove File in cPanel Web Host
- cPanel WHM Failed to Receive Status Information From Apache Error
- Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager
- Certificate for cPanel, Courier-Imapd/Pop3d or Exim Will Expire in Less Than 30 Days Error
- cPanel Perl Module PNGgraph Could Not Be Installed Error
- Invalid Key Error While Activate Vista with OEM Emulation or Mod BIOS Flash
- Fix Gmail IMAP Invalid Credentials or Web Login Requires (Failure) Error










































March 28th, 2008 22:19
i dont reall kno if this is the problem but i think i deleted a LiC file from my computer and now my internet explorer is not working properly. is such a case possible.
August 17th, 2007 00:18
[...] such as failed to change the hostname, hostname reverted to original host name after reboot, or invalid cPanel license file error. cPanel 11 WHM will most likely solve all these errors, however, if you still facing problem, try [...]