Erro in install

14 posts / 0 new
Last post
#1 Sun, 02/26/2012 - 15:48
dossantos

Erro in install

I am trying to install using '/bin/sh install.sh' from http://www.virtualmin.com/download.html but receiving error messages

My version of linux

more /etc/issue

CentOS release 5 (Final) Kernel \r on an \m

Log file:

INFO - 2012-02-26 13:25:12 - Started installation log in /root/virtualmin-install.log DEBUG - 2012-02-26 13:25:12 - Install mode: full DEBUG - 2012-02-26 13:25:12 - Product: Virtualmin GPL DEBUG - 2012-02-26 13:25:12 - Virtualmin Meta-Package list: virtualmin-base DEBUG - 2012-02-26 13:25:12 - install.sh version: 1.0.6 INFO - 2012-02-26 13:25:12 - Checking for fully qualified hostname... INFO - 2012-02-26 13:25:12 - Hostname OK: fully qualified as vps.tohosting.info INFO - 2012-02-26 13:25:12 - Installing serial number and license key into /etc/virtualmin-license INFO - 2012-02-26 13:25:12 - Loading OS selection library... INFO - 2012-02-26 13:25:13 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - 2012-02-26 13:25:13 - Loading OS list... INFO - 2012-02-26 13:25:13 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded. INFO - 2012-02-26 13:25:13 - Operating system name: CentOS Linux INFO - 2012-02-26 13:25:13 - Operating system version: 5 INFO - 2012-02-26 13:25:13 - Configuring package manager for CentOS Linux 5... INFO - 2012-02-26 13:25:13 - Disabling SELinux during installation... INFO - 2012-02-26 13:25:13 - setenforce 0 failed: 1 INFO - 2012-02-26 13:25:14 - Download of http://software.virtualmin.com/gpl/rhel/5/i386/virtualmin-release-latest... Succeeded. INFO - 2012-02-26 13:25:15 - Succeeded. INFO - 2012-02-26 13:25:15 - Installing dependencies using command: /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl 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 Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files FATAL - 2012-02-26 13:25:19 - Fatal Error Occurred: Something went wrong during installation: 0 FATAL - 2012-02-26 13:25:19 - Cannot continue installation. FATAL - 2012-02-26 13:25:19 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2012-02-26 13:25:19 - re-attempted after any problems have been resolved. FATAL - 2012-02-26 13:25:19 - Removing temporary directory and files. FATAL - 2012-02-26 13:25:19 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2012-02-26 13:25:19 - in /root/virtualmin-install.log ~

Sun, 02/26/2012 - 16:39
andreychek

Howdy,

What happens if you try running that yum command in the logs manually:

/usr/bin/yum install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl 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

