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

From: Fran Firman (fran.firman_at_ipsm.net.nz)
Date: Sun 12 Jan 2003 - 20:39:13 GMT


Didn't help with me...

I have

on the local disk I have /vservers2
on an nfs array I have /vservers-nfs

In side of the /vservers2 I have 1 folder called test ( the vserver).

In side of the /vservers-nfs the same.

They have the same permissions.

I then do a mount --bind /vservers2 /vservers

vserver test start

OK

vserver test stop

umount /vservers
mount --bind /vservers-nfs /vservers

vserver test start

Fails with
Starting the virtual server test
Server test is not running
ipv4root is now 210.54.14.116
Host name is now test
New security context is 10
Can't chroot to directory . (Permission denied)

Thoughts???

Fran.

On Mon, 2003-01-13 at 09:17, Dinesh Mistry wrote:
> AHhh nope I am not but I was running a local loop back file system. I
> figured out the problem though.
>
> They ask you to chmod 000 /vservers/VSERVERNAME
>
> This breaks the vserver if you just chmod 000 /vservers then it works.
>
>
>
> --------------------------------------------
> Dinesh Mistry
>
> YourHostDirect
> 1-800-210-6757
>
> Better, Faster and more Reliable Hosting
> http://www.yourhostdirect.com
> --------------------------------------------
>
>
> -----Original Message-----
> From: Fran Firman [mailto:fran.firman_at_ipsm.net.nz]
> Sent: Sunday, January 12, 2003 3:13 PM
> To: Dinesh Mistry
> Subject: Re: Did you fix this?
>
> Are you also using a NFS array to store the vserver data/folder?
>
> If I run the vserver on the local HD it works ok.
>
> F.
>
> On Sun, 2003-01-12 at 10:49, Dinesh Mistry wrote:
> > Just upgraded to 2.4.19ctx-15 and vserver 0.22
> >
> >
> >
> >
> >
> > I now get the error.
> >
> >
> >
> > server4:~# vserver knottsberry start
> >
> > Starting the virtual server knottsberry
> >
> > Server knottsberry is not running
> >
> > ipv4root is now 210.54.14.137
> >
> > Host name is now knottsberry
> >
> > New security context is 15
> >
> > Can't chroot to directory . (Permission denied)
> >
> >
> >
> >
> >
> > This is on a debian host.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > I am having the same problem L
> >
> >
> >
> > --------------------------------------------
> >
> > Dinesh Mistry
> >
> >
> >
> > YourHostDirect
> >
> > 1-800-210-6757
> >
> >
> >
> > Better, Faster and more Reliable Hosting
> >
> > http://www.yourhostdirect.com
> >
> > --------------------------------------------
> >
> >

-- 
Fran Firman <fran.firman_at_ipsm.net.nz>


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 Wed 15 Jan 2003 - 17:17:03 GMT by hypermail 2.1.3