Virtualmin will not install

20 posts / 0 new
Last post
#1 Sun, 05/29/2011 - 03:19
Comatose

Virtualmin will not install

Howdy, :)

So, I've been trying to install virtualmin all day, but I'm still a noob (that's probably not going to change for awhile)

This is a part of my log:

The following packages have unmet dependencies:
apache2 : Depends: apache2-mpm-worker (= 2.2.16-6) but it is not going to be installed or
                    apache2-mpm-prefork (= 2.2.16-6) but 2.2.16-6+squeeze1 is to be installed or
                    apache2-mpm-event (= 2.2.16-6) but it is not going to be installed or
                    apache2-mpm-itk (= 2.2.16-6) but it is not going to be installed
           Depends: apache2.2-common (= 2.2.16-6) but 2.2.16-6+squeeze1 is to be installed
FATAL - 2011-05-29 16:09:40 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2011-05-29 16:09:40 - Cannot continue installation.
FATAL - 2011-05-29 16:09:40 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2011-05-29 16:09:40 - re-attempted after any problems have been resolved.
FATAL - 2011-05-29 16:09:40 - Removing temporary directory and files.
FATAL - 2011-05-29 16:09:40 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2011-05-29 16:09:40 - in /root/virtualmin-install.log

Any help would be appreciated, even suggestions :)

Information you might need to know?: Running Debian 6.0 64-bit Installed a fresh copy then tried, still same problem 512mb Ram.. 501mb free anything else?

Thanks in advance, Scott

Sun, 05/29/2011 - 08:23
andreychek

Howdy,

Hmm, it looks like Apache is hung up on which of those dependencies to use, but for some reason isn't installing them.

Try running this command on your server as root:

apt-get install apache2 apache2-mpm-prefork

After that, then try performing your Virtualmin installation again.

-Eric

