I’ve searched the forums in vain for any help in regards to the following…I’m a total nOOb, so please forgive my ignorance!
Tried this several times on a clean install of Debian 5 x64 and get the following error(s):
host1:~# sh install.sh
Welcome to the Virtualmin GPL installer, version 1.0.3
WARNING:
The installation is quite stable and functional when run on a freshly
installed supported Operating System, but upgrades from existing .wbm-
based systems, or systems that already have Apache VirtualHost
directives or mail users, will very likely run into numerous problems.
Please read the Virtualmin Administrators Guide before proceeding if
your system is not a freshly installed and supported OS.
This script is not intended to update your system! It should only be
used to install Virtualmin, on a supported OS. If you have previously
installed Virtualmin via this script or the GPL version of this script,
upgrades and updates should be handled within Virtualmin itself. Once
Virtualmin is installed, you never need to run this script again.
The systems currently supported by install.sh are:
CentOS 4 and 5 on i386 and x86_64
Debian 4.0 and 5.0 on i386 and amd64
Ubuntu 8.04 LTS on i386 and amd64
If your OS is not listed above, this script will fail. More details
about the systems supported by the script can be found here:
http://www.virtualmin.com/os-support.html
Continue? (y/n) y
Checking for HTTP client…found /usr/bin/wget -nv
Checking for perl…found /usr/bin/perl
2010-04-05 23:12:29 URL:http://software.virtualmin.com/lib/spinner [579/579] -> “spinner” [1]
Loading log4sh logging library…
2010-04-05 23:12:42 URL:http://software.virtualmin.com/lib/log4sh [21395/21395] -> “log4sh” [1]
INFO - Started installation log in /root/virtualmin-install.log
INFO - Checking for fully qualified hostname…
INFO - Hostname OK: fully qualified as host1.hometowncauses.org
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library…
2010-04-05 23:12:50 URL:http://software.virtualmin.com/lib/oschooser.pl [4461/4461] -> “oschooser.pl” [1]
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list…
2010-04-05 23:12:51 URL:http://software.virtualmin.com/lib/os_list.txt [3047/3047] -> “os_list.txt” [1]
INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - Operating system name: Debian Linux
INFO - Operating system version: 5.0
INFO - Configuring package manager for Debian Linux 5.0…
INFO - Enabling universe repositories, if not already available…
INFO - Disabling cdrom repositories…
Get:1 http://ftp.de.debian.org lenny Release.gpg [1033B]
Get:2 http://ftp.de.debian.org lenny/volatile Release.gpg [481B]
Get:3 http://ftp.de.debian.org lenny/updates Release.gpg [835B]
Get:4 http://ftp.de.debian.org lenny Release [73.8kB]
Get:5 http://ftp.de.debian.org lenny/volatile Release [40.7kB]
Get:6 http://ftp.de.debian.org lenny/updates Release [40.8kB]
Get:7 http://ftp.de.debian.org lenny/main Packages [5153kB]
Get:8 http://ftp.de.debian.org lenny/contrib Packages [71.9kB]
Get:9 http://ftp.de.debian.org lenny/non-free Packages [88.1kB]
Get:10 http://ftp.de.debian.org lenny/volatile/main Packages [5480B]
Get:11 http://ftp.de.debian.org lenny/volatile/contrib Packages [14B]
Get:12 http://ftp.de.debian.org lenny/volatile/non-free Packages [14B]
Get:13 http://ftp.de.debian.org lenny/updates/main Packages [297kB]
Get:14 http://ftp.de.debian.org lenny/updates/contrib Packages [14B]
Get:15 http://ftp.de.debian.org lenny/updates/non-free Packages [14B]
Fetched 5773kB in 20s (278kB/s)
Reading package lists… Done
INFO - Cleaning up apt headers and packages, so we can start fresh…
INFO -
2010-04-05 23:13:19 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> “apt.conf.noninteractive” [1]
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Installing Webmin and Virtualmin package signing keys…
2010-04-05 23:13:20 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> “RPM-GPG-KEY-virtualmin” [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
2010-04-05 23:14:01 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> “RPM-GPG-KEY-webmin” [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
INFO - Get:1
INFO - Removing Debian standard Webmin package, if they exist (because they’re broken)…
INFO - Removing Debian apache packages…
INFO - Installing dependencies using command: /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
…in progress, please wait… INFO - /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: Succeeded.
INFO - Succeeded.
INFO - Installing Virtualmin and all related packages now using the command:
INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
Extracting templates from packages: 100% \E: Sub-process /usr/bin/dpkg returned an error code (1) /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base failed. Error (if any): 0
Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
ALLOWING TRAFFIC ON TCP PORT: FTP-DATA
ALLOWING TRAFFIC ON TCP PORT: POP3
ALLOWING TRAFFIC ON TCP PORT: POP3S
ALLOWING TRAFFIC ON TCP PORT: IMAP
ALLOWING TRAFFIC ON TCP PORT: IMAPS
ALLOWING TRAFFIC ON TCP PORT: HTTP
ALLOWING TRAFFIC ON TCP PORT: HTTPS
ALLOWING TRAFFIC ON TCP PORT: 10000
ALLOWING TRAFFIC ON TCP PORT: 20000
ALLOWING TRAFFIC ON UDP PORT: DOMAIN
RE-CHECKING SUPPORTED WEBMIN MODULES
DPKG: ERROR PROCESSING VIRTUALMIN-BASE (–CONFIGURE):
SUBPROCESS POST-INSTALLATION SCRIPT RETURNED ERROR EXIT STATUS 255
ERRORS WERE ENCOUNTERED WHILE PROCESSING:
VIRTUALMIN-BASE
FATAL - Fatal Error Occurred: Installation failed: 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
Then, reading the post at http://www.virtualmin.com/node/9768, I tried adding the suggested sources to my sources.list file and then ran:
apt-get update
apt-get install virtualmin-base
and got the following error(s):
host1:~# apt-get install virtualmin-base
Reading package lists… Done
Building dependency tree
Reading state information… Done
virtualmin-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up virtualmin-base (1.0-25) …
Setting Webmin theme
Setting Usermin theme
Configuring Postfix
Enabling Postfix and disabling Sendmail
Configuring Dovecot for POP3 and IMAP
Error occurred while configuring or enabling Dovecot: Undefined subroutine &mount::list_mounted called at /usr/share/webmin/mount/mount-lib.pl line 279.
Enabling ProFTPd
Enabling SMTP Authentication
Configuring Virtualmin
Configuring Procmail
Configuring Webalizer
Updating /etc/shells
Enabling MySQL and PostgreSQL
Enabling Apache
Configuring and enabling BIND
Enabling status monitoring
Error occurred while enabling status monitoring: An error was detected in the new Cron configuration :
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /etc/webmin/status/monitor.plat …/web-lib-funcs.pl line 1323.
Enabling quotas on filesystem for /home
Error occurred while enabling quotas on filesystem for /home: Undefined subroutine &mount::list_mounted called at /usr/share/webmin/mount/mount-lib.pl line 279.
Re-checking supported Webmin modules
dpkg: error processing virtualmin-base (–configure):
subprocess post-installation script returned error exit status 255
Errors were encountered while processing:
virtualmin-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
It’s all very strange, because on the very first attempt, I did get errors, but was able to get into Webmin, albeit without any theme, and was able to get that straightened out, only to choke on the mail settings (I think because of memory issues). I upped my memory allocation with my VPS host, but since have not had even partial success in installing Virtualmin.
Thank you for your help!