virtualmin-base fails install on Debian Etch

4 posts / 0 new
Last post
#1 Tue, 07/15/2008 - 12:39
Kevin Dean

virtualmin-base fails install on Debian Etch

Long time listener, first time caller...

I'm running a Debian Etch (AMD64) host server with the vserver patch, running Debian Etch (also AMD64) inside a guest context.

Inside that context, I'm attempting to run the Virtualmin automated installation script. In the process, the virtualmin-base package fails to install. The following is the error portion (until this point, everything else installs properly):

INFO - 2008-07-15 13:28:06 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-tls postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcryp$ INFO - 2008-07-15 13:28:06 - Succeeded. INFO - 2008-07-15 13:28:06 - Installing Virtualmin and all related packages now using the command: INFO - 2008-07-15 13:28:07 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base Reading package lists... Building dependency tree... The following NEW packages will be installed: virtualmin-base 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 11.0kB of archives. After unpacking 39.9kB of additional disk space will be used. Get:1 http://software.virtualmin.com virtualmin-etch/main virtualmin-base 1.0-19 [11.0kB] Fetched 11.0kB in 0s (88.5kB/s) Selecting previously deselected package virtualmin-base. (Reading database ... 55391 files and directories currently installed.) Unpacking virtualmin-base (from .../virtualmin-base_1.0-19_all.deb) ... Setting up virtualmin-base (1.0-19) ... Setting Webmin theme FATAL - 2008-07-15 13:28:34 - Fatal Error Occurred: Installation failed: 0 FATAL - 2008-07-15 13:28:34 - Cannot continue installation. FATAL - 2008-07-15 13:28:34 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2008-07-15 13:28:34 - re-attempted after any problems have been resolved. FATAL - 2008-07-15 13:28:34 - Removing temporary directory and files. FATAL - 2008-07-15 13:28:34 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2008-07-15 13:28:34 - in /root/virtualmin-install.log

Attempting to manually install virtualmin-base I get the following (not very descriptive, but hey...):

newserver:~# apt-get install virtualmin-base Reading package lists... Done Building dependency tree... Done virtualmin-base is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up virtualmin-base (1.0-19) ... Setting Webmin theme Error: Failed to restart Webmin server! Error ----- Failed to restart Webmin server! ----- dpkg: error processing virtualmin-base (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: virtualmin-base E: Sub-process /usr/bin/dpkg returned an error code (1)

Additionally:

newserver:~# /etc/init.d/webmin restart Stopping Webmin server in /usr/share/webmin Starting Webmin server in /usr/share/webmin newserver:~#

Indicates to me that Webmin is indeed starting and stopping. I've also checked the init script, which called /etc/webmin/{start,stop,restart} which also does it's respective thing.

Attempting to add the Debian source repo gave me an MD5mismatch and the source package wasn't located, so I was unable to see/edit exactly how that postinit is checking for the running process.

Yesterday the automated script worked just fine, today it failed. Have there been any changes that would have broken this since yesterday or is there something I'm overlooking?

Any help would be appreciated in getting this running. :)

Tue, 07/15/2008 - 17:44
sgrayban

ps aux |grep miniserv

Post the output here.

Wed, 07/16/2008 - 07:48
Kevin Dean

<div class='quote'>root 10554 0.0 0.1 34344 8368 ? Ss 08:59 0:00 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf
root 10558 0.0 0.1 35780 8732 ? Ss 08:59 0:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 10608 0.0 0.0 3940 724 pts/1 S+ 08:59 0:00 grep miniserv
</div>

This is after a fresh restart of the guest context.

Issuing /etc/init.d/webmin stop and the output is:

<div class='quote'>root 10554 0.0 0.1 34344 8372 ? Ss 08:59 0:00 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf
root 10623 0.0 0.0 3936 720 pts/1 S+ 09:00 0:00 grep miniserv</div>

It appears to me that webmin is indeed stopping on command...

Wed, 07/16/2008 - 14:46 (Reply to #3)
sgrayban

First lets fix that bad install above with &quot;apt-get -f install&quot;

Topic locked