Re: [Vserver] vserver not starting

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 10 Jun 2006 - 13:36:18 BST
Message-ID: <20060610123618.GA25090@MAIL.13thfloor.at>

On Sat, Jun 10, 2006 at 08:39:26AM +0530, varun wrote:
> > > # mkdir /vservers/template/
> > >
> > > # dump 0f - /usr | (cd /vservers/template/ && restore rf -)
> > >
> > > Similarly take a dump for the following directories:
> > >
> > > /usr /lib /var /etc /opt and /root.
> >
> > this only makes sense if you have separate
> > partitions for /usr /lib /var /etc /opt and /root.
> >
> > please double check that your template looks
> > 'sane' i.e. similar (or identical) to the host
> > system for the abovementioned directories as
> > well as for the /tmp and /var/tmp dirs
> >
>
> In case it does not what do you do ?

basically you use _one_ dump for each mounted (ext2/3)
filesystem to transfer, as it will transfer the entire
filesystem inclusing all directories, but it will not
traverse filesystems

> > HTH,
> > Herbert
> >
> > > > > secure-mount: chdir("/tmp"): No such file or directory
> > > >
> > > > looks like some /tmp either on the guest or on
> > > > the host is missing, or maybe some permissions
> > > > are not set properly ...
> > > >
> > > > > /etc/vservers/boing/fstab:2:1: failed to mount fstab-entry
> > > >
> > > > this is likely the result of /tmp not being
> > > > there so mounting the tmpfs fails
>
> Temp is not there in the guest. I have done
> three times but I get the same error.

> And I am using the latest kernel.
>
> If I copy /tmp from host to guest this
> error disappears.
>
> But is it ok to solve it this way.

well, you could simply 'create' it with mkdir

best,
Herbert

> Thanks
>
> Varun
>
>
> > > >
> > > > > find: var/run: No such file or directory
> > > >
> > > > similar for var/run as it seems
> > > >
> > > > > fakerunlevel: open("/var/run/utmp"): No such file or directory
> > > > >
> > > > >
> > > > > Failed to start vserver 'boing'
> > > > >
>
> > > > best,
> > > > Herbert
> > > >
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Jun 10 13:36:48 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 10 Jun 2006 - 13:36:52 BST by hypermail 2.1.8