Installation Fails - DNS Resolution Issues

Operating System & Version
CentOS 7.9

tonynyc

Registered
Jul 5, 2021
1
0
0
New York
cPanel Access Level
Root Administrator
Hey Everyone -

I'm having an issue installing cPanel on 2 different VPS in 2 different locations. It seems that I am having some type of DNS resolution issue that causes the installation to fail. I've checked my etc/resolv.conf file, I've replaced ISP provided values to Google DNS and L3 DNS. Same issue stands.

Here's a snippet from the screen

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

  Installer Version v00111 r5eb6afe815e374187870186f139c3b24d5e5cd20

Beginning main installation.
2021-07-05 09:37:04  203 [2811] ( INFO): cPanel & WHM installation started at: Mon Jul  5 09:37:04 2021!
2021-07-05 09:37:04  204 [2811] ( INFO): This installation will require 10-50 minutes, depending on your hardware and network.
2021-07-05 09:37:04  205 [2811] ( INFO): Now is the time to go get another cup of coffee/jolt.
2021-07-05 09:37:04  206 [2811] ( INFO): The install will log to the /var/log/cpanel-install.log file.
2021-07-05 09:37:04  207 [2811] ( INFO):
2021-07-05 09:37:04  208 [2811] ( INFO): Beginning Installation v3...
2021-07-05 09:37:04  426 [2811] (DEBUG):   Detected distro “centos-release”, version “7.9”, arch “x86_64”
2021-07-05 09:37:04 1332 [2811] (DEBUG):   - ssystem [BEGIN]: rpm -q dnf
2021-07-05 09:37:04 1332 [2811] (DEBUG):     package dnf is not installed
2021-07-05 09:37:04 1332 [2811] (DEBUG):   - ssystem [END]
2021-07-05 09:37:04  454 [2811] ( INFO): CentOS 7.9 (Linux) detected!
2021-07-05 09:37:04  479 [2811] ( INFO): Checking RAM now...
2021-07-05 09:37:04  291 [2811] ( INFO): Validating that the system hostname ('mia.nyflnerds.com') is a FQDN...
2021-07-05 09:37:04  521 [2811] ( INFO): Checking for NetworkManager now...
2021-07-05 09:37:04  552 [2811] ( WARN): NetworkManager is installed, but not active.  Consider removing it.
2021-07-05 09:37:04  147 [2811] ( INFO): Checking for any control panels...
2021-07-05 09:37:04  313 [2811] ( INFO): Checking for essential system files...
2021-07-05 09:37:04  135 [2811] ( INFO): Running health checks prior to start.
2021-07-05 09:37:04  173 [2811] ( INFO): Validating whether the system can look up domains...
2021-07-05 09:37:04  180 [2811] (DEBUG):   Testing httpupdate.cpanel.net...
2021-07-05 09:37:04  182 [2811] (ERROR): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2021-07-05 09:37:04  183 [2811] (ERROR): The system cannot resolve the httpupdate.cpanel.net domain. Check the /etc/resolv.conf file. The system has terminated the installation process.

2021-07-05 09:37:04  184 [2811] (FATAL): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


So I now check to see if the above domain resolves, which it does:

Code:
[[email protected] home]# host httpupdate.cpanel.net
httpupdate.cpanel.net has address 184.94.196.92
httpupdate.cpanel.net has address 122.201.72.171
httpupdate.cpanel.net has address 67.227.128.74
httpupdate.cpanel.net has address 208.100.0.204
httpupdate.cpanel.net has address 184.94.196.94
httpupdate.cpanel.net has address 67.205.110.4
httpupdate.cpanel.net has address 94.75.231.77
httpupdate.cpanel.net has address 74.50.120.123
httpupdate.cpanel.net has address 69.73.140.17
httpupdate.cpanel.net has address 184.94.196.93
httpupdate.cpanel.net has address 103.252.152.1
httpupdate.cpanel.net has address 66.23.237.210
httpupdate.cpanel.net has address 159.253.142.50
httpupdate.cpanel.net has address 66.71.244.18
httpupdate.cpanel.net has address 206.130.99.76
httpupdate.cpanel.net has address 208.109.109.239


