Problem to install virtualmin

6 posts / 0 new
Last post
#1 Fri, 01/07/2011 - 04:07
Nikolin

Problem to install virtualmin

Running newaliases Stopping Postfix Mail Transport Agent: postfix. Starting Postfix Mail Transport Agent: postfix. Setting up postfix-pcre (2.5.5-1.1) ... Adding pcre map entry to /etc/postfix/dynamicmaps.cf INFO - 2011-01-07 09:37:00 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev postfix-tls: Succeeded. INFO - 2011-01-07 09:37:00 - Succeeded. INFO - 2011-01-07 09:37:00 - Installing Virtualmin and all related packages now using the command: INFO - 2011-01-07 09:37:00 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base Reading package lists... Building dependency tree... Reading state information... FATAL - 2011-01-07 09:37:01 - Fatal Error Occurred: Installation failed: 0 FATAL - 2011-01-07 09:37:01 - Cannot continue installation. FATAL - 2011-01-07 09:37:01 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2011-01-07 09:37:01 - re-attempted after any problems have been resolved. FATAL - 2011-01-07 09:37:01 - Removing temporary directory and files. FATAL - 2011-01-07 09:37:01 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2011-01-07 09:37:01 - in /root/virtualmin-install.log

I am trying to istall virtualmin in Debian 5.0 but i can not. Can you help to me to solve this problem?

Fri, 01/07/2011 - 07:07
andreychek

Hmm... I'm not actually seeing any errors in that output.

Could you attach your /root/virtualmin-install.log file? That would contain a bit more info that should help us figure out what's going on.

Thanks!

-Eric

Sat, 01/08/2011 - 19:46
ilowiak

I have problem when I try to install virtualmin on my vps :

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 ebook.localhost
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: 5
INFO - Configuring package manager for CentOS Linux 5...
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/5/i386/virtualmin-release-latest.noarch.rpm Succeeded.
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 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
...in progress, please wait...                                                 \Error: vpopmail conflicts with postfix
Error: qmail conflicts with postfix                                            /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 failed.  Error (if any): 0
 
Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
--> Running transaction check
---> Package dovecot.i386 0:1.0.7-7.el5 set to be updated
---> Package postfix.i386 2:2.3.3-2.1.centos.mysql_pgsql set to be updated
--> Processing Conflict: vpopmail conflicts postfix
--> Processing Conflict: qmail conflicts postfix
--> Finished Dependency Resolution
vpopmail-5.4.17-1.6.4.i386 from installed has depsolving problems
  --> vpopmail conflicts with postfix
