Centos 6 fresh install issue

Here is the story.

Fresh install of Centos 6.2 on ESXi 4.1

ran yum update

installed vmware tools

ran the install.sh for virtual min and got this error:

–> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
FATAL - 2012-11-24 09:52:48 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2012-11-24 09:52:48 - Cannot continue installation.
FATAL - 2012-11-24 09:52:48 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2012-11-24 09:52:48 - re-attempted after any problems have been resolved.
FATAL - 2012-11-24 09:52:48 - Removing temporary directory and files.
FATAL - 2012-11-24 09:52:49 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2012-11-24 09:52:49 - in /root/virtualmin-install.log
INFO - 2012-11-24 09:59:33 - Started installation log in /root/virtualmin-install.log
DEBUG - 2012-11-24 09:59:34 - Install mode: full
DEBUG - 2012-11-24 09:59:34 - Product: Virtualmin GPL
DEBUG - 2012-11-24 09:59:34 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2012-11-24 09:59:34 - install.sh version: 1.0.9
INFO - 2012-11-24 09:59:34 - Checking for fully qualified hostname…
INFO - 2012-11-24 09:59:34 - Hostname OK: fully qualified as webserver.joshg678.com
INFO - 2012-11-24 09:59:34 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2012-11-24 09:59:34 - Loading OS selection library…
INFO - 2012-11-24 09:59:34 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2012-11-24 09:59:34 - Loading OS list…
INFO - 2012-11-24 09:59:35 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2012-11-24 09:59:35 - Operating system name: CentOS Linux
INFO - 2012-11-24 09:59:35 - Operating system version: 6
INFO - 2012-11-24 09:59:35 - Configuring package manager for CentOS Linux 6…
INFO - 2012-11-24 09:59:35 - Disabling SELinux during installation…
DEBUG - 2012-11-24 09:59:35 - setenforce 0 succeeded
INFO - 2012-11-24 09:59:35 - Download of http://software.virtualmin.com/gpl/rhel/6/x86_64/virtualmin-release-latest.noarch.rpm Succeeded.
INFO - 2012-11-24 09:59:36 - Succeeded.
INFO - 2012-11-24 09:59:36 - 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 qu
ota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mys
ql 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 pe
rl-Crypt-SSLeay
Loaded plugins: fastestmirror, security


–> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
FATAL - 2012-11-24 09:59:58 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2012-11-24 09:59:58 - Cannot continue installation.
FATAL - 2012-11-24 09:59:58 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2012-11-24 09:59:58 - re-attempted after any problems have been resolved.
FATAL - 2012-11-24 09:59:58 - Removing temporary directory and files.
FATAL - 2012-11-24 09:59:58 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2012-11-24 09:59:58 - in /root/virtualmin-install.log

I can post the the entire log if it helps, but these are the only errors i could find.

Howdy,

It looks like it’s having a problem installing the Virtualmin dependencies. What we can try is to manually install those to see what error comes up.

What errors do you receive if you run this command:

yum install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL qu ota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mys ql 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

This might be obvious, and I realize it’s an old post, but I was banging my head against this, and finally figured out that SELinux was causing the install to fail, and the

INFO - Disabling SELinux during installation...

wasn’t actually disabling SELinux. I tried this:

echo 0 > /selinux/enforce

and it didn’t temporarily turn it off. Once I manually turned of off by changing the /etc/selinux/config and rebooting virtualminGPL installed without issue.

From what I have seen. You shouldnt update the server and let the install script do the updating.