Unable to install on new VPS instance

Here is a brand new install on Ubuntu 10.04 LTS running on a VPS.

1 - Set hostname

2 - Set hosts

3 - did hostname -F /etc/hostname

4 - did hostname -f

everything looks fine

5 - Added one line to vi /etc/apt/sources.list

deb http://download.webmin.com/download/repository sarge contrib

6 - did apt-get update

7 - began to install virtualmin:

$ cd /tmp
$ wget http://software.virtualmin.com/gpl/scripts/install.sh
$ chmod u+x install.sh
$ /tmp/install.sh

8 - CRASH! It stops. but I now have WEBMIN installed, no Virtualmin!

What can I do now?

this is what I have:
deb http://archive.ubuntu.com/ubuntu lucid main
deb http://security.ubuntu.com/ubuntu lucid-security main universe

deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe main
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
deb http://download.webmin.com/download/repository sarge contrib

and this for 12.04 which started as a desktop and now also as a server:
mind the last 2 lines

deb http://nl.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://nl.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://nl.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://nl.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://nl.archive.ubuntu.com/ubuntu/ precise universe
deb http://nl.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://nl.archive.ubuntu.com/ubuntu/ precise-updates universe
deb http://nl.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://nl.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

deb http://software.virtualmin.com/gpl/ubuntu/ virtualmin-precise main
deb http://software.virtualmin.com/gpl/ubuntu/ virtualmin-universal main

Thank you.

I updated sources.list and did apt-get update but then this happened:

GPG error: http://software.virtualmin.com virtualmin-precise Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY E8DD3FA0A0BDBCF9

I tried apt-key adv --recv-keys --keyserver keyserver.ubuntu.com E8DD3FA0A0BDBCF9

and got another error

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com E8DD3FA0A0BDBCF9
gpg: requesting key A0BDBCF9 from hkp server keyserver.ubuntu.com
gpgkeys: key E8DD3FA0A0BDBCF9 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

Out of curiosity, what VPS is it that you’re using?

You’re experiencing some strange issues there – the install.sh typically works just fine on a fresh and supported OS – so I’m struggling to figure out what your experiencing there.

One thought that comes to mind is that we’ve seen some really strange issues occur on OpenVZ based VPSs, and I was wondering if that’s what you had there.

If so, is there any chance you could paste in your /proc/user_beancounters file? Thanks!

-Eric

Ah… here’s what I thinking –

I can’t reproduce the problems you’re seeing, Virtualmin normally installs just fine on Ubuntu LTS releases. And if they didn’t, the forums here would be littered with folks saying that the installer didn’t work.

OTOH, what I do see is that with your OpenVZ setup, there are both network and RAM failures that are occurring.

That is, attempts to access the network, as well as allocate RAM to processes, have been forcefully stopped by the OpenVZ container.

Since the installer seems to be working in other environments, my suspicion is that the issue is with your container limits.

You could always talk to your provider about increasing your limits, that might help.

Alternatively, we don’t tend to see these sorts of issues on VPS’s not based on OpenVZ – you might consider a different VPS type :slight_smile:

-Eric

Again, the dumb thing is that I have Virtualmin running perfectly right now on two other VPS instances from the same company. I assume they have de-tuned things for new accounts.

If someone could recommend to me a very stable VPS provider which provides a daily backup, I am more than willing to move, ASAP. Our company has had a contract with the current providers for five years and I can break it until tonight.

I can’t speak to why things work on your existing VPS’s.

All I can offer is what I see with this one particular VPS – it’s showing a failure count of “18” for memory – meaning 18 processes requests RAM, but were denied it. Those processes most likely crashed.

And there are 3315 network related failures – meaning there were 3315 attempts to communicate on the Internet, but OpenVZ prevented them from doing so.

Those failures are a big deal :slight_smile:

Unless you can figure out how to prevent those failures, you’re likely to see some really strange problems. Such as what you’re experiencing while trying to run the installer.

-Eric

As shown

There is a work-around for this: http://askubuntu.com/questions/125742/why-did-my-upgrade-to-12-04-fail-with-glibc-not-found-or-libc6-or-requires/130717#130717

I followed your advice and dumped the instances. The new ones are working perfectly with the same resource levels.