Mon, 06/06/2011 - 08:59 (Reply to #2)
rpereyra

Try running this command on your server as root:

apt-get install apache2 apache2-mpm-prefork

After that, then try performing your Virtualmin installation again.

Hi

I have the same issue (Debian 6 x86) and when run:

apt-get install apache2 apache2-mpm-prefork

have the same error message:

root@server11:~# apt-get install apache2 apache2-mpm-prefork Reading package lists... Done Building dependency tree Reading state information... Done apache2-mpm-prefork is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: apache2 : Depends: apache2-mpm-worker (= 2.2.16-6) but it is not going to be installed or apache2-mpm-prefork (= 2.2.16-6) but 2.2.16-6+squeeze1 is to be installed or apache2-mpm-event (= 2.2.16-6) but it is not going to be installed or apache2-mpm-itk (= 2.2.16-6) but it is not going to be installed Depends: apache2.2-common (= 2.2.16-6) but 2.2.16-6+squeeze1 is to be installed E: Broken packages root@server11:~#

roberto

Mon, 06/06/2011 - 09:39
andreychek

What output do you see if you run this command:

dpkg -l 'apache*'

Mon, 06/06/2011 - 09:43
rpereyra

Hi

root@server11:~# dpkg -l 'apache*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=========================-=========================-================================================================== un apache (no description available) un apache-common (no description available) un apache-utils (no description available) un apache2 (no description available) un apache2-common (no description available) ii apache2-doc 2.2.16-6+squeeze1 Apache HTTP Server documentation un apache2-mpm (no description available) un apache2-mpm-event (no description available) un apache2-mpm-itk (no description available) ii apache2-mpm-prefork 2.2.16-6+squeeze1 Apache HTTP Server - traditional non-threaded model un apache2-mpm-worker (no description available) un apache2-suexec (no description available) un apache2-suexec-custom (no description available) ii apache2-utils 2.2.16-6+squeeze1 utility programs for webservers ii apache2.2-bin 2.2.16-6+squeeze1 Apache HTTP Server common binary files ii apache2.2-common 2.2.16-6+squeeze1 Apache HTTP Server common files root@server11:~#

roberto

Mon, 06/06/2011 - 09:48
rpereyra

This is my output more redable:

http://pastebin.com/bpRVgy19

roberto

Mon, 06/06/2011 - 10:02
andreychek

Hmm, it doesn't seem like the "apache2" package is installed.

What output do you get when typing this:

apt-get install apache2

Mon, 06/06/2011 - 10:07
rpereyra

I have similar output:

http://pastebin.com/tM1LTCnk

It's a fresh officia Debian 6 openvz template.

roberto

Mon, 06/06/2011 - 12:42
andreychek

Something odd is going on, I'm not sure why it's not attempting to pull those files in automatically.

Let's try one more tweak to that command line before we start looking elsewhere... what if you run this command:

apt-get install apache2 apache2-mpm-prefork apache2.2-common

Mon, 06/06/2011 - 16:15
rpereyra

Hi !

The error continues:

http://pastebin.com/4X0p3maH

I'm using this template:

http://download.openvz.org/template/precreated/debian-6.0-x86.tar.gz

if someone want to test.

roberto

Mon, 06/06/2011 - 20:32
andreychek

Well, for whatever reason, your system seems to be objecting to installing the 'apache2' package.

If you're dealing with a fresh installation -- you might try removing apache2-mpm-prefork and apache2.2-common:

apt-get remove apache2-mpm-prefork apache2.2-common

Then installing it all again:

apt-get install apache2 apache2-mpm-prefork apache2.2-common

Tue, 06/07/2011 - 05:26 (Reply to #11)
rpereyra

Done ! but does not solve the issue.

http://pastebin.com/mcMYK1HE

Thank for your help.

roberto

Tue, 06/07/2011 - 06:54
Locutus

I've never seen any such problems on a fresh Ubuntu install. Are you using an "official" version of Debian, and the official/correct repositories? Did you install anything before executing the Virtualmin installer? Is your server by chance an OpenVZ container or something comparable?

Tue, 06/07/2011 - 07:31
rpereyra

Hi

Are you using an "official" version of Debian, and the official/correct repositories?

I'm using the openvz official template from http://download.openvz.org/template/precreated/debian-6.0-x86.tar.gz

Did you install anything before executing the Virtualmin installer?

No

Is your server by chance an OpenVZ container or something comparable?

yes, It's a openvz container. I'm also the node manager. The node and vps are mine.

I have installed virtualmin many times in debian 5 and centos 5 and I manage several virtualmin servers, is not my first attempt.

If the installation does not work I can install it on ubuntu, but I would like to help fix this bug in debian, if it exists.

regards

roberto

Tue, 06/07/2011 - 08:04
Locutus

There have been many reports about problems on OpenVZ in the past, so it is a safe assumption that it might be involved here somehow too. Often memory restrictions / usage of "burst memory" (where applications can get killed without warning) have been the cause.

My suggestion would be checking the corresponding OpenVZ parameters, or trying out your Debian 6 installation process on a more reliable virtualization platform, like VMWare, for comparison and fault localization (to see if it an issue related to OpenVZ, Debian 6, or the combination).

Tue, 06/07/2011 - 08:18
rpereyra

thanks for your help, I need the server online today, I going to install ubuntu and see what happen. Also I'll check the openvz setup

roberto

Tue, 06/07/2011 - 08:49
Locutus

Virtualmin installs perfectly on Ubuntu 10.04, done that many times. On VMWare though, but I suppose if you increase the "guaranteed memory" a bit, it should work on OpenVZ too.

Tue, 06/07/2011 - 09:17
andreychek

Try adding "apache2.2-bin" to the list of packages you're installing... the command line would look like this:

apt-get install apache2 apache2-mpm-prefork apache2.2-common apache2.2-bin

Tue, 06/07/2011 - 09:28 (Reply to #18)
andreychek

Actually, I didn't read the error message very well... I don't think the above will work :-)

If you do end up trying to get that Debian image to work, I'd love to see what your /etc/apt/sources.list looks like.

And perhaps run this command again:

dpkg -l 'apache*'

Tue, 06/07/2011 - 10:14
rpereyra

I have just installed successfully ubuntu 10.4 in a vps with the same configuration than debian.

Seems is not a openvz issue.

With debian again:

This is the "dpkg -l 'apache*'" command before run the installer script (with a clean server)

http://pastebin.com/HPyJpjAs

When I run the installer I have the same issue again.

My source.list file after run the failed installer script:

root@server11:~# cat /etc/apt/sources.list

deb http://ftp.debian.org/debian squeeze main contrib non-free

deb http://ftp.debian.org/debian-security squeeze/updates main contrib non-free

Excuse my english.

roberto