cPanel Invalid License File After Changing Hostname Error

»»»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.

By |2017-05-25T23:02:52+00:00May 25th, 2017|Categories: Web Servers|Tags: , |2 Comments

About the Author:

LK is a technology writer for Tech Journey with background of system and network administrator. He has be documenting his experiences in digital and technology world for over 15 years.Connect with LK through Tech Journey on Facebook, Twitter or Google+.