Sun, 02/26/2012 - 18:09 (Reply to #2)
dossantos

I executed yum command manually and install ok.

After I try ./install.sh and the error continue... :(

new log:

INFO - 2012-02-26 15:24:16 - Started installation log in /root/virtualmin-install.log DEBUG - 2012-02-26 15:24:16 - Install mode: full DEBUG - 2012-02-26 15:24:16 - Product: Virtualmin GPL DEBUG - 2012-02-26 15:24:16 - Virtualmin Meta-Package list: virtualmin-base DEBUG - 2012-02-26 15:24:16 - install.sh version: 1.0.6 INFO - 2012-02-26 15:24:17 - Checking for fully qualified hostname... INFO - 2012-02-26 15:24:17 - Hostname OK: fully qualified as vps.tohosting.info INFO - 2012-02-26 15:24:17 - Installing serial number and license key into /etc/virtualmin-license INFO - 2012-02-26 15:24:17 - Loading OS selection library... INFO - 2012-02-26 15:24:17 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - 2012-02-26 15:24:17 - Loading OS list... INFO - 2012-02-26 15:24:17 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded. INFO - 2012-02-26 15:24:17 - Operating system name: CentOS Linux INFO - 2012-02-26 15:24:17 - Operating system version: 5 INFO - 2012-02-26 15:24:17 - Configuring package manager for CentOS Linux 5... INFO - 2012-02-26 15:24:18 - Download of http://software.virtualmin.com/gpl/rhel/5/i386/virtualmin-release-latest... Succeeded. INFO - 2012-02-26 15:24:19 - Succeeded. INFO - 2012-02-26 15:24:19 - Installing dependencies using command: /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl 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 Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files FATAL - 2012-02-26 15:24:22 - Fatal Error Occurred: Something went wrong during installation: 0 FATAL - 2012-02-26 15:24:22 - Cannot continue installation. FATAL - 2012-02-26 15:24:22 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2012-02-26 15:24:22 - re-attempted after any problems have been resolved. FATAL - 2012-02-26 15:24:22 - Removing temporary directory and files. FATAL - 2012-02-26 15:24:22 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2012-02-26 15:24:22 - in /root/virtualmin-install.log

INFO - 2012-02-26 15:52:38 - Started installation log in /root/virtualmin-install.log DEBUG - 2012-02-26 15:52:38 - Install mode: full DEBUG - 2012-02-26 15:52:38 - Product: Virtualmin GPL DEBUG - 2012-02-26 15:52:38 - Virtualmin Meta-Package list: virtualmin-base DEBUG - 2012-02-26 15:52:38 - install.sh version: 1.0.6 INFO - 2012-02-26 15:52:38 - Checking for fully qualified hostname... INFO - 2012-02-26 15:52:38 - Hostname OK: fully qualified as vps.tohosting.info INFO - 2012-02-26 15:52:38 - Installing serial number and license key into /etc/virtualmin-license INFO - 2012-02-26 15:52:38 - Loading OS selection library... INFO - 2012-02-26 15:52:38 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - 2012-02-26 15:52:38 - Loading OS list... INFO - 2012-02-26 15:52:38 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded. INFO - 2012-02-26 15:52:38 - Operating system name: CentOS Linux INFO - 2012-02-26 15:52:38 - Operating system version: 5 INFO - 2012-02-26 15:52:39 - Configuring package manager for CentOS Linux 5... INFO - 2012-02-26 15:52:39 - Download of http://software.virtualmin.com/gpl/rhel/5/i386/virtualmin-release-latest... Succeeded. INFO - 2012-02-26 15:52:40 - Succeeded. INFO - 2012-02-26 15:52:40 - Installing dependencies using command: /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl 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 Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files FATAL - 2012-02-26 15:52:43 - Fatal Error Occurred: Something went wrong during installation: 0 FATAL - 2012-02-26 15:52:43 - Cannot continue installation. FATAL - 2012-02-26 15:52:43 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2012-02-26 15:52:43 - re-attempted after any problems have been resolved. FATAL - 2012-02-26 15:52:43 - Removing temporary directory and files. FATAL - 2012-02-26 15:52:44 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2012-02-26 15:52:44 - in /root/virtualmin-install.log

Sun, 02/26/2012 - 18:26
andreychek

Howdy,

Something is failing when that yum command runs from within the install.sh script... though I'm not seeing what exactly.

What is the output of these two commands:

  1. mount

  2. free -m

Sun, 02/26/2012 - 18:54 (Reply to #4)
dossantos
mount

/dev/simfs on / type simfs (rw,relatime,usrquota,grpquota) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) none on /dev/pts type devpts (rw,relatime) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)

free -m
         total       used       free     shared    buffers     cached

Mem: 1536 29 1506 0 0 0 -/+ buffers/cache: 29 1506 Swap: 0 0 0

Mon, 02/27/2012 - 08:47
andreychek

Howdy,

Okay, so you do have a decent amount of RAM there... it also looks like you're running an OpenVZ-based VPS, which we've sometimes seen some trouble with.

Can you paste in the contents of your /proc/user_beancounters file?

Thanks!

-Eric

Mon, 02/27/2012 - 09:03
dossantos

Version: 2.5
uid resource held maxheld barrier limit failcnt
2240: kmemsize 3184961 4532734 2147483646 2147483646 0
lockedpages 0 0 999999 999999 0
privvmpages 7595 62494 393216 393216 0
shmpages 1325 2733 196608 196608 0
dummy 0 0 0 0 0
numproc 24 39 999999 999999 0
physpages 3400 28423 0 2147483647 0
vmguarpages 0 0 196608 2147483647 0
oomguarpages 3400 28423 196608 2147483647 0
numtcpsock 6 374 7999992 7999992 0
numflock 3 9 999999 999999 0
numpty 2 2 500000 500000 0
numsiginfo 0 9 999999 999999 0
tcpsndbuf 56000 2546880 161060864 343087104 0
tcprcvbuf 98304 20308864 161060864 343087104 0
othersockbuf 6720 78400 161060864 343087104 0
dgramrcvbuf 0 51456 161060864 343087104 0
numothersock 10 48 7999992 7999992 0
dcachesize 138592 412368 2147483646 2147483646 0
numfile 1178 1630 23999976 23999976 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 24 24 999999 999999 0

Mon, 02/27/2012 - 16:51
dossantos

Contents of /proc/user_beancounters file:

Version: 2.5 uid resource held maxheld barrier limit failcnt 2240: kmemsize 3238651 4532734 2147483646 2147483646 0 lockedpages 0 0 999999 999999 0 privvmpages 7639 62494 393216 393216 0 shmpages 1325 2733 196608 196608 0 dummy 0 0 0 0 0 numproc 24 39 999999 999999 0 physpages 3417 28423 0 2147483647 0 vmguarpages 0 0 196608 2147483647 0 oomguarpages 3417 28423 196608 2147483647 0 numtcpsock 6 374 7999992 7999992 0 numflock 3 9 999999 999999 0 numpty 2 2 500000 500000 0 numsiginfo 0 9 999999 999999 0 tcpsndbuf 64960 2546880 161060864 343087104 0 tcprcvbuf 98304 20308864 161060864 343087104 0 othersockbuf 6720 78400 161060864 343087104 0 dgramrcvbuf 0 51456 161060864 343087104 0 numothersock 10 48 7999992 7999992 0 dcachesize 138592 412368 2147483646 2147483646 0 numfile 1182 1630 23999976 23999976 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 24 24 999999 999999 0

Mon, 02/27/2012 - 16:52
dossantos

Contents of /proc/user_beancounters file

Version: 2.5 uid resource held maxheld barrier limit failcnt 2240: kmemsize 3238651 4532734 2147483646 2147483646 0 lockedpages 0 0 999999 999999 0 privvmpages 7639 62494 393216 393216 0 shmpages 1325 2733 196608 196608 0 dummy 0 0 0 0 0 numproc 24 39 999999 999999 0 physpages 3417 28423 0 2147483647 0 vmguarpages 0 0 196608 2147483647 0 oomguarpages 3417 28423 196608 2147483647 0 numtcpsock 6 374 7999992 7999992 0 numflock 3 9 999999 999999 0 numpty 2 2 500000 500000 0 numsiginfo 0 9 999999 999999 0 tcpsndbuf 64960 2546880 161060864 343087104 0 tcprcvbuf 98304 20308864 161060864 343087104 0 othersockbuf 6720 78400 161060864 343087104 0 dgramrcvbuf 0 51456 161060864 343087104 0 numothersock 10 48 7999992 7999992 0 dcachesize 138592 412368 2147483646 2147483646 0 numfile 1182 1630 23999976 23999976 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 24 24 999999 999999 0

Tue, 02/28/2012 - 09:41
dossantos

can help me?!

Tue, 02/28/2012 - 10:41
andreychek

I'm really not sure what's wrong, the problems you're having seem specific to the system you have there... however, you may want to try this command one more time from the command line, to make sure that there isn't any sort of error that's output:

/usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl 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

Tue, 02/28/2012 - 11:47
dossantos

/usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl 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

Loading "installonlyn" plugin Setting up Install Process Setting up repositories base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.9 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 2.1 kB 00:00
Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Nothing to do

Tue, 02/28/2012 - 11:48
dossantos

after this comand... I try ./install.sh but continue the erro...

Can I send you my informations of my vps to you see the problem and try to help me!?

Tue, 02/28/2012 - 17:41
dossantos

The vps of scalahosting scalahosting.com not good for virtualmin!! Dont buy vps at scalahosting.com

Topic locked