Installation on CentOS7 with proxy error

Costin Moraru

Registered
Mar 20, 2019
1
0
1
Romania
cPanel Access Level
Root Administrator
I tried several times to install cpanel on a centos 7 vm configured with proxy.

After sh latest command, this is the result:

Code:
Verifying archive integrity... All good.
Uncompressing cPanel & WHM Installer......
        ____                  _
    ___|  _ \ __ _ _ __   ___| |
   / __| |_) / _` | '_ \ / _ \ |
  | (__|  __/ (_| | | | |  __/ |
   \___|_|   \__,_|_| |_|\___|_|

  Installer Version v00085 r04675fcc172f8a89769c3f2bef1f018c7ebc1d06

Beginning main installation.
2019-03-20 14:54:09  837 ( INFO): cPanel & WHM installation started at: Wed Mar 20 14:54:09 2019!
2019-03-20 14:54:09  838 ( INFO): This installation will require 10-50 minutes, depending on your hardware and network.
2019-03-20 14:54:09  839 ( INFO): Now is the time to go get another cup of coffee/jolt.
2019-03-20 14:54:09  840 ( INFO): The install will log to the /var/log/cpanel-install.log file.
2019-03-20 14:54:09  841 ( INFO):
2019-03-20 14:54:09  842 ( INFO): Beginning Installation v3...
2019-03-20 14:54:09  492 (DEBUG):   Detected distro “centos-release”, version “7.6”, arch “x86_64”
2019-03-20 14:54:09  517 ( INFO): CentOS 7.6 (Linux) detected!
2019-03-20 14:54:09  533 ( INFO): Checking RAM now...
2019-03-20 14:54:09  593 ( INFO): Validating that the system hostname ('vroupy0057.penny-rou.1tld.biz') is a FQDN...
2019-03-20 14:54:09  617 ( INFO): Checking for NetworkManager now...
2019-03-20 14:54:09  659 ( WARN): NetworkManager is installed, but not active.  Consider removing it.
2019-03-20 14:54:09  718 ( INFO): cPanel Layer 1 Installer Starting...
2019-03-20 14:54:09  719 ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
2019-03-20 14:54:09  720 ( INFO): -------------------------------------------------------
2019-03-20 14:54:09  721 ( INFO): cPanel requires a fresh, clean server!
2019-03-20 14:54:09  722 ( INFO): If you serve websites from this server, this installer
2019-03-20 14:54:09  723 ( INFO): will overwrite all of your configuration files.
2019-03-20 14:54:09  724 ( INFO): Hit Ctrl+C NOW!
2019-03-20 14:54:09  725 ( INFO): If this is a new server, please ignore this message.
2019-03-20 14:54:09  726 ( INFO): -------------------------------------------------------
2019-03-20 14:54:09  727 ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
2019-03-20 14:54:09  728 ( INFO): Waiting 5 seconds...
2019-03-20 14:54:09  729 ( INFO):
2019-03-20 14:54:09  730 ( INFO):
.....
2019-03-20 14:54:14  733 ( INFO): Checking for any control panels...
2019-03-20 14:54:15  629 ( INFO): Checking for essential system files...
2019-03-20 14:54:15  172 ( INFO): Running health checks prior to start.
2019-03-20 14:54:15 1154 ( INFO): Validating whether the system can look up domains...
2019-03-20 14:54:15 1166 (DEBUG):   Testing cpanel.net...
2019-03-20 14:54:15 1166 (DEBUG):   Testing www.cpanel.net...
2019-03-20 14:54:15 1166 (DEBUG):   Testing updates.cpanel.net...
2019-03-20 14:54:15 1166 (DEBUG):   Testing httpupdate.cpanel.net...
2019-03-20 14:54:15 1166 (DEBUG):   Testing layer2.cpanel.net...
2019-03-20 14:54:15 1166 (DEBUG):   Testing layer1.cpanel.net...
2019-03-20 14:54:15 1166 (DEBUG):   Testing www.google.com...
2019-03-20 14:54:16  900 ( INFO): Installing Perl development packages so that the system's Perl can install from CPAN...
2019-03-20 14:54:16  906 (DEBUG):   - ssystem [BEGIN]: touch /etc/checkyumdisable
2019-03-20 14:54:16  906 (DEBUG):   - ssystem [END]
2019-03-20 14:54:16  327 (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install wget bzip2 gnupg2 rdate xz yum yum-fastestmirror coreutils shadow-utils libssh2 numactl-libs nscd perl-devel perl-CPAN perl-File-Copy-Recursive perl-Module-Build perl-core perl-libwww-perl crontabs sysstat kernel-headers
2019-03-20 14:54:17  327 (DEBUG):     Loaded plugins: fastestmirror, langpacks
2019-03-20 14:54:17  327 (DEBUG):     Loading mirror speeds from cached hostfile
2019-03-20 14:54:17  327 (DEBUG):      * base: ftp.ines.lug.ro
2019-03-20 14:54:17  327 (DEBUG):      * extras: centos.mirrors.telekom.ro
2019-03-20 14:54:17  327 (DEBUG):      * updates: centos.mirrors.telekom.ro
2019-03-20 14:54:17  327 (DEBUG):     Package wget-1.14-18.el7.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package gnupg2-2.0.22-5.el7_5.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package rdate-1.4-25.el7.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package xz-5.2.2-1.el7.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package yum-3.4.3-161.el7.centos.noarch already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package yum-plugin-fastestmirror-1.1.31-50.el7.noarch already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package coreutils-8.22-23.el7.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package 2:shadow-utils-4.1.5.1-25.el7_6.1.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package libssh2-1.4.3-12.el7.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package numactl-libs-2.0.9-7.el7.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package nscd-2.17-260.el7_6.3.x86_64 already installed and latest version
2019-03-20 14:54:17  327 (DEBUG):     Package 4:perl-devel-5.16.3-294.el7_6.x86_64 already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Package perl-CPAN-1.9800-294.el7_6.noarch already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Package perl-File-Copy-Recursive-0.38-14.el7.noarch already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Package 2:perl-Module-Build-0.40.05-2.el7.noarch already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Package perl-core-5.16.3-294.el7_6.x86_64 already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Package perl-libwww-perl-6.05-2.el7.noarch already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Package crontabs-1.11-6.20121102git.el7.noarch already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Package sysstat-10.1.5-17.el7.x86_64 already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Package kernel-headers-3.10.0-957.10.1.el7.x86_64 already installed and latest version
2019-03-20 14:54:18  327 (DEBUG):     Nothing to do
2019-03-20 14:54:18  327 (DEBUG):   - ssystem [END]
2019-03-20 14:54:18  181 (DEBUG):   - ssystem [BEGIN]: ps -U nscd -h 2>/dev/null || /sbin/service nscd start
2019-03-20 14:54:18  181 (DEBUG):     13913 ?        Ssl    0:01 /usr/sbin/nscd
2019-03-20 14:54:18  181 (DEBUG):   - ssystem [END]
2019-03-20 14:54:18 1716 (DEBUG):   - ssystem [BEGIN]: /usr/bin/rdate -s rdate.cpanel.net
2019-03-20 14:54:18 1716 (DEBUG):     rdate: rdate.cpanel.net: Name or service not known
2019-03-20 14:54:18 1716 (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/rdate' exited with 1 (ignored)
2019-03-20 14:54:18 1716 (DEBUG):   - ssystem [END]
2019-03-20 14:54:18 1718 ( INFO): The system set the clock to: Wed Mar 20 14:54:18 2019
2019-03-20 14:54:18 1728 ( INFO): The system changed the clock by 0 seconds.
2019-03-20 14:54:18 1502 ( INFO): The installation process will now set up the necessary empty cpanel directories.
2019-03-20 14:54:18 1533 ( INFO): The installation process will now ensure that GPG is set up properly before it imports keys.
2019-03-20 14:54:18 1536 ( INFO): The installation process will now import GPG keys for yum.
2019-03-20 14:54:18 1264 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS to the TIERS file...
2019-03-20 14:54:19 1264 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS.asc to the TIERS.asc file...
2019-03-20 14:54:19 1919 ( INFO): Downloading GPG public key, cPanelPublicKey.asc
2019-03-20 14:54:20 1928 ( INFO): Importing downloaded GPG public key from “/var/cpanel/.gpgtmpdir/cPanelPublicKey.asc”.
2019-03-20 14:54:20 1884 ( INFO): Valid signature for TIERS (file:TIERS, sig:TIERS.asc)
2019-03-20 14:54:20 1201 ( INFO): The system successfully connected to the httpupdate.cpanel.net server.
2019-03-20 14:54:20  759 ( INFO): Checking for an existing MySQL or MariaDB instance...
2019-03-20 14:54:20  212 (DEBUG):   Parsing command line arguments.
2019-03-20 14:54:20  428 ( INFO): Install type: standard
2019-03-20 14:54:20 1308 (DEBUG):   Using MyIp URL to detect your IP 'http://cpanel.net/myip/'.
2019-03-20 14:54:22 1378 ( INFO): Checking for existing active license linked to IP '46.97.14.176'.
2019-03-20 14:54:23  227 (DEBUG):   - ssystem [BEGIN]: /usr/sbin/setenforce 0
2019-03-20 14:54:23  227 (DEBUG):   - ssystem [END]
2019-03-20 14:54:23  233 ( INFO): Installing cPanel & WHM major version 78.
2019-03-20 14:54:23 1716 (DEBUG):   - ssystem [BEGIN]: /usr/bin/rdate -s rdate.cpanel.net
2019-03-20 14:54:23 1716 (DEBUG):     rdate: rdate.cpanel.net: Name or service not known
2019-03-20 14:54:23 1716 (ERROR):   - ssystem [EXIT_CODE] '/usr/bin/rdate' exited with 1 (ignored)
2019-03-20 14:54:23 1716 (DEBUG):   - ssystem [END]
2019-03-20 14:54:23 1718 ( INFO): The system set the clock to: Wed Mar 20 14:54:23 2019
2019-03-20 14:54:23 1728 ( INFO): The system changed the clock by 0 seconds.
2019-03-20 14:54:23  978 ( INFO): Ensuring that prelink is disabled...
2019-03-20 14:54:23  987 ( INFO): Ensuring that conflicting services are not installed...
2019-03-20 14:54:24  997 ( INFO): Removing conflicting service references from the RPM database (but leaving the services installed)...
2019-03-20 14:54:24 1015 ( INFO): Installing /usr/local/cpanel files...
2019-03-20 14:54:24 1017 (DEBUG):   HTTPUPDATE is set to httpupdate.cpanel.net
2019-03-20 14:54:24  327 (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install grep shadow-utils coreutils perl-DBI python python-devel python-docs python-setuptools quota quota-devel expat expat-devel ImageMagick ImageMagick-devel boost-program-options boost-serialization ncurses-term redhat-rpm-config elinks js libssh2 libssh2-devel libvpx nss_compat_ossl scl-utils
2019-03-20 14:54:24 1038 (DEBUG):   /scripts symlink is set to point to /usr/local/cpanel/scripts
2019-03-20 14:54:24 1047 ( INFO): Installing bootstrap cPanel Perl
2019-03-20 14:54:24 1057 (DEBUG):   Retrieving the fix-cpanel-perl file from /cpanelsync/11.78.0.18/cpanel/scripts/fix-cpanel-perl.xz if available...
2019-03-20 14:54:24 1264 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.78.0.18/cpanel/scripts/fix-cpanel-perl.xz to the fix-cpanel-perl.xz file...
2019-03-20 14:54:24 1264 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.78.0.18/cpanel/scripts/fix-cpanel-perl.xz.asc to the fix-cpanel-perl.xz.asc file...
2019-03-20 14:54:24 1884 ( INFO): Valid signature for fix-cpanel-perl.xz (file:fix-cpanel-perl.xz, sig:fix-cpanel-perl.xz.asc)
2019-03-20 14:54:24 1243 (DEBUG):   - ssystem [BEGIN]: /usr/bin/unxz fix-cpanel-perl.xz
2019-03-20 14:54:24 1243 (DEBUG):   - ssystem [END]
2019-03-20 14:54:24 1069 ( INFO): Running script fix-cpanel-perl to bootstrap cPanel Perl.
2019-03-20 14:54:24 1078 ( INFO): Successfully installed cPanel Perl minimal version.
2019-03-20 14:54:24 1098 ( INFO): Downloading updatenow.static
2019-03-20 14:54:24 1105 (DEBUG):   Retrieving the updatenow.static file from /cpanelsync/11.78.0.18/cpanel/scripts/updatenow.static.bz2...
2019-03-20 14:54:24 1264 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.78.0.18/cpanel/scripts/updatenow.static.bz2 to the updatenow.static.bz2 file...
2019-03-20 14:54:25 1230 (DEBUG):   - ssystem [BEGIN]: /usr/bin/bunzip2 updatenow.static.bz2
2019-03-20 14:54:25 1230 (DEBUG):   - ssystem [END]
2019-03-20 14:54:25 1264 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.78.0.18/cpanel/scripts/updatenow.static.asc to the updatenow.static.asc file...
2019-03-20 14:54:25  327 (DEBUG):     Loaded plugins: fastestmirror, langpacks
2019-03-20 14:54:25 1884 ( INFO): Valid signature for updatenow.static (file:updatenow.static, sig:updatenow.static.asc)
2019-03-20 14:54:25 1114 ( INFO): Closing the installation log and passing output control to the updatenow.static file...
2019-03-20 14:54:25  327 (DEBUG):     Loading mirror speeds from cached hostfile
2019-03-20 14:54:25  327 (DEBUG):      * base: ftp.ines.lug.ro
2019-03-20 14:54:25  327 (DEBUG):      * extras: centos.mirrors.telekom.ro
2019-03-20 14:54:25  327 (DEBUG):      * updates: centos.mirrors.telekom.ro
2019-03-20 14:54:25  327 (DEBUG):     Package grep-2.20-3.el7.x86_64 already installed and latest version
2019-03-20 14:54:25  327 (DEBUG):     Package 2:shadow-utils-4.1.5.1-25.el7_6.1.x86_64 already installed and latest version
2019-03-20 14:54:25  327 (DEBUG):     Package coreutils-8.22-23.el7.x86_64 already installed and latest version
2019-03-20 14:54:25  327 (DEBUG):     Package perl-DBI-1.627-4.el7.x86_64 already installed and latest version
2019-03-20 14:54:25  327 (DEBUG):     Package python-2.7.5-76.el7.x86_64 already installed and latest version
2019-03-20 14:54:25  327 (DEBUG):     Package python-devel-2.7.5-76.el7.x86_64 already installed and latest version
2019-03-20 14:54:25  327 (DEBUG):     Package python-docs-2.7.5-2.el7.noarch already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package python-setuptools-0.9.8-7.el7.noarch already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package 1:quota-4.01-17.el7.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package 1:quota-devel-4.01-17.el7.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package expat-2.1.0-10.el7_3.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package expat-devel-2.1.0-10.el7_3.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package ImageMagick-6.7.8.9-16.el7_6.x86_64 already installed and latest version
[2019-03-20 14:54:26 +0200]   Running version '11.78.0.18' of updatenow.
[2019-03-20 14:54:26 +0200]   Detected version '' from version file.
[2019-03-20 14:54:26 +0200]   --force passed on command line. Upgrade will disregard update config settings.
die [updatenow] Failed to download URL 'http://httpupdate.cpanel.net/cpanelsync/TIERS.json.asc'.
[2019-03-20 14:54:26 +0200] E Tried to sync version /etc/cpanel/TIERS.json file but failed: exit level [die] [pid=18411] (Failed to download URL 'http://httpupdate.cpanel.net/cpanelsync/TIERS.json.asc'.)
[2019-03-20 14:54:26 +0200] ***** FATAL: The version for tier 'release' is not defined!
[2019-03-20 14:54:26 +0200]   The Administrator will be notified to review this output when this script completes
[2019-03-20 14:54:26 +0200] E Detected events which require user notification during updatenow. Will send iContact the log
info [updatenow] upcp:: Notification => [email protected]***** via EMAIL [eventimportance => High (1)]
warn [updatenow] Failed to send notification of type “EMAIL”: (XID qqn4vz) The system failed to load the module “Cpanel::iContact::Provider::Email” because of an error: Can't locate Cpanel/iContact/Provider/Email.pm in @INC (you may need to install the Cpanel::iContact::Provider::Email module) (@INC contains: /var/cpanel/perl /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at (eval 27) line 1.
BEGIN failed--compilation aborted at (eval 27) line 1.


There were errors when running updatenow:

[2019-03-20 14:54:26 +0200] E The install encountered an error: The version for tier 'release' is not defined!
2019-03-20 14:54:26  327 (DEBUG):     Package ImageMagick-devel-6.7.8.9-16.el7_6.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package boost-program-options-1.53.0-27.el7.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package boost-serialization-1.53.0-27.el7.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package ncurses-term-5.9-14.20130511.el7_4.noarch already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package redhat-rpm-config-9.1.0-87.el7.centos.noarch already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package elinks-0.12-0.37.pre6.el7.0.1.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package 1:js-1.8.5-20.el7.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package libssh2-1.4.3-12.el7.x86_64 already installed and latest version
2019-03-20 14:54:26  327 (DEBUG):     Package libssh2-devel-1.4.3-12.el7.x86_64 already installed and latest version
2019-03-20 14:54:27  327 (DEBUG):     Package libvpx-1.3.0-5.el7_0.x86_64 already installed and latest version
2019-03-20 14:54:27  327 (DEBUG):     Package nss_compat_ossl-0.9.6-8.el7.x86_64 already installed and latest version
2019-03-20 14:54:27  327 (DEBUG):     Package scl-utils-20130529-19.el7.x86_64 already installed and latest version
2019-03-20 14:54:27  327 (DEBUG):     Nothing to do
2019-03-20 14:54:27  327 (DEBUG):   - ssystem [END]
Can't exec "/usr/local/cpanel/scripts/cpanel_initial_install": No such file or directory at /home/cPanelInstall/selfgz18282/install line 258.
2019-03-20 14:54:27  261 (FATAL): The system failed to run the /usr/local/cpanel/scripts/cpanel_initial_install script.
Removing /root/installer.lock.

From what I've read in other threads, this error occurs when there is no available space on disk. But it shouldn't be the case here.

df -h return this
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 46G 4.5G 41G 10% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 9.2M 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda1 1014M 169M 846M 17% /boot
tmpfs 379M 4.0K 379M 1% /run/user/42
tmpfs 379M 48K 379M 1% /run/user/0


df -i return this
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/centos-root 23654400 146010 23508390 1% /
devtmpfs 479718 355 479363 1% /dev
tmpfs 483922 1 483921 1% /dev/shm
tmpfs 483922 597 483325 1% /run
tmpfs 483922 16 483906 1% /sys/fs/cgroup
/dev/sda1 524288 327 523961 1% /boot
tmpfs 483922 6 483916 1% /run/user/42
tmpfs 483922 12 483910 1% /run/user/0




Regards
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,298
1,279
313
Houston
Hi @Costin Moraru


So that we can best help you with your new installation can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
 

Kapil Jain

Registered
Mar 23, 2019
1
0
1
Singapore
cPanel Access Level
DataCenter Provider
Hi @Costin Moraru


So that we can best help you with your new installation can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!

Even I'm having same problem, it starts as soon as cPanel installer installs nscd service all hostnames stops resolving due to which cPanel installer is not able to proceed further

Ticket submitted: Your Request ID is: 11740731

Kindly help, not installing cPanel for first time, even tried to reinstall VPS multiple times but still same issue
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,298
1,279
313
Houston
Hello @Kapil Jain


I checked in on that ticket you opened and it would appear that it's awaiting further response from you. I'm following the ticket and will update here with the outcome.

Thanks!