Fix for Cpanel installation error (FATAL): The system could not fetch the TIERS file:

During the installation of CPanel or WHM on CentOs 7, you may encounter an error as shown below,

2017-09-24 13:24:41 1173 ( INFO): The installation process will now import GPG keys for yum.
2017-09-24 13:24:41 1068 (DEBUG):   Retrieving http://httpupdate.cpanel.net/cpanelsync/TIERS to the TIERS file...
2017-09-24 13:24:51 1073 (FATAL): The system could not fetch the TIERS file.
Removing /root/installer.lock.

Reason: This might be because of the name server configuration that the machine is not able to reach the TIERS file.

Fix:

  1. login into the server using root or an user with root privileges and edit the resolv.conf file.
  2. from the command type vi /etc/resolv.conf
  3. add 8.8.8.8 or 4.2.2.2 or 4.2.2.1 (Global DNS) to the config file in addition to the name server you have as shown below ,
    search localdomain example.com
    # Generated by NetworkManager
    nameserver 8.8.8.8
    nameserver 192.168.55.2

     

  4. Save the Configuration file and Exit. Now restart the Cpanel installation by typing sh latestthis will take care of the issue.

    Keywords: Cpanel , WHM , DNS , resolv.conf ,nameserver , TIERS , installation , Configuration, installation error , Network , Command , CentOs 7.

     

Leave a Reply