Re: [vserver] ubuntu 10.04 as a guest

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 08 Mar 2011 - 12:33:01 GMT
Message-ID: <20110308123301.GD24107@MAIL.13thfloor.at>

On Fri, Mar 04, 2011 at 03:43:25PM +0000, Wojciech Giel wrote:
> Hi,
> I have ubuntu 10.4 installed as a vserver host, I have installed 10.4
> also as a guest I have followed hints on website. I can start and
> run it as a standalone vserver but I can't start portmap and nfs.

for portmapper, make sure that you do not run an unrestricted
portmapper on the host, as it will bind to all IPs including
the guest IPs, which in turn will keep the guest's portmapper
from even starting ...

for the nfs(d) part, you want to go for an userspace nfsd not
the kernel nfsd, as a guest is not permitted to load and/or
access kernel modules

> bcapabilites and ccapablilites have proper flags. but can't mount
> with locking I get this error.

define proper :)

> thanks
> Wojciech

> mount.nfs: rpc.statd is not running but is required for remote locking.
> mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

this sounds more like you are trying to mount an nfs volume
inside the guest, but without context it's hard to tell ...

best,
Herbert

> ps aux
> ..
> daemon 3144 0.0 0.0 8256 636 ? Ss 15:39 0:00
> /sbin/portmap -i 127.0.0.1
> statd 3184 0.5 0.0 10392 836 ? Ss 15:39 0:00
> /sbin/rpc.statd
> ..

> rpcinfo -p localhost
> 100000 2 tcp 111 portmapper
> 100024 1 udp 51317 status
> 100024 1 tcp 38506 status

> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> tcp 0 0 192.168.165.14:38506 0.0.0.0:*
> LISTEN 3184/rpc.statd
> tcp 0 0 127.0.0.1:111 0.0.0.0:*
> LISTEN 3144/portmap
> tcp 0 0 192.168.165.14:22 0.0.0.0:*
> LISTEN 3043/sshd

> root@sampleinfLive:/# netstat -nulp
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> udp 0 0 192.168.165.14:816 0.0.0.0:*
> 3184/rpc.statd
> udp 0 0 127.0.0.1:111 0.0.0.0:*
> 3144/portmap
> udp 0 0 192.168.165.14:51317 0.0.0.0:*
> 3184/rpc.statd
Received on Tue Mar 8 12:33:15 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 08 Mar 2011 - 12:33:15 GMT by hypermail 2.1.8