If your IP address matches the license, and you still experience problems, run the following script to verify your license:

Code Block

language

bash

/usr/local/cpanel/cpkeyclt

After the script runs, the command line will display no messages if your license works properly. If the script requires more than a few seconds to run, your server may have encountered connectivity issues.

If the /usr/local/cpanel/cpkeyclt script fails, ensure that our licensing servers resolve. To test that you can resolve our servers, run the following command:

Code Block

language

bash

host auth.cpanel.net

You may also need to ensure that the time and date of the server are not set too far in the future or past.

Perl installation errors

Problem

You see the following error message during the installation process:

Code Block

language

text

Fatal! Perl must be installed before proceeding!

Explanation

Perlmustexist on your server before the installation script for cPanel & WHM can run successfully. If Perl doesnot exist during installation, the cPanel & WHM installer attempts to install Perl via the yum -y install perl command. If the installation does not succeed, the system displays this error message.

Westronglyrecommend that you allow your operating system's distribution to control the system Perl installation. Donotcustomize this Perl installation.

For more information about Perl on your server, and which versions of Perl ship with specific operating systems, read our Guide to Perl in cPanel & WHMdocumentation. cPanel & WHM servers use multiple Perl environments.

Solution

Problems with yum generally cause this error. Make certain that yum functions properly on your server.

To attempt to install Perl again, run the following command:

Code Block

language

bash

yum install perl

High CPU load on Hyper-V

Problem

The server reports a high CPU load, and Hyper-V's Dynamic Memory option is enabled.

Explanation

This problem is due to an issue with sleep interruptibility in Hyper-V.

Solution

For more information and a patch to fix the issue, visit the LKML website.

RPM installation failures

Problem

One or more RPMs fail during installation.

Explanation

There are several reasons why your operating system's RPM installations may fail.

DNS problems

You may need to set up resolvers. Resolvers allow your server to communicate with DNS servers to find IPv4 or IPv6 addresses that correspond to domain names.

One or more directories or partitions may be improperly configured.

Solution

To check your server's resolvers, run the following command, where example.com represents a domain on your server:

Code Block

language

bash

host example.com

If this command did not return results, the /etc/resolv.conf file does not contain resolvers. Use WHM's Resolver Configurationinterface (Home >> Networking Setup >> Resolver Configuration) to add resolvers to your server.

To determine whether your server can communicate with a resolver, perform the following steps:

Use SSH to log in to your server via the command line.

Run the following commands to check communication via IPv4 and IPv6:

Code Block

language

bash

linenumbers

true

ping 8.8.8.8
ping6 2001:4860:4860::8888

If these commands fail, make certain that you used the correct IP addresses. Then, run the following commands to find the problem:

cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, Inc. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2018 All rights reserved.