This is another incarnation of the error (see lines 101-111)

Code:
[[email protected] ~]# cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 44226  100 44226    0     0    99k      0 --:--:-- --:--:-- --:--:--   99k
Verifying archive integrity... All good.
Uncompressing cPanel & WHM Installer...........
        ____                  _
    ___|  _ \ __ _ _ __   ___| |
   / __| |_) / _` | '_ \ / _ \ |
  | (__|  __/ (_| | | | |  __/ |
   \___|_|   \__,_|_| |_|\___|_|

  Installer Version v00111 r5eb6afe815e374187870186f139c3b24d5e5cd20

Beginning main installation.
2021-07-05 09:34:16  203 [1665] ( INFO): cPanel & WHM installation started at: Mon Jul  5 09:34:16 2021!
2021-07-05 09:34:16  204 [1665] ( INFO): This installation will require 10-50 minutes, depending on your hardware and network.
2021-07-05 09:34:16  205 [1665] ( INFO): Now is the time to go get another cup of coffee/jolt.
2021-07-05 09:34:16  206 [1665] ( INFO): The install will log to the /var/log/cpanel-install.log file.
2021-07-05 09:34:16  207 [1665] ( INFO):
2021-07-05 09:34:16  208 [1665] ( INFO): Beginning Installation v3...
2021-07-05 09:34:16  426 [1665] (DEBUG):   Detected distro “centos-release”, version “7.9”, arch “x86_64”
2021-07-05 09:34:16 1332 [1665] (DEBUG):   - ssystem [BEGIN]: rpm -q dnf
2021-07-05 09:34:16 1332 [1665] (DEBUG):     package dnf is not installed
2021-07-05 09:34:16 1332 [1665] (DEBUG):   - ssystem [END]
2021-07-05 09:34:16  454 [1665] ( INFO): CentOS 7.9 (Linux) detected!
2021-07-05 09:34:16  479 [1665] ( INFO): Checking RAM now...
2021-07-05 09:34:16  291 [1665] ( INFO): Validating that the system hostname ('mia.nyflnerds.com') is a FQDN...
2021-07-05 09:34:16  521 [1665] ( INFO): Checking for NetworkManager now...
2021-07-05 09:34:16  552 [1665] ( WARN): NetworkManager is installed, but not active.  Consider removing it.
2021-07-05 09:34:16  147 [1665] ( INFO): Checking for any control panels...
2021-07-05 09:34:16  313 [1665] ( INFO): Checking for essential system files...
2021-07-05 09:34:16  135 [1665] ( INFO): Running health checks prior to start.
2021-07-05 09:34:16  173 [1665] ( INFO): Validating whether the system can look up domains...
2021-07-05 09:34:16  180 [1665] (DEBUG):   Testing httpupdate.cpanel.net...
2021-07-05 09:34:16  180 [1665] (DEBUG):   Testing securedownloads.cpanel.net...
2021-07-05 09:34:17 1260 [1665] ( INFO): cPanel Layer 1 Installer Starting...
2021-07-05 09:34:17 1261 [1665] ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
2021-07-05 09:34:17 1262 [1665] ( INFO): -------------------------------------------------------
2021-07-05 09:34:17 1263 [1665] ( INFO): cPanel requires a fresh, clean server!
2021-07-05 09:34:17 1264 [1665] ( INFO): If you serve websites from this server, this installer
2021-07-05 09:34:17 1265 [1665] ( INFO): will overwrite all of your configuration files.
2021-07-05 09:34:17 1266 [1665] ( INFO): Hit Ctrl+C NOW!
2021-07-05 09:34:17 1267 [1665] ( INFO): If this is a new server, please ignore this message.
2021-07-05 09:34:17 1268 [1665] ( INFO): -------------------------------------------------------
2021-07-05 09:34:17 1269 [1665] ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
2021-07-05 09:34:17 1270 [1665] ( INFO): Waiting 5 seconds...
2021-07-05 09:34:17 1271 [1665] ( INFO):
2021-07-05 09:34:17 1272 [1665] ( INFO):
.2021-07-05 09:34:17  695 [1682] ( INFO): Installing packages needed to download and run the cPanel initial install.
2021-07-05 09:34:17 1295 [1682] (DEBUG):   - ssystem [BEGIN]: touch /etc/checkyumdisable
2021-07-05 09:34:17 1295 [1682] (DEBUG):   - ssystem [END]
2021-07-05 09:34:17  364 [1682] (DEBUG):   - ssystem [BEGIN]: /usr/bin/yum -y install wget bzip2 gnupg2 xz yum nscd psmisc cracklib-dicts rdate yum-fastestmirror crontabs sysstat
2021-07-05 09:34:17  364 [1682] (DEBUG):     Loaded plugins: fastestmirror, langpacks
2021-07-05 09:34:17  364 [1682] (DEBUG):     Loading mirror speeds from cached hostfile
2021-07-05 09:34:17  364 [1682] (DEBUG):      * base: mirror.mojohost.com
2021-07-05 09:34:17  364 [1682] (DEBUG):      * extras: mirror.steadfastnet.com
2021-07-05 09:34:17  364 [1682] (DEBUG):      * updates: mirror.mojohost.com
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package gnupg2-2.0.22-5.el7_5.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package xz-5.2.2-1.el7.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package yum-3.4.3-168.el7.centos.noarch already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package nscd-2.17-324.el7_9.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package psmisc-22.20-17.el7.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package cracklib-dicts-2.9.0-11.el7.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package rdate-1.4-25.el7.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package crontabs-1.11-6.20121102git.el7.noarch already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Package sysstat-10.1.5-19.el7.x86_64 already installed and latest version
2021-07-05 09:34:17  364 [1682] (DEBUG):     Nothing to do
2021-07-05 09:34:17  364 [1682] (DEBUG):   - ssystem [END]
....
2021-07-05 09:34:22 1162 [1665] ( INFO): The installation process will now set up the necessary empty cpanel directories.
2021-07-05 09:34:22  549 [1665] ( INFO): Downloading GPG public key, cPanelPublicKey.asc
2021-07-05 09:34:22  558 [1665] ( INFO): Importing downloaded GPG public key from “/var/cpanel/.gpgtmpdir/cPanelPublicKey.asc”.
2021-07-05 09:34:22  800 [1665] ( INFO): Ensuring that prelink is disabled...
2021-07-05 09:34:22  809 [1665] ( INFO): Ensuring that conflicting services are not installed...
2021-07-05 09:34:22  819 [1665] ( INFO): Removing conflicting service references from the RPM database (but leaving the services installed)...
2021-07-05 09:34:22  828 [1665] (DEBUG):    Removing httpd-tools...
2021-07-05 09:34:22  829 [1665] (DEBUG):   - ssystem [BEGIN]: rpm -e --justdb --nodeps httpd-tools
2021-07-05 09:34:22  829 [1665] (DEBUG):   - ssystem [END]
2021-07-05 09:34:22  828 [1665] (DEBUG):    Removing httpd...
2021-07-05 09:34:22  829 [1665] (DEBUG):   - ssystem [BEGIN]: rpm -e --justdb --nodeps httpd
2021-07-05 09:34:23  829 [1665] (DEBUG):   - ssystem [END]
2021-07-05 09:34:23  828 [1665] (DEBUG):    Removing httpd-manual...
2021-07-05 09:34:23  829 [1665] (DEBUG):   - ssystem [BEGIN]: rpm -e --justdb --nodeps httpd-manual
2021-07-05 09:34:23  829 [1665] (DEBUG):   - ssystem [END]
2021-07-05 09:34:23  970 [1665] (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS to the TIERS file...
2021-07-05 09:34:23  970 [1665] (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS.asc to the TIERS.asc file...
2021-07-05 09:34:23  679 [1665] ( INFO): Valid signature for TIERS (file:TIERS, sig:TIERS.asc)
2021-07-05 09:34:23  187 [1665] ( INFO): Installing cPanel & WHM major version 96.
2021-07-05 09:34:23 1095 [1665] (DEBUG):   - ssystem [BEGIN]: /usr/bin/rdate -s rdate.cpanel.net
2021-07-05 09:34:24 1095 [1665] (DEBUG):   - ssystem [END]
2021-07-05 09:34:24 1097 [1665] ( INFO): The system set the clock to: Mon Jul  5 09:34:24 2021
2021-07-05 09:34:24 1107 [1665] ( INFO): The system changed the clock by 1 seconds.
2021-07-05 09:34:24  192 [1665] (DEBUG):   - ssystem [BEGIN]: ps -U nscd -h 2>/dev/null || /sbin/service nscd start
2021-07-05 09:34:24  192 [1665] (DEBUG):     Redirecting to /bin/systemctl start nscd.service
2021-07-05 09:34:24  192 [1665] (DEBUG):   - ssystem [END]
2021-07-05 09:34:24  799 [1729] ( INFO): Installing bootstrap cPanel Perl
2021-07-05 09:34:24  808 [1729] (DEBUG):   Retrieving the fix-cpanel-perl file from /cpanelsync/11.96.0.11/cpanel/scripts/fix-cpanel-perl.xz if available...
2021-07-05 09:34:24  970 [1729] (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/11.96.0.11/cpanel/scripts/fix-cpanel-perl.xz to the fix-cpanel-perl.xz file...
2021-07-05 09:34:24 1148 [1665] ( WARN): Call to URL 'http://httpupdate.cpanel.net/pub/CPAN/index.html' failed, attempt [1/3]
2021-07-05 09:34:24 1148 [1729] ( WARN): Call to URL 'http://httpupdate.cpanel.net/cpanelsync/11.96.0.11/cpanel/scripts/fix-cpanel-perl.xz' failed, attempt [1/3]
2021-07-05 09:34:27 1148 [1665] ( WARN): Call to URL 'http://httpupdate.cpanel.net/pub/CPAN/index.html' failed, attempt [2/3]
2021-07-05 09:34:27 1148 [1729] ( WARN): Call to URL 'http://httpupdate.cpanel.net/cpanelsync/11.96.0.11/cpanel/scripts/fix-cpanel-perl.xz' failed, attempt [2/3]
2021-07-05 09:34:30 1148 [1665] ( WARN): Call to URL 'http://httpupdate.cpanel.net/pub/CPAN/index.html' failed, attempt [3/3]
2021-07-05 09:34:30 1149 [1665] (FATAL): Failed to download URL http://httpupdate.cpanel.net/pub/CPAN/index.html:
Removing /root/installer.lock.
2021-07-05 09:34:30 1148 [1729] ( WARN): Call to URL 'http://httpupdate.cpanel.net/cpanelsync/11.96.0.11/cpanel/scripts/fix-cpanel-perl.xz' failed, attempt [3/3]
2021-07-05 09:34:30 1149 [1729] (FATAL): Failed to download URL http://httpupdate.cpanel.net/cpanelsync/11.96.0.11/cpanel/scripts/fix-cpanel-perl.xz:

Odd this is happening in multiple locations. I checked the disk space, and I have plenty available.

Any thoughts as to what's causing this or how to resolve it?

Thanks in advance,
Tony
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,923
912
313
cPanel Access Level
Root Administrator
Hey there! I spoke with some of the team that worked over the weekend and holiday, and there aren't any reports of mirror outages that we are aware of. Are you able to run this command on one of the affected machines?

Code:
wget http://httpupdate.cpanel.net/cpanelsync/11.96.0.11/cpanel/scripts/fix-cpanel-perl.xz
That would just try and manually pull one of the files from the installation mirrors.