How to update your Cpanel license key
If you get Invalid License File when you login to cpanel after a clean install or a host name change all.
you do is open your “putty program, log in as “root” , enter your password and type this
/usr/local/cpanel/cpkeyclt
This will update it and your good to go