LicenseW logo

How to install your WHMReseller licence

294 views

WHMReseller adds master-reseller and alpha-reseller tools to WHM. This guide gives you the exact command for your licence, shows how to check it worked, and fixes the usual errors.

Before you start

  • Root access over SSH. Log in as root, or run sudo -i first. The command does not work as a normal user.
  • curl is installed.
    Terminal
    curl --version
    should print a version. If it does not:
    Terminal
    yum install -y curl
    (AlmaLinux, Rocky, CloudLinux) or apt-get install -y curl (Ubuntu, Debian).
  • The licence IP is this server. The IP on your licence page must be this server's main public IP.
  • cPanel & WHM is installed.

Supported systems

Standard licence: AlmaLinux 8, AlmaLinux 9, Rocky Linux 8, Rocky Linux 9. Other versions may work; we can test it with you.

V2 licence: AlmaLinux 8, AlmaLinux 9, Rocky Linux 8, Rocky Linux 9. Other versions may work; we can test it with you.

Which command is mine?

Your licence page shows the exact command for that licence: Licenses → click the licence → Installation & Management. A licence marked V2 uses the V2 command below; every other licence uses the standard command. They are different systems — run only the one for your licence.

Standard licence

This one line downloads the License.ws licence tool, registers this server and activates WHMReseller. Copy the whole line, paste it into the SSH session and press Enter:

