About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 19 Aug 2005 - 15:32:19 BST


On Fri, Aug 19, 2005 at 10:36:07AM +0530, Subhabrata Bhattacharya wrote:
> Hi,
>
> I am struggling to get a single vserver instance up.I use this command
> to build the vserver from scratch:
>
> $ vserver tserv build -m skeleton --hostname face --interface
> eth0:10.1.10.1 --rootdir=/var/lib/vservers --force
>
> This file (and a few others) was automatically created
>
> $ cat /etc/vservers/tserv/fstab
> none /proc proc defaults 0 0
> none /tmp tmpfs size=16m,mode=1777 0 0
> none /dev/pts devpts gid=5,mode=620 0 0
>
> This is my vservers.conf
> $ cat /etc/vservers.conf
> BACKGROUND=no
> VSERVERS_ROOT=/var/lib/vservers
> GENERATEMTAB=yes
>
> But when I try to start the vserver instance I get this error:
>
> $ vserver tserv start
>
> secure-mount: chdir("/tmp"): No such file or directory
> /usr/local/etc/vservers/tserv/fstab:2:1: failed to mount fstab-entry
> find: var/run: No such file or directory
> fakerunlevel: open("/var/run/utmp"): No such file or directory

which is kind of expected ...

> Failed to start vserver 'tserv'
>
> What could have gone wrong?

nothing, it's just an unfortunate choice of methods

you are building a 'skeleton', so a lot of structure
and bones, but no fleshy services and binaries inside

try one of the 'other' build methods like:

 vserver foo build -m debootstrap --hostname vs.foo.org --netdev eth0
    --interface 192.168.3.1/21 --context 42 -- -d sarge -m

(listed on http://linux-vserver.org/alpha+util-vserver )

or copy over some actual 'contents' into the skeleton
directory (which can be executed/run)

HTH,
Herbert

> ~$ubh
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 19 Aug 2005 - 15:32:45 BST by hypermail 2.1.3