Page 1 of 1

[Issue] Can't install VestaCP (CentOS 7)

Posted: Sat Sep 16, 2017 1:16 pm
by ohioiproject
When attempting to install it comes up with the following:

[root@oipnetwork ~]# bash vst-install.sh --nginx yes --apache yes --phpfpm no --named no --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --mysql yes --postgresql no --hostname oipnetwork.ml --email [email protected] --password oipCPadminS1372
--2017-09-16 13:13:12-- 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: 46135 (45K) [text/plain]
Saving to: 'vst-install-rhel.sh'

100%[===================================================================================================================>] 46,135 --.-K/s in 0.02s

2017-09-16 13:13:12 (1.93 MB/s) - 'vst-install-rhel.sh' saved [46135/46135]

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

Vesta Control Panel



Following software will be installed on your system:
- Nginx Web Server
- Apache Web Server (as backend)
- 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/1505567595




Installation will take about 15 minutes ...

Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
epel/x86_64/metalink | 12 kB 00:00:00
epel | 4.3 kB 00:00:00
nginx | 2.9 kB 00:00:00
remi | 2.9 kB 00:00:00
remi-debuginfo | 2.9 kB 00:00:00
remi-php55 | 2.9 kB 00:00:00
remi-php55-debuginfo | 2.9 kB 00:00:00
remi-php56 | 2.9 kB 00:00:00
remi-php56-debuginfo | 2.9 kB 00:00:00
remi-test | 2.9 kB 00:00:00
remi-test-debuginfo | 2.9 kB 00:00:00
updates | 3.4 kB 00:00:00
vesta | 2.9 kB 00:00:00
(1/13): epel/x86_64/group_gz | 170 kB 00:00:00
(2/13): epel/x86_64/updateinfo | 829 kB 00:00:00
(3/13): nginx/x86_64/primary_db | 27 kB 00:00:00
(4/13): remi-php55-debuginfo/x86_64/primary_db | 51 kB 00:00:00
(5/13): epel/x86_64/primary_db | 4.8 MB 00:00:01
(6/13): remi-debuginfo/x86_64/primary_db | 352 kB 00:00:01
(7/13): remi-php55/primary_db | 218 kB 00:00:01
(8/13): remi/primary_db | 1.9 MB 00:00:01
(9/13): vesta/x86_64/primary_db | 43 kB 00:00:00
(10/13): remi-php56-debuginfo/x86_64/primary_db | 51 kB 00:00:00
(11/13): remi-test-debuginfo/x86_64/primary_db | 108 kB 00:00:00
(12/13): remi-php56/primary_db | 225 kB 00:00:01
(13/13): remi-test/primary_db | 586 kB 00:00:01
Loading mirror speeds from cached hostfile
* base: distro.ibiblio.org
* epel: fedora-epel.mirrors.tds.net
* extras: mirror.umd.edu
* remi: repo1.ash.innoscale.net
* remi-php55: repo1.ash.innoscale.net
* remi-php56: repo1.ash.innoscale.net
* remi-test: repo1.ash.innoscale.net
* updates: centos.aol.com
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-5 will be updated
---> Package epel-release.noarch 0:7-10 will be an update
---> Package remi-release.noarch 0:7.0-1.el7.remi will be updated
---> Package remi-release.noarch 0:7.3-2.el7.remi will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Updating:
epel-release noarch 7-10 epel 14 k
remi-release noarch 7.3-2.el7.remi remi 11 k

Transaction Summary
=============================================================================================================================================================
Upgrade 2 Packages

Total download size: 26 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/remi/packages/remi-release-7.3-2.el7.remi.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 00f97f56: NOKEY0 B --:--:-- ETA
Public key for remi-release-7.3-2.el7.remi.noarch.rpm is not installed
(1/2): remi-release-7.3-2.el7.remi.noarch.rpm | 11 kB 00:00:00
warning: /var/cache/yum/x86_64/7/epel/packages/epel-release-7-10.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for epel-release-7-10.noarch.rpm is not installed
(2/2): epel-release-7-10.noarch.rpm | 14 kB 00:00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 54 kB/s | 26 kB 00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <[email protected]>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-5.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Importing GPG key 0x00F97F56:
Userid : "Remi Collet <[email protected]>"
Fingerprint: 1ee0 4cce 88a4 ae4a a29a 5df5 004e 6f47 00f9 7f56
Package : remi-release-7.0-1.el7.remi.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Updating : epel-release-7-10.noarch 1/4
Updating : remi-release-7.3-2.el7.remi.noarch 2/4
warning: /etc/yum.repos.d/remi.repo created as /etc/yum.repos.d/remi.repo.rpmnew
Cleanup : remi-release-7.0-1.el7.remi.noarch 3/4
Cleanup : epel-release-7-5.noarch 4/4
Verifying : epel-release-7-10.noarch 1/4
Verifying : remi-release-7.3-2.el7.remi.noarch 2/4
Verifying : epel-release-7-5.noarch 3/4
Verifying : remi-release-7.0-1.el7.remi.noarch 4/4

Updated:
epel-release.noarch 0:7-10 remi-release.noarch 0:7.3-2.el7.remi

Complete!
Retrieving http://c.vestacp.com/rhel/7/epel-release.rpm
Preparing... ################################# [100%]
Updating / installing...
1:epel-release-7-5 ################################# [ 50%]
Cleaning up / removing...
2:epel-release-7-10 ################################# [100%]
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.3-2.el7.remi ################################# [100%]
--2017-09-16 13:13:37-- 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

2017-09-16 13:13:37 (180 MB/s) - '/etc/pki/rpm-gpg/RPM-GPG-KEY-VESTA' saved [1686/1686]

Loaded plugins: fastestmirror
C7.0.1406-base | 3.6 kB 00:00:00
C7.0.1406-updates | 2.9 kB 00:00:00
C7.1.1503-base | 3.6 kB 00:00:00
C7.1.1503-updates | 3.4 kB 00:00:00
C7.2.1511-base | 3.6 kB 00:00:00
C7.2.1511-updates | 3.4 kB 00:00:00
http://vault.centos.org/7.3.1611/os/x86 ... repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/



One of the configured repositories failed (CentOS-7.3.1611 - 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.3.1611-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.3.1611-base
or
subscription-manager repos --disable=C7.3.1611-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.3.1611-base.skip_if_unavailable=true

failure: repodata/repomd.xml from C7.3.1611-base: [Errno 256] No more mirrors to try.
http://vault.centos.org/7.3.1611/os/x86 ... repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Error: yum install failed

Please help

Re: [Issue] Can't install VestaCP (CentOS 7)

Posted: Sat Sep 16, 2017 2:27 pm
by highrulez

Re: [Issue] Can't install VestaCP (CentOS 7)

Posted: Sun Sep 17, 2017 12:23 pm
by raiden
yum install yum-utils
yum-config-manager --save --setopt=C7.3.1611-base.skip_if_unavailable=true
yum-config-manager --save --setopt=C7.3.1611-updates.skip_if_unavailable=true