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
