Error occurring when running cPanel installation script

Hi,

 

When performing a fresh cPanel installation the following errors occur :

2024-09-20 17:31:08  871 [6522] ( INFO): Running script fix-cpanel-perl to bootstrap cPanel Perl.
2024-09-20 17:31:08  878 [6522] (DEBUG):   - ssystem [BEGIN]: ./fix-cpanel-perl
2024-09-20 17:31:08  878 [6522] (DEBUG):     2024-09-20 17:31:08  611 ( INFO): Downloading bootstrap packages from repo.amazeservice.net
2024-09-20 17:31:08  878 [6522] (DEBUG):     2024-09-20 17:31:08  793 (DEBUG):   Retrieving http://repo.amazeservice.net/RPM/11.108/centos/8/x86_64/rpm.sha512.asc
2024-09-20 17:31:08  878 [6522] (DEBUG):     2024-09-20 17:31:08  793 (DEBUG):   Retrieving http://repo.amazeservice.net/RPM/11.108/centos/8/x86_64/rpm.sha512
2024-09-20 17:31:10  878 [6522] (DEBUG):     2024-09-20 17:31:10  832 ( INFO): FILE - /usr/local/cpanel/tmp/rpm_downloads/rpm.sha512
2024-09-20 17:31:10  878 [6522] (DEBUG):     2024-09-20 17:31:10  833 ( INFO): SIG  - /usr/local/cpanel/tmp/rpm_downloads/rpm.sha512.asc
2024-09-20 17:31:10  878 [6522] (DEBUG):     2024-09-20 17:31:10  834 ( INFO): URL  - http://repo.amazeservice.net/RPM/11.108/centos/8/x86_64/rpm.sha512
2024-09-20 17:31:10  878 [6522] (DEBUG):
2024-09-20 17:31:10  878 [6522] (DEBUG):     2024-09-20 17:31:10  881 (FATAL): Invalid signature for /usr/local/cpanel/tmp/rpm_downloads/rpm.sha512. (/usr/local/cpanel/tmp/rpm_downloads/rpm.sha512)
2024-09-20 17:31:10  878 [6522] (ERROR):   - ssystem [EXIT_CODE] './fix-cpanel-perl' exited with 2
2024-09-20 17:31:10  878 [6522] (DEBUG):   - ssystem [END]
2024-09-20 17:31:10  884 [6522] ( WARN): Run #1/3 failed to run script fix-cpanel-perl
2024-09-20 17:31:15  878 [6522] (DEBUG):   - ssystem [BEGIN]: ./fix-cpanel-perl
2024-09-20 17:31:15  878 [6522] (DEBUG):     2024-09-20 17:31:15  611 ( INFO): Downloading bootstrap packages from repo.amazeservice.net
2024-09-20 17:31:15  878 [6522] (DEBUG):     2024-09-20 17:31:15  793 (DEBUG):   Retrieving http://repo.amazeservice.net/RPM/11.108/centos/8/x86_64/rpm.sha512.asc
2024-09-20 17:31:15  878 [6522] (DEBUG):     2024-09-20 17:31:15  793 (DEBUG):   Retrieving http://repo.amazeservice.net/RPM/11.108/centos/8/x86_64/rpm.sha512
2024-09-20 17:31:17  878 [6522] (DEBUG):     2024-09-20 17:31:17  832 ( INFO): FILE - /usr/local/cpanel/tmp/rpm_downloads/rpm.sha512
2024-09-20 17:31:17  878 [6522] (DEBUG):     2024-09-20 17:31:17  833 ( INFO): SIG  - /usr/local/cpanel/tmp/rpm_downloads/rpm.sha512.asc
2024-09-20 17:31:17  878 [6522] (DEBUG):     2024-09-20 17:31:17  834 ( INFO): URL  - http://repo.amazeservice.net/RPM/11.108/centos/8/x86_64/rpm.sha512
2024-09-20 17:31:17  878 [6522] (DEBUG):
2024-09-20 17:31:17  878 [6522] (DEBUG):     2024-09-20 17:31:17  881 (FATAL): Invalid signature for /usr/local/cpanel/tmp/rpm_downloads/rpm.sha512. (/usr/local/cpanel/tmp/rpm_downloads/rpm.sha512)
2024-09-20 17:31:17  878 [6522] (ERROR):   - ssystem [EXIT_CODE] './fix-cpanel-perl' exited with 2
2024-09-20 17:31:17  878 [6522] (DEBUG):   - ssystem [END]
2024-09-20 17:31:17  884 [6522] ( WARN): Run #2/3 failed to run script fix-cpanel-perl

 

Workaround :

Creating the /etc/cpupdate.conf file using your favorite text editor and updating it with the default entries will allow for the installation to proceed. The default entries can be found below:

CPANEL=release
RPMUP=daily
SARULESUP=daily
STAGING_DIR=/usr/local/cpanel
UPDATES=daily
  • cPanel installation, fix-cpanel-perl, cpupdate.conf
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to reset SSH port back to default port 22?

In some situations most of us may come across a problem that we are able to log into the WHM but...

How to setup the root login alert notification email?

Its very important to keep a check on your servers and who logs into the server, From security...

How to enable Open SSL on WHM?

Before enabling open SSL, you can check whether it is already enabled on your server. Please fire...

How to install mod_pagespeed on WHM?

'mod_pagespeed' is module of Apache which is nothing but plugin which is used for compressing the...

How to enable Hot Link Protection in cPanel?

To avoid other sites to use your website's bandwidth, you can enable the hot link protection....

Powered by WHMCompleteSolution