Terminal
bash <( curl https://api.license.ws/pre.sh ) WHMReseller ; lwsWHMReseller

To refresh the licence later — after a renewal, an IP change or a WHMReseller update — run the short command:

Terminal
lwsWHMReseller

V2 licence

A V2 licence uses an installer program instead. Copy all the lines together, paste them into the SSH session and press Enter:

Terminal
rm -rf installer ; rm -rf setup
curl -L -o "installer" "api.license.ws/src/whmreseller/installer?key=whmreseller"
chmod +x installer
./installer

There is no separate refresh command for V2 — run the install block again to refresh the licence.

Check it worked

In WHM, Plugins → WHMReseller opens without a licence warning.

Common errors and fixes

Find the message the command printed:

cPanel is not installed yet

The output contains "/usr/local/cpanel: no such file" or "cpanel is not installed" or "cpkeyclt: no such file".

Install cPanel first (30–60 minutes on a fresh server), then run the install command:

Terminal
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

"license expired/not found" or "your license has been suspended"

The output contains "license expired/not found" or "your license has been suspended" or "no license found".

The licence for this server's IP is not active. Check your licence page: renew or pay it if it is suspended or expired, and make sure its IP is this server's main public IP. Then run the refresh command from your licence page (V2: the install command again).

"/dev/fd/63: No such file or directory"

The output contains "/dev/fd/63" or "/dev/fd/62".

The install line must run in bash as root. Run sudo -i first, then paste the whole line (it starts with

Terminal
bash <(
). It does not work with sh or after sudo on the same line.

"cannot execute binary file: Exec format error"

The output contains "exec format error" or "cannot execute binary file" or "32-bit runtime".

On Ubuntu/Debian the licence tool needs the 32-bit runtime. Run:

Terminal
dpkg --add-architecture i386 && apt-get update && apt-get install -y libc6:i386

Then run the install command again.

"Embedded PHP … cannot execute" or "Dynamic linker"

The output contains "embedded php" or "php still not working" or "dynamic linker".

On Ubuntu/Debian, add the link the licence tool expects, then run the install command again:

Terminal
mkdir -p /lib64 && ln -sf /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2

"cp: cannot create regular file '/lib/x86_64-linux-gnu/libssl.so.10'"

The output contains "libssl.so.10" or "libcrypto.so.10".

This is the compatibility step on Ubuntu/Debian. Run the install command again as root; if the same lines come back, send us the output of the commands under Your server is set up differently.

"libcurl-dev is a virtual package"

The output contains "libcurl-dev is a virtual package".

Install the library yourself, then run the install command again:

Terminal
apt-get install -y libcurl4-openssl-dev

"Some dependencies failed to install"

The output contains "some dependencies failed" or "could not locate the glibc package".

The system's package manager could not install what the tool needs. Run

Terminal
yum update -y
(AlmaLinux, Rocky, CloudLinux) or
Terminal
apt-get update && apt-get upgrade -y
(Ubuntu, Debian), then run the install command again.

"Download failed" / "Downloaded file is invalid" / "Extraction failed"

The output contains "download failed" or "downloaded file is invalid" or "downloaded file is corrupt".

The server could not download the licence tool completely. Check free disk space (df -h), DNS and that outgoing HTTPS is allowed, then run the install command again.

"provisioning may have issues"

The output contains "provisioning may have issues".

Run the install command once more. If you see the same line, send us the last lines of the installer log:

Terminal
tail -30 /var/log/*-installer.log
.

"Unsupported operating system"

The output contains "unsupported operating system".

The licence tool did not recognise this system. It runs on AlmaLinux, Rocky Linux, CloudLinux and CentOS, and on Ubuntu and Debian with limited support. Send us the output of

Terminal
cat /etc/os-release
and we will check it with you.

"32-bit systems are not supported"

The output contains "32-bit systems are not supported".

The licence needs a 64-bit system. Install the server with a 64-bit (x86_64) system, then run the install command again.

"Unknown product"

The output contains "unknown product".

The product word at the end of the line was changed or cut off. Copy the whole install command again from your licence page and paste it in one go.

curl is not installed

The output contains "curl: command not found" or "curl: not found".

Install curl —

Terminal
yum install -y curl
(AlmaLinux, Rocky, CloudLinux) or apt-get install -y curl (Ubuntu, Debian) — then run the install command again.

Not running as root

The output contains "root access required" or "permission denied" or "must be run as root".

Run it as root: sudo -i, then paste the install command again.

"command not found"

The output contains "command not found" or ": not found".

Usually one of three things: you are not root (run sudo -i first), curl is missing, or the line was not pasted whole. Copy the install command again from your licence page and paste it in one go. If only the short refresh command is "not found", run the install command once — it adds it.

The installer asks for a licence key

The output contains "enter license key" or "enter the license key" or "enter licence key".

No key is needed — the licence is tied to the server's IP. Press Ctrl+C and run the command from your licence page as root.

Licence invalid / IP mismatch

The output contains "license is invalid" or "licence is invalid" or "invalid license".

Check that the IP on your licence page is this server's main public IP (if you moved server, change it there first). If it was just activated or changed, wait 5–10 minutes, then run the refresh command from your licence page (V2: the install command again).

The server cannot reach our install host

The output contains "could not resolve host" or "connection timed out" or "failed to connect".

The server cannot reach our install host. Check its DNS and that outgoing HTTPS (port 443) is allowed by the firewall, then run the command again.

"ARM64 detected — limited compatibility"

The output contains "arm64 detected".

A notice: the licence tool is built for x86_64 servers. On an ARM server it may not work — check the result under Check it worked, and if it did not work we can test it with you.

"license LOCK file exists but not running… removing it"

The output contains "lock file exists but not running".

A notice, not an error: an earlier run was interrupted and the tool cleaned it up. If the output ends with "has been installed", there is nothing to do.

"limited support — experimental" (Ubuntu / Debian)

The output contains "limited support" or "is experimental".

A notice, not an error: the tool continues on Ubuntu and Debian. Check the result with the commands under Check it worked; if it did not work, we can test it with you.

WHMReseller is not installed yet

Run the command for your licence type. If WHMReseller is not in WHM afterwards, run

Terminal
service cpanel restart
; if it is still missing, open a ticket.

Tips

  • Running the command again is safe. It reinstalls and refreshes the licence; it does not touch your websites or data.
  • After an IP change: change the IP on your licence page first, then run the command on the server with the new IP.
  • After a WHMReseller update: if it shows as unlicensed, run the refresh command.

Your server is set up differently

Every server is a little different. If the steps above don't fix it, we can test it with you. You don't have to share access: run these and send us the output:

Terminal
cat /etc/os-release
ls /usr/local/cpanel/whostmgr/docroot/cgi/whmreseller/

If you can share access, use the secure link from support; it's the fastest way.

When to contact support

If the command still fails after the steps above, open a support ticket from your client area. Include the licence's IP address and copy the last lines the command printed — that lets us fix it in one reply.

Related articles

Still need help?

Our support team is available to assist with license installation and troubleshooting.

Open Support Ticket

Was this article helpful?

Need help? Chat with us
How to install your WHMReseller licence | Support Articles | LicenseW | LicenseW