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 : http://ifile.it/8o7ck4s
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 :-)
direct link to log file : http://up2.upload.pk/uploads/1254543941.txt
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:
Here is it : http://pastebin.com/m60c94059
It was a fresh installation of Ubuntu. And I tried to install it myself
Yeah, that part looks fine.
What is the output of these two commands:
/usr/sbin/groupadd (run the command without any arguments, and see if you get the typical help text)
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.
/usr/sbin/groupadd : http://pastebin.com/mf23347b
dmesg | tail -30 : blank
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?
/var/log/messages : http://pastebin.com/m206986e9
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 "./install.sh -u"), and then attempt a re-install?
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 ?
That sounds like a good step, starting from scratch, as something doesn't sound right.
Installation should be quite straight forward though --
Rebuild the OS
Run the install.sh script to install Virtualmin on the freshly installed server OS
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.
I have 556 MB of dedicated RAM and no burstable RAM . How do I verify that I have swap space setup in Ubuntu ?
You can type "free -m".
It is showing there is no swap space available. Ref. : http://pastebin.com/m3bb4c2a3 . Can I increase my swap space as referred in https://help.ubuntu.com/community/SwapFaq . What amount of swap partition you would recommend ?
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.
MY VPS provider is using OpenVZ . And I have 556 MB of RAM not 512 Mb
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 !!! ) .
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.
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...