Page 1 of 1

Installation Failure on CentOS 7.x [named stops]

Posted: Wed Feb 21, 2018 2:46 pm
by aepcnepal
I am trying to install VESTACP on my freshly installed CentOS 7 dedicated server. Everytime an installation beings, "named service stops" and I get error showing

"Could not resolve host: vault.centos.org; Unknown error"

When I check logs;

$ tail -n100 /var/log/messages

I get following
Feb 21 14:56:41 91 named[12459]: error (connection refused) resolving 'mirror.omnilance.com/A/IN': 31.24.227.12#53
Feb 21 14:56:48 91 yum[12532]: Updated: remi-release-7.4-1.el7.remi.noarch
Feb 21 14:56:52 91 systemd: Stopping Berkeley Internet Name Domain (DNS)...
Feb 21 14:56:52 91 named[12459]: received control channel command 'stop'
Feb 21 14:56:52 91 named[12459]: shutting down: flushing changes
Feb 21 14:56:52 91 named[12459]: stopping command channel on 127.0.0.1#953
Feb 21 14:56:52 91 named[12459]: no longer listening on 127.0.0.1#53
Feb 21 14:56:52 91 named[12459]: exiting
Feb 21 14:56:52 91 systemd: Stopped Berkeley Internet Name Domain (DNS).


I had successfully installed VESTACP on my another VPS by following same steps. But on this dedicated server It always fails.

Code: Select all

bash vst-install.sh --nginx yes --phpfpm yes --apache no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous no --mysql yes --postgresql no --hostname server.quicktalkies.com --email [email protected] --password TIEOEr

--2018-02-21 15:38:30--  http://vestacp.com/pub/vst-install-rhel.sh
Resolving vestacp.com (vestacp.com)... 104.236.66.100
Connecting to vestacp.com (vestacp.com)|104.236.66.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48116 (47K) [text/plain]
Saving to: âvst-install-rhel.shâ

100%[======================================>] 48,116       228KB/s   in 0.2s

2018-02-21 15:38:30 (228 KB/s) - âvst-install-rhel.shâ saved [48116/48116]

 _|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|
 _|      _|  _|        _|            _|      _|    _|
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_|
   _|  _|    _|              _|      _|      _|    _|
     _|      _|_|_|_|  _|_|_|        _|      _|    _|

                                  Vesta Control Panel



Following software will be installed on your system:
   - Nginx Web Server
   - PHP-FPM Application Server
   - Bind DNS Server
   - Exim mail server + Antivirus Antispam
   - Dovecot POP3/IMAP Server
   - MariaDB Database Server
   - Vsftpd FTP Server
   - Iptables Firewall + Fail2Ban


Would you like to continue [y/n]: y
Installation backup directory: /root/vst_install_backups/1519223914




Installation will take about 15 minutes ...

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.zetup.net
 * epel: www.nic.funet.fi
 * extras: mirror.zetup.net
 * remi: mirror.awanti.com
 * remi-php55: mirror.awanti.com
 * remi-php56: mirror.awanti.com
 * remi-safe: mirror.awanti.com
 * remi-test: mirror.awanti.com
 * updates: mirror.zetup.net
No packages marked for update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.zetup.net
 * epel: epel.mirror.far.fi
 * extras: mirror.zetup.net
 * remi: mirror.awanti.com
 * remi-php55: mirror.awanti.com
 * remi-php56: mirror.awanti.com
 * remi-safe: mirror.awanti.com
 * remi-test: mirror.awanti.com
 * updates: mirror.zetup.net
Package epel-release-7-11.noarch already installed and latest version
Nothing to do
Retrieving http://c.vestacp.com/rhel/7/remi-release.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:remi-release-7.0-1.el7.remi      warning: /etc/yum.repos.d/remi.repo created as /etc/yum.repos.d/remi.repo.rpmnew
################################# [ 50%]
Cleaning up / removing...
   2:remi-release-7.4-1.el7.remi      ################################# [100%]
--2018-02-21 15:38:46--  http://c.vestacp.com/rhel/7/GPG.txt
Resolving c.vestacp.com (c.vestacp.com)... 104.236.66.100
Connecting to c.vestacp.com (c.vestacp.com)|104.236.66.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1686 (1.6K) [text/plain]
Saving to: â/etc/pki/rpm-gpg/RPM-GPG-KEY-VESTAâ

100%[======================================>] 1,686       --.-K/s   in 0s

2018-02-21 15:38:46 (148 MB/s) - â/etc/pki/rpm-gpg/RPM-GPG-KEY-VESTAâ saved [1686/1686]

Loaded plugins: fastestmirror
http://vault.centos.org/7.0.1406/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: vault.centos.org; Unknown error"
Trying other mirror.


 One of the configured repositories failed (CentOS-7.0.1406 - Base),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=C7.0.1406-base ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable C7.0.1406-base
        or
            subscription-manager repos --disable=C7.0.1406-base

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=C7.0.1406-base.skip_if_unavailable=true

failure: repodata/repomd.xml from C7.0.1406-base: [Errno 256] No more mirrors to try.
http://vault.centos.org/7.0.1406/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: vault.centos.org; Unknown error"
Error: yum install failed



Re: Installation Failure on CentOS 7.x [named stops]

Posted: Tue Feb 27, 2018 8:32 am
by tjebbeke
Check your DNS settings. Check if the nameserver in/etc/resolv.conf is correct.