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

From: Manfred Heubach <entwicklung_at_heubach-edv.de>
Date: Tue 22 Nov 2005 - 20:57:58 GMT
Message-ID: <43838656.1000208@heubach-edv.de>

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
Received on Tue Nov 22 20:58:20 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 22 Nov 2005 - 20:58:25 GMT by hypermail 2.1.8