If you get an Invalid License File error when you login to cPanel after a hostname change, you will need to update your cPanel license file by doing the following. Please note that you will need to have Root SSH Direct Access in advance as it can only be turned on from WHM and this will be impossible once you are locked out.
(1) Login to shell and
(2) Execute /usr/local/cpanel/cpkeyclt from command line.
Your issue should now be resolved. If you are still having problems. you may want to contact your host for assistance.
The following two tabs change content below.
Technology Support Specialist at Sipylus
About The Author: Stephan Pringle is an Information Technology Support Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.
Latest posts by Stephan Pringle (see all)
- HP Color LaserJet Pro MFP M477fdw - Friday, April 14, 2023