Installation Issuse,

5 posts / 0 new
Last post
#1 Wed, 01/23/2008 - 14:58
TrippleEx

Installation Issuse,

Debian-40-etch-64-LAMP:/tmp# /bin/sh install.sh Welcome to the Virtualmin GPL installer, version EA4.2 WARNING: This is an Early Adopter release. 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 and Early Adopter FAQs 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 Professional, or to upgrade a Virtualmin GPL system that was installed manually via .wbm packages. If you have previously installed Virtualmin via this script or the GPL version of this script, upgrades and updates should be handled within Virtualmin only. The systems currently supported by our install.sh are: CentOS 5 on i386 and x86_64 Debian 4.0 on i386 and amd64 If your OS is not listed above, this script will fail and attempting to run it on an unsupported OS is not recommended, or supported. The recommended operating systems for Virtualmin Professional, and more details about them, can be found here: http://www.virtualmin.com/os-support.html Continue? (y/n) Y Checking for curl or wget...found /usr/bin/wget -nv Checking for perl...found /usr/bin/perl 01:55:00 URL:http://software.virtualmin.com/lib/spinner [182/182] -> "spinner" [1] Loading log4sh logging library... 01:55:01 URL:http://software.virtualmin.com/lib/log4sh [21395/21395] -> "log4sh" [1] INFO - Started installation log in virtualmin-install.log INFO - Checking for fully qualified hostname... INFO - Hostname OK: fully qualified as kocubaba.com INFO - Installing serial number and license key into /etc/virtualmin-license INFO - Loading OS selection library... 01:55:02 URL:http://software.virtualmin.com/lib/oschooser.pl [4448/4448] -> "oschooser.pl" [1] INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded. INFO - Loading OS list... 01:55:02 URL:http://software.virtualmin.com/lib/os_list.txt [3473/3473] -> "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: 4.0 INFO - Installing virtualmin-release package for Debian Linux 4.0... INFO - Enabling universe repositories, if not already available... Get:1 http://security.debian.org etch/updates Release.gpg [189B] Hit http://security.debian.org etch/updates Release Get:2 http://ftp.freenet.de etch Release.gpg [378B] Ign http://security.debian.org etch/updates/main Packages/DiffIndex Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex Hit http://ftp.freenet.de etch Release Ign http://security.debian.org etch/updates/non-free Packages/DiffIndex Ign http://security.debian.org etch/updates/main Sources/DiffIndex Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex Ign http://security.debian.org etch/updates/non-free Sources/DiffIndex Hit http://security.debian.org etch/updates/main Packages Hit http://security.debian.org etch/updates/contrib Packages Hit http://security.debian.org etch/updates/non-free Packages Hit http://security.debian.org etch/updates/main Sources Hit http://security.debian.org etch/updates/contrib Sources Hit http://security.debian.org etch/updates/non-free Sources Ign http://ftp.freenet.de etch/main Packages/DiffIndex Ign http://ftp.freenet.de etch/non-free Packages/DiffIndex Ign http://ftp.freenet.de etch/contrib Packages/DiffIndex Ign http://ftp.freenet.de etch/main Sources/DiffIndex Ign http://ftp.freenet.de etch/non-free Sources/DiffIndex Ign http://ftp.freenet.de etch/contrib Sources/DiffIndex Hit http://ftp.freenet.de etch/main Packages Hit http://ftp.freenet.de etch/non-free Packages Hit http://ftp.freenet.de etch/contrib Packages Hit http://ftp.freenet.de etch/main Sources Hit http://ftp.freenet.de etch/non-free Sources Hit http://ftp.freenet.de etch/contrib Sources Fetched 2B in 0s (11B/s) Reading package lists... Done INFO - Cleaning up apt headers and packages, so we can start fresh... INFO - 01:55:04 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 - Disabling any CD-based apt repositories so the process can run without assistance INFO - Installing Webmin and Virtualmin package signing keys... 01:55:05 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. 01:55:05 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-tls postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl INFO - ...in progress, please wait... -dpkg: error processing /var/cache/apt/archives/usermin_1.320_all.deb (--unpack): subprocess pre-installation script returned error exit status 2 dpkg: error processing /var/cache/apt/archives/webmin_1.380_all.deb (--unpack): subprocess pre-installation script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/usermin_1.320_all.deb /var/cache/apt/archives/webmin_1.380_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ...in progress, please wait... failed. Error (if any): 0 Displaying the last 15 lines of the install.log to help troubleshoot this problem: libxml-simple-perl is already the newest version. libcrypt-ssleay-perl is already the newest version. The following NEW packages will be installed: usermin webmin 0 upgraded, 2 newly installed, 0 to remove and 45 not upgraded. Need to get 18.4MB of archives. After unpacking 108MB of additional disk space will be used. Get:1 http://software.virtualmin.com virtualmin-etch/main usermin 1.320 [5386kB] Get:2 http://software.virtualmin.com virtualmin-etch/main webmin 1.380 [13.0MB] Fetched 18.4MB in 31s (591kB/s) (Reading database ... 25978 files and directories currently installed.) Unpacking usermin (from .../archives/usermin_1.320_all.deb) ... Port 20000 is already in use Unpacking webmin (from .../archives/webmin_1.380_all.deb) ... Port 10000 is already in use FATAL - Fatal Error Occurred: Something went wrong during installation: 1 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. Debian-40-etch-64-LAMP:/tmp#

