Re: [vserver] linux vserver stops on exit

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Thu 04 Nov 2010 - 23:15:26 GMT
Message-ID: <56255.192.168.102.6.1288912526.squirrel@intranet>

Harald Lapp wrote:
> hello,
>
> i'm new to linux vserver. i've just managed to set up vserver on an
> ubuntu lucid host, the guest is lucid, too. with the help of some
> tutorials i found at linux-vserver.org, i was able to workaround
> almost all problems. but there are still some strange things, i don't
> really understand:

That's probably the hardest distribution to use. You might want to
look at Debian...

> i usually enter the vserver using "vserver ... enter". after doing my
> work i type "exit" to get back to the host. now sometimes (not
> always!) the vserver seems to stop. running vserver-stat for example
> doesn't show it anylonger, or when i try to re-enter, it says, that
> the vserver is not running. i was unable to figure out, why it stops
> because this won't happen, when some other user is still connected to
> the vserver. and i don't get any error messages or so. is there
> anything i can try to figure out, what's going on?

It sounds like you stopped all the processes running in the guest,
thus causing the guest to exit when there is nothing there anymore.

> the second strange thing is: i've installed mysql in the vserver and
> everything seems to work just fine. i can start and stop it and it's
> listening on the IP i assigned to the vserver (and bound mysql to) --
> at least i can telnet to it and mysql answers. however: i don't "see"
> it, when i run "ps ax" in the vserver ... what's going on, i wonder?

Are you running grsec or something similar? What kernel?

-- 
Daniel Hokka Zakrisson
Received on Thu Nov 4 23:18:03 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 04 Nov 2010 - 23:18:04 GMT by hypermail 2.1.8