Installation of Virtualmin on RedHat 6.2 freshly installed

Hi,

I have a freshly installed RedHat 6.2 server.

uname –a
Linux XXXXXXXXX 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)

I tried to install Virtualmin, as usuel for other servers I did :

./install.sh

But no success:

[…]
Running updatedb so locate works…this will take a little while.
Attempting to import various system RPM-GPG-KEY files…Errors may occur,
if you’ve already imported them. It is safe to ignore these errors.
INFO - Succeeded.
INFO - Installing dependencies using command: /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel mariadb mariadb-server postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay mlocate
…in progress, please wait… /Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
Requires: libssl.so.10(libssl.so.10)(64bit)
Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
Error: Package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit) /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel mariadb mariadb-server postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay mlocate failed. Error (if any): 0

Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
—> Package perl-Crypt-OpenSSL-Random.x86_64 0:0.04-9.1.el6 will be installed
—> Package perl-Digest-SHA1.x86_64 0:2.12-2.el6 will be installed
—> Package perl-TimeDate.noarch 1:1.16-11.1.el6 will be installed
–> Running transaction check
—> Package httpd-tools.x86_64 1:2.2.15-31.el6.centos.vm will be an update
–> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64
–> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64
—> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed
—> Package mod_ssl.x86_64 2:2.2.15-31.el6.centos.vm will be an update
–> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
–> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
–> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
–> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

FATAL - Fatal Error Occurred: Something went wrong during installation: 0
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.
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

Is there any idea why?

It’s a new VPS server…

I removed httpd-tools

yum remove httpd-tools

That removes httpd and mod_ssl.

And run again the command to install Virtualmin : same result.

I tried to install manually the packages first :

yum -y -d 2 install bind bind-utils


yum -y -d 2 install caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables


yum -y -d 2 install python mailman subversion mysql mysql-server mysql-devel mariadb mariadb-server postgresql postgresql-server rh-postgresql rh-postgresql-server


yum -y -d 2 install logrotate webalizer php php-xml php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python


yum -y -d 2 install cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi


yum -y -d 2 install ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay mlocate


yum -y -d 2 install openssl


yum -y -d 2 install mod_ssl

Then run the ./install.sh : same result.

It seems there is a conflict with :mod_ssl between the official repo and Virtualmin repo?

cat /etc/yum.repos.d/redhat.repo

Certificate-Based Repositories

Managed by (rhsm) subscription-manager

cat /etc/yum.repos.d/rhel-source.repo name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/SRPMS/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release yum clean all Loaded plugins: product-id, rhnplugin, security, subscription-manager Updating certificate-based repositories. Cleaning repos: rhel-x86_64-server-6.2.z Cleaning up Everything

No success.

If somebody has an idea, it will be welcome! It’s a new VPS freshly installed.

Howdy,

Normally, what you’re seeing there is a simple install… we often see things like that when packages from a third party repository are installed, but we can do a little testing to try and track down what’s going on.

What is the output of this command:

rpm -qa | grep openssl

Also, is this installation on a VPS, or a dedicated server?

-Eric

[root@FRPARMACIFRIA ~]# rpm -qa | grep openssl

openssl-devel-1.0.0-20.el6_2.5.x86_64
openssl-1.0.0-20.el6_2.5.x86_64

Hi there,

is there any solution to install virtualmin on RedHat 6.2?
Tx

Are you not able to update your system to the latest packages from Red Hat? I’m pretty sure openssl-1.0-20 is exploitable by the heartbleed bug, and you’ll likely also have the bash bug, among dozens of other security bugs.

The problem here is that our packages (httpd and mod_ssl) are built against the current version of openssl, and other libraries, as provided by CentOS (and thus RHEL). The current RHEL 6 release is 6.6; and I think you would need to update to that in order to have a secure server, anyway.

It’d be possible to use older versions of our packages (built against those old versions of openssl), but that would be a security disaster, and I definitely don’t recommended it.

If you’re running an old version of RHEL because you don’t have a subscription to RHEL updates and don’t want to pay for them, you’d be much better off switching to CentOS. You could at least run up to date versions of everything (and Virtualmin would almost certainly install without error).