Installation error but webmin installed

6 posts / 0 new
Last post
#1 Sat, 01/30/2010 - 01:37
innerspaceprodu...

Installation error but webmin installed

I have a new dedicated server which came with a very restrictive control panel so am trying to get web/virtualmin up and running.

My first attempt worked ok but was unable to connect to mysql so I set about uninstalling all related packages and trying again. In the process I discovered I was inside a chroot jail and broke out of this.

Unfortunately using a fresh OS install is not a preferred option since I will be charged for this and cant (as far as I am aware) do this remotely without losing my SSH access required to reconfigure things.

So with apache, mysql, clamav, dovecote, php, postresql, proftpd, spamassassin, bind, procmail and postfix and anything that looked non-standard/essential removed I ran the install script.

Then I hit an error

Unpacking virtualmin-base (from.../virtualmin-base_1.0-20_all.deb) ... Errors were encountered while processing: Unpacking virtualmin-base (from.../virtualmin-base_1.0-20_all.deb) ... Errors were encountered while processing: /var/cache/apt/archives/webalizer_2.01.10-32.1_amd64.deb FATAL -2010-01-30 06:47:07 - Fatal Error Occurred: Installation failed: 0 FATAL -2010-01-30 06:47:07 - Cannot continue installation. FATAL -2010-01-30 06:47:07 - Attempting to remove virtualmin reprository configuration, so the installation can be FATAL -2010-01-30 06:47:07 - re-attempted after any problems have been resolved. FATAL -2010-01-30 06:47:07 - Removing temporary directory and files

Looking at the system webmin seems to have been installed and is indeed working. webmin webmin-security-updates webmin-virtual-server webmin-virtual-server-theme webmin-virtualmin-dav webmin-virtualmin-htpasswd webmin-virtualmin-mailman webmin-virtualmin-svn

However virtualmin is not working.

What would be the best next step to get virtualmin working?

Remove everything, fix thecause of the previous prob and reinstall from script? Or just try and fix the prob and install the components manually?

Does anyone know the likely cause of the error listed above?

Cheer.

Sat, 01/30/2010 - 03:33
Dim Git

Um, I can't help you much but I know there will be two questions asked and you might save some time by answering those sooner rather than later. Then, the next person who comes along might have the answers.

What is you OS ?

and

Did you used install.sh ?

Sat, 01/30/2010 - 04:45
innerspaceprodu...

Had both of those in my mind while writing but forgot to mention them.

OS is Ubuntu 8.04 LTS and yes I used the install.sh script.

Sat, 01/30/2010 - 09:39
andreychek

Hrm, I'm going to take a shot in the dark here, but are you by chance using a VPS with a small amount of RAM and perhaps no swap? :-)

There's been some folks lately running into the strangest of issues, and some of it was coming down to the idea that there just wasn't enough RAM available to do what they were hoping to do.

If you log into your server and type "free", what do you see?

Also, what's the output of "mount" and "df -h"?

Thanks,

-Eric

Sat, 01/30/2010 - 11:29
innerspaceprodu...

No this is a dedicated server with 1 Gb of Ram which virtualmin was previously showing as 50% free.

free total used free shared buffers cached Mem: 1027280 815460 211820 0 158528 484072 -/+ buffers/cache: 172860 854420 Swap: 3004112 0 3004112

mount /dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) /sys on /sys type sysfs (rw,noexec,nosuid,nodev) varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755) varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777) udev on /dev type tmpfs (rw,mode=0755) devshm on /dev/shm type tmpfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) proc on /usr/fs/proc type proc (rw) sysfs on /usr/fs/sys type sysfs (rw) devpts on /usr/fs/dev/pts type devpts (rw,mode=0620,gid=5) securityfs on /sys/kernel/security type securityfs (rw)

df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 145G 2.5G 136G 2% / varrun 502M 64K 502M 1% /var/run varlock 502M 0 502M 0% /var/lock udev 502M 28K 502M 1% /dev devshm 502M 0 502M 0% /dev/shm

Sat, 01/30/2010 - 23:53
innerspaceprodu...

I decided to bite the bullet and spend another hour or so typing "sudo apt-get --purge remove...." and it seems to have paid off.

Virtualmin is installed, now just to try and get it configured properly and fully functional!

Topic locked