Installation script failed

20 posts / 0 new
Last post
#1 Fri, 10/02/2009 - 05:49

Installation script failed

When I am trying to install Virtualmin GPL on a fresh Ubuntu 8.04 LTS it is failing showing the error as given in the log file. Please help !

Log file :

Fri, 10/02/2009 - 07:30

Well, I don't particularly want to sign up for an account there to download the logfile -- however, take a look at the end of the file... what are the last few lines?

Do you see any errors, and/or signs or what went wrong? Feel free to paste those in here and we'll see what's going wrong :-)


Fri, 10/02/2009 - 07:55
Fri, 10/02/2009 - 08:18

That's pretty odd! It looks like some libraries on your system are missing.

Is this a fresh install of Ubuntu? Did you do the install, or had your provider done it?

It looks like some dependencies for the "groupadd" command aren't there.

What do you see when you type this command:

ldd /usr/sbin/groupadd

Fri, 10/02/2009 - 08:25

Here is it :

It was a fresh installation of Ubuntu. And I tried to install it myself

Fri, 10/02/2009 - 08:31

Yeah, that part looks fine.

What is the output of these two commands:

  1. /usr/sbin/groupadd (run the command without any arguments, and see if you get the typical help text)

  2. dmesg | tail -30

The first one is to see if groupadd is working normally now, the second is to show if there are any issues going on that the Linux kernel is complaining about.


Fri, 10/02/2009 - 09:08

/usr/sbin/groupadd :

dmesg | tail -30 : blank

Fri, 10/02/2009 - 09:20

Hrm, I'm struggling with what to offer... your system doesn't seem to be acting normally.

First, it shows a number of required libraries as missing when running the groupadd command, and dmesg isn't producing any output... that's all very unusual :-)

Do you see any errors/warnings in /var/log/kern.log and perhaps /var/log/messages?


Fri, 10/02/2009 - 11:25

/var/log/kern.log: blank

/var/log/messages :

Fri, 10/02/2009 - 11:29

Yeah, I don't see anything wrong in the logs -- but the fact that there's nothing in the kern.log is odd in itself.

What happens if you uninstall virtualmin (running "./ -u"), and then attempt a re-install?


Fri, 10/02/2009 - 22:04 (Reply to #10)

Nah ! It doesn't seem to work for me. Sent the VPS for reformatting. Though the steps to install Virtualmin GPL is clearly documented in Documentation can you please repeat it specifically for Ubuntu 8.04 LTS. ? What are the basic checklists after getting my hand on a new Ubuntu 8.04 LTS VPS that I should check to ensure that everything is fine in that OS before running the script ?

Fri, 10/02/2009 - 22:11 (Reply to #11)

That sounds like a good step, starting from scratch, as something doesn't sound right.

Installation should be quite straight forward though --

  1. Rebuild the OS

  2. Run the script to install Virtualmin on the freshly installed server OS

  3. It should now be ready to go!

You do want to make sure that you have plenty of RAM. Not having enough RAM allocated is a issue that's frequently caused trouble.

You'll also want to verify that you have swap space setup, especially if you have less than 1 GB of RAM.


Fri, 10/02/2009 - 22:30 (Reply to #12)

I have 556 MB of dedicated RAM and no burstable RAM . How do I verify that I have swap space setup in Ubuntu ?

Fri, 10/02/2009 - 22:36 (Reply to #13)

You can type "free -m".


Sun, 10/04/2009 - 07:50 (Reply to #14)

It is showing there is no swap space available. Ref. : . Can I increase my swap space as referred in . What amount of swap partition you would recommend ?

Sun, 10/04/2009 - 09:34 (Reply to #15)

Mmm, indeed there isn't!

Yeah, purely having 512MB of RAM with no swap could certainly cause some troubles (whether that's the problem you're having is hard to say though).

Do you know what kind of VPS software your company is using? Some examples are Xen, OpenVZ, Virtuozzo, amongst others.

With only 512MB of RAM, you'd really want a GB of swap or so, but OpenVZ/Virtuozzo based VPS's require you to go through your provider to get additional RAM/swap.


Sun, 10/04/2009 - 09:38 (Reply to #16)

MY VPS provider is using OpenVZ . And I have 556 MB of RAM not 512 Mb

Mon, 10/05/2009 - 05:24

I again had formatted my VPS and tried to install it with utmost care .. but still it failed , even on a class A supported OS like Ubuntu 8.04 LTS. And faced the same problem and the installation failed. I am calling off my Virtualmin misadventure and its now EOH ( End of Hope !!! ) .

Mon, 10/05/2009 - 09:09

I don't think you're doing anything wrong, my suspicion is with your VPS, and quite possible the RAM.

You might consider setting up a test system at home, whether using some old hardware you have laying around, or maybe even using a product like VMware, and give it a shot there to see if it does what you want.

However, I suspect if you try a VPS with more RAM, or perhaps a different provider altogether that allow for the setup of swap space, that you'd have much more luck.


Mon, 10/05/2009 - 09:11

It looks like you filed a bug report here:

Let's see if Jamie has any thoughts regarding that, I'm curious if he has any further ideas...

Topic locked