??????<br><br>Post edited by: TrippleEx, at: 2008/01/23 15:00

Wed, 01/23/2008 - 21:38
Joe
Joe's picture

You've already got Webmin and Usermin installed from some other source (i.e., not the Webmin.com deb packages), perhaps? If so, get rid of them, or at least shut them down.

--

Check out the forum guidelines!

Wed, 01/23/2008 - 22:52
TrippleEx

Hi,

Yes the Webmin and Usermin allready installed on the Server, but i want only add Virtualmin to webmin, how can i do it?
(Sorry for my Bad English)

Best Regards

Wed, 01/23/2008 - 23:35 (Reply to #3)
Joe
Joe's picture

The install.sh script assumes a fresh OS install. If you have an existing system, you'll have to perform a manual installation of all of the various modules and configure things. If it's a fresh OS install, plus Webmin and Usermin (i.e., you haven't actually setup any virtual servers or anything in Apache or Postfix), you should just stop Webmin and Usermin and run the install script again.

Manual installation isn't really covered very well by the documentation at the moment...I'm hoping to add some more details soon.

--

Check out the forum guidelines!

Fri, 01/25/2008 - 09:48
TrippleEx

Hey Joe thanks for your fast reaply,

i do install to my Server a blank minimal Debian 4 Image (32 Bit), and than i install the Virtualmin install Script an get this Message:

<div class='quote'>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
INFO - ...in progress, please wait... |Failed to fetch http://debian.hetzner.de/packages/pool/main/libn/libnet-daemon-perl/libn... Error reading from server - read (104 Connection reset by peer)
Failed to fetch http://debian.hetzner.de/packages/pool/main/libg/libgd2/libgd2-xpm_2.0.3... Error reading from server - read (104 Connection reset by peer)
Failed to fetch http://debian.hetzner.de/packages/pool/main/libh/libhtml-tree-perl/libht... Error reading from server - read (104 Connection reset by peer)
Failed to fetch http://debian.hetzner.de/security/pool/updates/main/p/postgresql-7.4/pos... Error reading from server - read (104 Connection reset by peer)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ...in progress, please wait... failed. Error (if any): 0

Displaying the last 15 lines of the install.log to help troubleshoot this problem:
Get:121 http://debian.hetzner.de etch/main proftpd-doc 1.3.0-19 [493kB]
Get:122 http://debian.hetzner.de etch/main quota 3.14-7 [466kB]
Get:123 http://debian.hetzner.de etch/main rdoc1.8 1.8.5-4etch1 [310kB]
Get:124 http://debian.hetzner.de etch/main rdoc 1.8.2-1 [3856B]
Get:125 http://debian.hetzner.de etch/main ri1.8 1.8.5-4etch1 [1245kB]
Get:126 http://debian.hetzner.de etch/main ri 1.8.2-1 [3766B]
Get:127 http://debian.hetzner.de etch/main sasl2-bin 2.1.22.dfsg1-8 [124kB]
Get:128 http://debian.hetzner.de etch/updates/main scponly 4.6-1etch1 [33.4kB]
Get:129 http://debian.hetzner.de etch/main spamassassin 3.1.7-2 [974kB]
Get:130 http://debian.hetzner.de etch/main spamc 3.1.7-2 [75.2kB]
Get:131 http://debian.hetzner.de etch/main subversion 1.4.2dfsg1-2 [1027kB]
Get:132 http://debian.hetzner.de etch/main pflogsumm 1.1.0-3 [51.3kB]
Get:133 http://debian.hetzner.de etch/updates/main libcurl3 7.15.5-1etch1 [168kB]
Get:134 http://debian.hetzner.de etch/updates/main libapache-mod-php4 6:4.4.4-8+etch4 [1596kB]
Fetched 110MB in 23s (4665kB/s)

FATAL - Fatal Error Occurred: Installation failed: 1
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.
Debian-40-etch-32-minimal:/tmp#
</div>

Whts the Problem now ?

Topic locked