Re: [Vserver] Problem starting vserver vcontext: chroot(): Permission denied

From: Andreas John <lists_at_aj.net-lab.net>
Date: Wed 23 Nov 2005 - 02:48:00 GMT
Message-ID: <4383D860.1020601@aj.net-lab.net>

Hi Manfred!

Just some hints:

1.) You wrote:
/lib/modules/2.6.10-1-686-smp/build/include
                 ^ ^ ^
and: Kernel: 2.6.8-vserver-686
              ^ ^ ^ ^
  Huh?

2.) The util-vserver is quite old and known to be buggy. .209 is the
current. Debian sid ships .208 thats why I am using sid as host. Maybe
you can apt-get source util-vserver and dpkg-buildpackage on sarge?

3.) There was a nagios thread recently ... maybe you need Capabilty
RAW_NET or remove 127.0.0.1 in nagios confs (But I dont think thats the
problem here .. )

4.) Did you change the xid/context? Maybe the servers root has the wrong
one now -> chxid ?

rgds,
Andreas

Manfred Heubach wrote:
> Hi there,
>
> I've got a strange problem. I have upgraded my root server today and
> changed all vservers to the legacy method.
>
> All are running fine except two. When I try to start them, I get a
> "vcontext: chroot(): Permission denied" message (see below).
>
> The config directory of these vservers are exactly the same as the other
> vservers' config directories.
>
> I have no idea why exactly these vservers aren't running. Maybe it's
> something within them?
>
> Some information about the system is below (vserver-info). It's Debian
> Sarge.
>
> The working vservers have been installed some years ago. The vservers
> which are not working are about 5 months old. So they have beend
> installed with a newer version of vserver-debiantools.
>
> Anybody any ideas?
>
> Regards
> Manfred
>
> ---snip---
>
> james:/var/lib/vservers/nagios# vserver nagios start
> vcontext: chroot(): Permission denied
>
> An error occured while executing the vserver startup sequence; when
> there are no other messages, it is very likely that the init-script
> (/etc/init.d/rc 3) failed.
>
> Common causes are:
> * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
> method knows how to deal with this, but on existing installations,
> appending 'true' to this file will help.
>
>
> Failed to start vserver 'nagios'
> ---snip---
>
> james:/var/run# vserver-info
> Versions:
> Kernel: 2.6.8-vserver-686
> VS-API: 0x00010025
> util-vserver: 0.30.204; May 24 2005, 22:22:03
>
> Features:
> CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-5)
> CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-5)
> CPPFLAGS: ''
> CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W'
> CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
> -fmessage-length=0'
> build/host: i386-pc-linux-gnu/i386-pc-linux-gnu
> Use dietlibc: yes
> Build C++ programs: yes
> Build C99 programs: yes
> Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
> ext2fs Source: e2fsprogs
> syscall(2) invocation: fast
> vserver(2) syscall#: 273/glibc
>
> Paths:
> prefix: /usr
> sysconf-Directory: /etc
> cfg-Directory: /etc/vservers
> initrd-Directory: $(sysconfdir)/init.d
> pkgstate-Directory: /var/run/vservers
> Kernelheaders: /lib/modules/2.6.10-1-686-smp/build/include
> vserver-Rootdir: /var/lib/vservers
>
>
> Assumed 'SYSINFO' as no other option given; try '--help' for more
> information.
> _______________________________________________
> 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 Wed Nov 23 02:48:21 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 23 Nov 2005 - 02:48:26 GMT by hypermail 2.1.8