qmail-1.03-1.5.15.i386 from installed has depsolving problems
  --> qmail conflicts with postfix
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
 
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
[root@ebook tmp]# Checking for HTTP client...found /usr/bin/curl -s -O
Checking for perl...found /usr/bin/perl
Loading log4sh logging library...
-bash: Checking: command not found
[root@ebook tmp]# Checking for perl...found /usr/bin/perl
INFO - Started installation log in /root/virtualmin-install.log
-bash: Checking: command not found
[root@ebook tmp]# Loading log4sh logging library...
-bash: Loading: command not found
[root@ebook tmp]# INFO - Started installation log in /root/virtualmin-install.log
-bash: INFO: command not found
[root@ebook tmp]# INFO - Checking for fully qualified hostname...
-bash: INFO: command not found
[root@ebook tmp]# INFO - Hostname OK: fully qualified as ebook.localhost
-bash: INFO: command not found
INFO - Installing serial number and license key into /etc/virtualmin-license
[root@ebook tmp]# INFO - Installing serial number and license key into /etc/virtualmin-license
-bash: INFO: command not found
[root@ebook tmp]# INFO - Loading OS selection library...
-bash: INFO: command not found
[root@ebook tmp]# INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
-bash: INFO: command not found
[root@ebook tmp]# INFO - Loading OS list...
-bash: INFO: command not found
[root@ebook tmp]# INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
-bash: INFO: command not found
[root@ebook tmp]# INFO - Operating system name:    CentOS Linux
-bash: INFO: command not found
[root@ebook tmp]# INFO - Operating system version: 5
-bash: INFO: command not found
[root@ebook tmp]# INFO - Configuring package manager for CentOS Linux 5...
-bash: INFO: command not found
[root@ebook tmp]# INFO - Disabling SELinux during installation...
-bash: INFO: command not found
[root@ebook tmp]# /usr/sbin/setenforce: SELinux is disabled
-bash: /usr/sbin/setenforce:: No such file or directory
[root@ebook tmp]# INFO -   setenforce 0 failed: 1
-bash: INFO: command not found
[root@ebook tmp]# INFO - Download of http://software.virtualmin.com/gpl/rhel/5/i386/virtualmin-release-latest.noarch.rpm Succeeded.
-bash: INFO: command not found
[root@ebook tmp]# Running updatedb so locate works...this will take a little while.
-bash: Running: command not found
[root@ebook tmp]# Attempting to import various system RPM-GPG-KEY files...Errors may occur,
-bash: Attempting: command not found
[root@ebook tmp]# 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 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
> ...in progress, please wait...                                                 \Error: vpopmail conflicts with postfix
> Error: qmail conflicts with postfix                                            /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 failed.  Error (if any): 0
>
> Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
> --> Running transaction check
> ---> Package dovecot.i386 0:1.0.7-7.el5 set to be updated
> ---> Package postfix.i386 2:2.3.3-2.1.centos.mysql_pgsql set to be updated
> --> Processing Conflict: vpopmail conflicts postfix
> --> Processing Conflict: qmail conflicts postfix
> --> Finished Dependency Resolution
> vpopmail-5.4.17-1.6.4.i386 from installed has depsolving problems
>   --> vpopmail conflicts with postfix
> qmail-1.03-1.5.15.i386 from installed has depsolving problems
>   --> qmail conflicts with postfix
>  You could try using --skip-broken to work around the problem
>  You could try running: package-cleanup --problems
>                         package-cleanup --dupes
>                         rpm -Va --nofiles --nodigest
> The program package-cleanup is found in the yum-utils package.
>
> 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

Today I checked lot of options (installing LAMP, ISP Config etc.) and I think my server is not "clean" . What is the simpliest way to back to orginal settings my server ?

Sat, 01/08/2011 - 21:51
andreychek

What is the simpliest way to back to orginal settings my server ?

Yeah, it looks like you're seeing some package conflicts based on some new packages that are installed. It's also possible some other things are awry...

So what's the simplest way to get back to the original server settings? That would be to format and reinstall the OS :-)

There's no way to "undo" all the changes made (unless there was a backup, but it'd be a lot easier to just reinstall than it would be to restore a backup).

The install.sh can best get things setup for you when run in a clean install of your OS. That would be your best option. As an alternative -- you could always try manually removing the qmail and vpopmail packages. I'm not sure that'll solve all the problems, but you could always give it a try if you're reluctant to reinstall :-)

-Eric

Sun, 01/09/2011 - 05:51
ilowiak

Manually removing qmail and vpopmail did not hep :( Still are conflicts with vpopmail :/ Then how reinstall CentOS 5.X on my vps ?

As you can guess I begin the adventure with linux and vps/dedicated server stuff...

My virtual disc looks so :

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             7.2G  3.0G  3.9G  43% /
/dev/sda3             7.2G  3.0G  3.9G  43% /tmp
/dev/sda1              99M   23M   72M  24% /boot
tmpfs                 125M     0  125M   0% /dev/shm
Sun, 01/09/2011 - 08:11
andreychek

That's odd that there would be a conflict with vpopmail if it's removed... there may have been a problem with removing it, it's possible that didn't work correctly.

However, with a VPS -- how did you get CentOS installed in the first place? Typically, that's something your provider helps with. Some of them provide a control panel that you can use to reinstall your OS.

But it would be either your provider, or a tool provided by your provider (such as a control panel), that you'd use in order to reinstall CentOS.

-Eric

Topic locked