Unable to download Virtualmin repo

Hey guys i need to move my test server to another provider and right now i try to install Vmin but it fails. Here is the log:

INFO - 2015-12-15 04:00:10 - Started installation log in /root/virtualmin-install.log
DEBUG - 2015-12-15 04:00:10 - Install mode: full
DEBUG - 2015-12-15 04:00:10 - Product: Virtualmin GPL
DEBUG - 2015-12-15 04:00:10 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2015-12-15 04:00:11 - install.sh version: 1.1.2
INFO - 2015-12-15 04:00:11 - Checking for fully qualified hostname...
INFO - 2015-12-15 04:00:11 - Hostname OK: fully qualified as jenkins.XXXXXXXX.com
INFO - 2015-12-15 04:00:11 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2015-12-15 04:00:11 - Loading OS selection library...
INFO - 2015-12-15 04:00:12 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2015-12-15 04:00:12 - Loading OS list...
INFO - 2015-12-15 04:00:12 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2015-12-15 04:00:12 - Operating system name:    CentOS Linux
INFO - 2015-12-15 04:00:12 - Operating system version: 7.2.1511
INFO - 2015-12-15 04:00:12 - Configuring package manager for CentOS Linux 7.2.1511...
INFO - 2015-12-15 04:00:13 - Disabling SELinux during installation...
INFO - 2015-12-15 04:00:13 -   setenforce 0 failed: 1
INFO - 2015-12-15 04:00:13 - Download of http://software.virtualmin.com/gpl/rhel/7.2.1511/x86_64/virtualmin-release-latest.noarch.rpm Succeeded.
FATAL - 2015-12-15 04:00:13 - Fatal Error Occurred: Installation of virtualmin-release failed: 30
FATAL - 2015-12-15 04:00:13 - Cannot continue installation.
FATAL - 2015-12-15 04:00:13 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2015-12-15 04:00:13 - re-attempted after any problems have been resolved.
FATAL - 2015-12-15 04:00:13 - Removing temporary directory and files.
FATAL - 2015-12-15 04:00:13 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2015-12-15 04:00:13 - in /root/virtualmin-install.log

Based on the log the file virtualmin.repo was never created. So is this my problem or your?

Status: 
Active

Comments

Diabolico's picture
Submitted by Diabolico on Tue, 12/15/2015 - 06:39

Now i saw in log files are missing some info so here is directly from the installation:

Checking for HTTP client...found /usr/bin/curl -s -O
Checking for perl...found /usr/bin/perl
Loading log4sh logging library...
INFO - Started installation log in /root/virtualmin-install.log
INFO - Checking for fully qualified hostname...
INFO - Hostname OK: fully qualified as jenkins.XXXXXXXXX.com
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library...
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list...
INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - Operating system name:    CentOS Linux
INFO - Operating system version: 7.2.1511
INFO - Configuring package manager for CentOS Linux 7.2.1511...
INFO - Disabling SELinux during installation...
/usr/sbin/setenforce: SELinux is disabled
INFO -   setenforce 0 failed: 1
INFO - Download of http://software.virtualmin.com/gpl/rhel/7.2.1511/x86_64/virtualmin-release-latest.noarch.rpm Succeeded.
error: open of <!DOCTYPE failed: No such file or directory
error: open of HTML failed: No such file or directory
error: open of PUBLIC failed: No such file or directory
error: open of -//IETF//DTD HTML 2.0//EN> failed: No such file or directory
error: open of <html><head> failed: No such file or directory
error: open of <title>404 failed: No such file or directory
error: open of Not failed: No such file or directory
error: open of Found</title> failed: No such file or directory
error: open of </head><body> failed: No such file or directory
error: open of <h1>Not failed: No such file or directory
error: open of Found</h1> failed: No such file or directory
error: open of <p>The failed: No such file or directory
error: open of requested failed: No such file or directory
error: open of URL failed: No such file or directory
error: open of /gpl/rhel/7.2.1511/x86_64/virtualmin-release-latest.noarch.rpm failed: No such file or directory
error: open of was failed: No such file or directory
error: open of not failed: No such file or directory
error: open of found failed: No such file or directory
error: open of on failed: No such file or directory
error: open of this failed: No such file or directory
error: open of server.</p> failed: No such file or directory
error: open of <hr> failed: No such file or directory
error: open of <address>Apache/2.2.15 failed: No such file or directory
error: open of (CentOS) failed: No such file or directory
error: open of Server failed: No such file or directory
error: open of at failed: No such file or directory
error: open of software.virtualmin.com failed: No such file or directory
error: open of Port failed: No such file or directory
error: open of 80</address> failed: No such file or directory
error: open of </body></html> failed: No such file or directory

FATAL - Fatal Error Occurred: Installation of virtualmin-release failed: 30
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
error: package virtualmin-release is not installed
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log

EDIT: Well it looks like its problem on your side. I tried to DL the file from http://software.virtualmin.com/gpl/rhel/7.2.1511/x86_64/virtualmin-relea... but i got 404. Looks like you didnt update your install script because on the server last version is 7.1 and there is no folder for 7.2.

Howdy -- it looks like CentOS pushed out a new dot release.

I added a symlink for that version, so you should be good to go.

Let us know if you see any other issues!

Diabolico's picture
Submitted by Diabolico on Sat, 12/19/2015 - 02:21

Just to let you know it was ok after you made a change. Installed without any problem.