cPanel v92 with CentOS 8 install issues

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
I see an error when I want to set the cpupdate.conf file to edge and install centos 8.

Code:
2020-10-13 04:15:01 1413 [6679] (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.91.9999.79/cpanel/scripts/fix-cpanel-perl.xz to the fix-cpanel-perl.xz file...
2020-10-13 04:15:02 1419 [6679] ( WARN): The system could not fetch the optional fix-cpanel-perl.xz file: wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.

2020-10-13 04:15:02 1215 [6679] ( WARN): Script 'fix-cpanel-perl' is not available for cPanel & WHM version 11.91.9999.79. Continuing installation...
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Looks like it is not working as yet. There are a couple of pre-requisites on a CentOS v8 minimal installation. You must install the following rpms before running the installer:

Code:
dnf install tar epel-release
However, it then fails on the signature keys on all mirrors, so you won't get much further for now:

Code:
[2020-10-13 04:04:47 -0400] ***** DIE: Signature verification failed for URL 'http://httpupdate.cpanel.net/cpanelsync/11.91.9999.79/binaries/linux-c8-x86_64/.cpanelsync.bz2'. Could not find public key in keychain. (/usr/local/cpanel/.cpanelsync_binaries__forward_slash__linux-c8-x86_64-cpanelsync_HMRZutJu) Please see https://go.cpanel.net/sigerrors for further information about this error.
 
  • Like
Reactions: vacancy

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Got it working with a workaround. After breaking out of the failed install, I edited /var/cpanel/cpanel.config that had been created and changed:

Code:
signature_validation=Release Keyring Only
to:
Code:
signature_validation=Release and Development Keyrings
then redo the install and it worked.

There's probably a much nicer way to do all this.

Note: This is to get it working, remember this is experimental from cPanel and should not be used in a production environment.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
I see an error when I want to set the cpupdate.conf file to edge and install centos 8.

Code:
2020-10-13 04:15:01 1413 [6679] (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.91.9999.79/cpanel/scripts/fix-cpanel-perl.xz to the fix-cpanel-perl.xz file...
2020-10-13 04:15:02 1419 [6679] ( WARN): The system could not fetch the optional fix-cpanel-perl.xz file: wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.

2020-10-13 04:15:02 1215 [6679] ( WARN): Script 'fix-cpanel-perl' is not available for cPanel & WHM version 11.91.9999.79. Continuing installation...
@vacancy this error appears to be a warning and not a fatal error, am I correct in assuming the installation proceeded?


@chirpy I see your response to the edge-users list too on this (as did all of us here) I'll touch base with that team and see what we can find out about the EPEL issue
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
@chirpy

Not sure if you've seen this yet but the following was just sent out:

Thank you for the heads up. There was a slight problem with our publication logic which caused the CentOS 8 files to be signed with the incorrect key. We have since published 91.9999.81 to correct this. We also are looking into solutions for the packages required from EPEL.
@vacancy what is output after:
Code:
2020-10-13 04:15:02 1215 [6679] ( WARN): Script 'fix-cpanel-perl' is not available for cPanel & WHM version 11.91.9999.79. Continuing installation...
 

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
Can't setup for centos 8 even though i followed all the suggested steps.

I'm trying to install on centos 8.2 minimal. I installed the epel-release package, changed the key setting.

Code:
2020-10-14 12:21:41  274 [10894] (DEBUG):   - ssystem [BEGIN]: ps -U nscd -h 2>/dev/null || /sbin/service nscd start
2020-10-14 12:21:41  274 [10894] (DEBUG):       10820 ?        Ssl    0:00 /usr/sbin/nscd
2020-10-14 12:21:41  274 [10894] (DEBUG):   - ssystem [END]
2020-10-14 12:21:41 1859 [10894] (FATAL): STAGING_DIR must be set to /usr/local/cpanel during installs.
Removing /root/installer.lock.
[root@45 home]# 2020-10-14 12:21:41 1200 [10985] ( INFO): Installing bootstrap cPanel Perl
2020-10-14 12:21:41 1209 [10985] (DEBUG):   Retrieving the fix-cpanel-perl file from /cpanelsync/11.91.9999.81/cpanel/scripts/fix-cpanel-perl.xz if available...
2020-10-14 12:21:41 1413 [10985] (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.91.9999.81/cpanel/scripts/fix-cpanel-perl.xz to the fix-cpanel-perl.xz file...
2020-10-14 12:21:41 1419 [10985] ( WARN): The system could not fetch the optional fix-cpanel-perl.xz file: wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.

2020-10-14 12:21:41 1215 [10985] ( WARN): Script 'fix-cpanel-perl' is not available for cPanel & WHM version 11.91.9999.81. Continuing installation...
[root@45 home]
 

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
I solved the problem.

The installation path in the cpupdate.conf file was incorrect.

"STAGING_DIR=/data" to "STAGING_DIR=/usr/local/cpanel" changed it and started the install.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
I solved the problem.

The installation path in the cpupdate.conf file was incorrect.

"STAGING_DIR=/data" to "STAGING_DIR=/usr/local/cpanel" changed it and started the install.
That's incredibly odd, though I am glad you found the issue
 

provider

Registered
Oct 15, 2020
3
1
3
Istanbul
cPanel Access Level
DataCenter Provider
@cPanelLauren I am also facing similar problem.


[root@cpanel01 home]# cd /home && curl -o latest -L https://securedownloads.cpan el.net/latest && sh latest
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 34815 100 34815 0 0 42981 0 --:--:-- --:--:-- --:--:-- 42928
Verifying archive integrity... All good.
Uncompressing cPanel & WHM Installer......
____ _
___| _ \ __ _ _ __ ___| |
/ __| |_) / _` | '_ \ / _ \ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|

Installer Version v00102 r1a328eed90c6a14b68247da4358c1980dcf1eb6b

Beginning main installation.
2020-10-16 09:45:45 975 [2916] ( INFO): cPanel & WHM installation started at: F ri Oct 16 09:45:45 2020!
2020-10-16 09:45:45 976 [2916] ( INFO): This installation will require 10-50 mi nutes, depending on your hardware and network.
2020-10-16 09:45:45 977 [2916] ( INFO): Now is the time to go get another cup o f coffee/jolt.
2020-10-16 09:45:45 978 [2916] ( INFO): The install will log to the /var/log/cp anel-install.log file.
2020-10-16 09:45:45 979 [2916] ( INFO):
2020-10-16 09:45:45 980 [2916] ( INFO): Beginning Installation v3...
2020-10-16 09:45:45 589 [2916] (DEBUG): Detected distro âcentos-stream-releas eâ8.3ânoarchâ

2020-10-16 09:45:45 2509 [2916] (DEBUG): dnf-4.2.23-4.el8.noarch
2020-10-16 09:45:45 2509 [2916] (DEBUG): - ssystem [END]
2020-10-16 09:45:45 623 [2916] ( INFO): centos-stream 8.3 (Linux) detected!
2020-10-16 09:45:45 638 [2916] ( INFO): Checking RAM now...
2020-10-16 09:45:45 699 [2916] ( INFO): Validating that the system hostname ('c panel01.turkey.apinoc.com') is a FQDN...
2020-10-16 09:45:45 724 [2916] ( INFO): Configuring networking now...
2020-10-16 09:45:45 424 [2916] (DEBUG): - ssystem [BEGIN]: /usr/bin/yum -y in stall network-scripts
2020-10-16 09:45:46 424 [2916] (DEBUG): Last metadata expiration check: 0:2 3:02 ago on Fri Oct 16 09:22:44 2020.
2020-10-16 09:45:47 424 [2916] (DEBUG): Package network-scripts-10.00.9-1.e l8.x86_64 is already installed.
2020-10-16 09:45:47 424 [2916] (DEBUG): Dependencies resolved.
2020-10-16 09:45:47 424 [2916] (DEBUG): Nothing to do.
2020-10-16 09:45:47 424 [2916] (DEBUG): Complete!
2020-10-16 09:45:47 424 [2916] (DEBUG): - ssystem [END]
2020-10-16 09:45:47 726 [2916] (DEBUG): - ssystem [BEGIN]: systemctl enable n etwork.service
2020-10-16 09:45:47 726 [2916] (DEBUG): network.service is not a native ser vice, redirecting to systemd-sysv-install.
2020-10-16 09:45:47 726 [2916] (DEBUG): Executing: /usr/lib/systemd/systemd -sysv-install enable network
2020-10-16 09:45:48 726 [2916] (DEBUG): - ssystem [END]
2020-10-16 09:45:48 727 [2916] (DEBUG): - ssystem [BEGIN]: systemctl start ne twork.service
2020-10-16 09:45:48 727 [2916] (DEBUG): - ssystem [END]
2020-10-16 09:45:48 728 [2916] (DEBUG): - ssystem [BEGIN]: systemctl disable NetworkManager
2020-10-16 09:45:48 728 [2916] (DEBUG): - ssystem [END]
2020-10-16 09:45:48 729 [2916] (DEBUG): - ssystem [BEGIN]: systemctl stop Net workManager
2020-10-16 09:45:48 729 [2916] (DEBUG): - ssystem [END]
2020-10-16 09:45:48 868 [2916] ( INFO): Checking for any control panels...
2020-10-16 09:45:48 748 [2916] ( INFO): Checking for essential system files...
2020-10-16 09:45:48 195 [2916] ( INFO): Running health checks prior to start.
2020-10-16 09:45:48 1308 [2916] ( INFO): Validating whether the system can look up domains...
2020-10-16 09:45:48 1315 [2916] (DEBUG): Testing httpupdate.cpanel.net...
2020-10-16 09:45:48 1315 [2916] (DEBUG): Testing securedownloads.cpanel.net...
2020-10-16 09:45:50 849 [2916] ( INFO): cPanel Layer 1 Installer Starting...
2020-10-16 09:45:50 850 [2916] ( INFO): Warning !!! Warning !!! WARNING !!! War ning !!! Warning
2020-10-16 09:45:50 851 [2916] ( INFO): --------------------------------------- ----------------
2020-10-16 09:45:50 852 [2916] ( INFO): cPanel requires a fresh, clean server!
2020-10-16 09:45:50 853 [2916] ( INFO): If you serve websites from this server, this installer
2020-10-16 09:45:50 854 [2916] ( INFO): will overwrite all of your configuratio n files.
2020-10-16 09:45:50 855 [2916] ( INFO): Hit Ctrl+C NOW!
2020-10-16 09:45:50 856 [2916] ( INFO): If this is a new server, please ignore this message.
2020-10-16 09:45:50 857 [2916] ( INFO): --------------------------------------- ----------------
2020-10-16 09:45:50 858 [2916] ( INFO): Warning !!! Warning !!! WARNING !!! War ning !!! Warning
2020-10-16 09:45:50 859 [2916] ( INFO): Waiting 5 seconds...
2020-10-16 09:45:50 860 [2916] ( INFO):
2020-10-16 09:45:50 861 [2916] ( INFO):
...2020-10-16 09:45:50 1025 [3004] ( INFO): Installing packages needed to downlo ad and run the cPanel initial install.
2020-10-16 09:45:50 1045 [3004] (DEBUG): - ssystem [BEGIN]: touch /etc/checkyu mdisable
2020-10-16 09:45:50 1045 [3004] (DEBUG): - ssystem [END]
2020-10-16 09:45:50 424 [3004] (DEBUG): - ssystem [BEGIN]: /usr/bin/yum -y in stall wget bzip2 gnupg2 xz yum nscd crontabs sysstat
2020-10-16 09:45:51 424 [3004] (DEBUG): Last metadata expiration check: 0:2 3:07 ago on Fri Oct 16 09:22:44 2020.
2020-10-16 09:45:51 424 [3004] (DEBUG): Package wget-1.19.5-10.el8.x86_64 i s already installed.
2020-10-16 09:45:51 424 [3004] (DEBUG): Package bzip2-1.0.6-26.el8.x86_64 i s already installed.
2020-10-16 09:45:51 424 [3004] (DEBUG): Package gnupg2-2.2.20-2.el8.x86_64 is already installed.
2020-10-16 09:45:51 424 [3004] (DEBUG): Package xz-5.2.4-3.el8.x86_64 is al ready installed.
2020-10-16 09:45:51 424 [3004] (DEBUG): Package yum-4.2.23-4.el8.noarch is already installed.
2020-10-16 09:45:51 424 [3004] (DEBUG): Package nscd-2.28-129.el8.x86_64 is already installed.
2020-10-16 09:45:51 424 [3004] (DEBUG): Package crontabs-1.11-16.20150630gi t.el8.noarch is already installed.
2020-10-16 09:45:51 424 [3004] (DEBUG): Package sysstat-11.7.3-2.el8.x86_64 is already installed.
2020-10-16 09:45:52 424 [3004] (DEBUG): Dependencies resolved.
2020-10-16 09:45:52 424 [3004] (DEBUG): Nothing to do.
2020-10-16 09:45:52 424 [3004] (DEBUG): Complete!
2020-10-16 09:45:52 424 [3004] (DEBUG): - ssystem [END]
..
2020-10-16 09:45:55 1663 [2916] ( INFO): The installation process will now set u p the necessary empty cpanel directories.
2020-10-16 09:45:55 1694 [2916] ( INFO): The installation process will now ensur e that GPG is set up properly before it imports keys.
2020-10-16 09:45:55 1697 [2916] ( INFO): The installation process will now impor t GPG keys for yum.
2020-10-16 09:45:55 2154 [2916] ( INFO): Downloading GPG public key, cPanelPubli cKey.asc
2020-10-16 09:45:55 2163 [2916] ( INFO): Importing downloaded GPG public key fro m â/var/cpanel/.gpgtmpdir/cPanelPublicKey.ascâ
2020-10-16 09:45:55 1120 [2916] ( INFO): Ensuring that prelink is disabled...
2020-10-16 09:45:55 1129 [2916] ( INFO): Ensuring that conflicting services are not installed...
2020-10-16 09:45:55 1139 [2916] ( INFO): Removing conflicting service references from the RPM database (but leaving the services installed)...
2020-10-16 09:45:56 1413 [2916] (DEBUG): Retrieving http://httpupdate.cpanel.n et/cpanelsync/TIERS to the TIERS file...
2020-10-16 09:45:56 1413 [2916] (DEBUG): Retrieving http://httpupdate.cpanel.n et/cpanelsync/TIERS.asc to the TIERS.asc file...
2020-10-16 09:45:56 2119 [2916] ( INFO): Valid signature for TIERS (file:TIERS, sig:TIERS.asc)
2020-10-16 09:45:56 247 [2916] ( INFO): Installing cPanel & WHM major version 9 0.
2020-10-16 09:45:56 1945 [2916] (DEBUG): - ssystem [BEGIN]: /bin/chronyc makes tep
2020-10-16 09:45:56 1945 [2916] (DEBUG): 506 Cannot talk to daemon
2020-10-16 09:45:56 1945 [2916] (ERROR): - ssystem [EXIT_CODE] '/bin/chronyc' exited with 1 (ignored)
2020-10-16 09:45:56 1945 [2916] (DEBUG): - ssystem [END]
2020-10-16 09:45:56 1947 [2916] ( INFO): The system set the clock to: Fri Oct 16 09:45:56 2020
2020-10-16 09:45:56 1957 [2916] ( INFO): The system changed the clock by 0 secon ds.
2020-10-16 09:45:56 274 [2916] (DEBUG): - ssystem [BEGIN]: ps -U nscd -h 2>/d ev/null || /sbin/service nscd start
2020-10-16 09:45:57 274 [2916] (DEBUG): 2581 ? Ssl 0:00 /usr/s bin/nscd
2020-10-16 09:45:57 274 [2916] (DEBUG): - ssystem [END]
2020-10-16 09:45:57 1846 [2916] (FATAL): Starting with version 57, cPanel & WHM supports 64-bit versions of CentOS 6+, Red Hat Enterprise Linux® 6+, and CloudL inuxâ
¢ 6+ only.
Removing /root/installer.lock.
[root@cpanel01 home]# 2020-10-16 09:45:56 1200 [3020] ( INFO): Installing bootst rap cPanel Perl
2020-10-16 09:45:56 1209 [3020] (DEBUG): Retrieving the fix-cpanel-perl file f rom /cpanelsync/11.90.0.15/cpanel/scripts/fix-cpanel-perl.xz if available...
2020-10-16 09:45:56 1413 [3020] (DEBUG): Retrieving http://httpupdate.cpanel.n et/cpanelsync/11.90.0.15/cpanel/scripts/fix-cpanel-perl.xz to the fix-cpanel-per l.xz file...
2020-10-16 09:45:57 1419 [3020] ( WARN): The system could not fetch the optional fix-cpanel-perl.xz file: wget-log: No such file or directory; disabling logging .
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.
wget-log: No such file or directory; disabling logging.

2020-10-16 09:45:57 1215 [3020] ( WARN): Script 'fix-cpanel-perl' is not availab le for cPanel & WHM version 11.90.0.15. Continuing installation...
[root@cpanel01 home]#
 
Last edited:

provider

Registered
Oct 15, 2020
3
1
3
Istanbul
cPanel Access Level
DataCenter Provider

ThGe

Member
Oct 11, 2013
12
7
53
cPanel Access Level
Root Administrator
I'm interested in testing this out yet cant find any support on how to install it, how can it be done if you don't mind sharing ?
 

provider

Registered
Oct 15, 2020
3
1
3
Istanbul
cPanel Access Level
DataCenter Provider
To install cPanel on CentOS 8 or CentOS 8-Stream, follow these steps respectively, the installation will be performed without any problems.

After installing CentOS 8 or CentOS 8-Stream, log in root via ssh

iptables-save > ~/firewall.rules
systemctl stop firewalld.service
systemctl disable firewalld.service
nano /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
dnf -y install perl
nano /etc/cpupdate.conf

CPANEL=edge
RPMUP=daily
SARULESUP=daily
STAGING_DIR=/usr/local/cpanel
UPDATES=daily
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
 
Last edited:
  • Like
Reactions: ThGe