cPanel/WHM

How to check cPanel license key and update from command line/SSH

You might be getting trouble logging into cPanel/WHM because you are getting an Invalid cPanel License error and you are probably looking for a solution for this issue.

Find why are you getting an invalid license error

Requirements:

  1. Server with Root access
  2. SSH access to login into the server with root user

Steps to update cPanel license key from command line/SSH

  • Verify your server has a valid license
    To verify, go to https://verify.cpanel.net/app/verify and enter your Server IP and click on “Verify License”
    Once you get the ‘Status’ as activate, you are ready to use the SSH to update your license file on the server.
  • Run update script (cpkeyclt)
    Login into Terminal and run the below SSH commands:
    /usr/local/cpanel/cpkeyclt
    You should get an output just like below
    Updating cPanel license…Done. Update succeeded.

 

  • Login into WHM/cPanel
    Now as you have updated the license file on the server, You can now login into WHM and manage your server

You have successfully fixed cPanel issue via SSH in a few simple steps.

F.A.Q’s

1) How to get a trial license of cPanel?
Ans. Just install the Software on your server and the trial license will be activated automatically

2) Is there any Official License Verification tool where I can find license details, license type, License tier, License level, License Validity, license expiration, and license history of my server?
Ans. Visit https://verify.cpanel.net/app/verify  and enter your Server IP to check your license status and history.

3) I have installed WHM but I am facing license activation issue. What should I do?
Ans. Check if you have a valid license issue by visiting the verify link here. If your server IP already has a history of trail license, you’ll need to contact cPanel support team for solving your problem.

4) Can I get developer licenses?
Ans. Yes. Please contact the support team and they should be able to provide you developer license.

 

Want to install cPanel/WHM in your server?
Checkout The Ultimate cPanel/WHM installation Guide – Step by Step (2021) (hostathash.com)
Feel free to share your questions in the comment section.

Sufiyan Shaikh

Recent Posts

CyberPanel Server Error (500)

Server Error (500) when trying to access the Cyberpanel If you are getting this error while accessing the cyberpanel, there…

12 months ago

How to connect and use github with DirectAdmin git feature

How to connect git with DirectAdmin Login into SSH and run the following command to create a new key pair…

1 year ago

How to host next js app on cpanel

How to host next js app in cpanel Login > Setup Node.js App > Create Application Enter the values shown…

1 year ago

WHMCS Development environment set

Update via PHPMYADMIN: Disable Captcha : UPDATE tblconfiguration SET value = '' WHERE setting = 'CaptchaSetting'; Update WHMCS link: UPDATE…

1 year ago

Lagom WHMCS notification hide pages list

3dsecure Access Denied Affiliates Affiliates Signup Announcements Banned Configure Products Downloads Downloads Denied Error Login Logout Password Reset Ticket Feedback…

1 year ago

Export/Import database via command line(ssh)

Export Database via SSH mysqldump --routines -u databaseusername -p databasename > database.sql   Import Database via SSH mysql -u databaseusername…

1 year ago