Subject: Re: [vserver] vcontext: execvp("chkconfig"): No such file or directory
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Thu, 18 Jun 2009 10:10:15 +0200

On Wed, Jun 17, 2009 at 08:57:22PM -0400, Mingliang Ma wrote:
> Hi,
> 
> I am trying to create a vserver on fedora 8. i followed instructions on
> "installation on Linux 2.6" (
> http://linux-vserver.org/Installation_on_Linux_2.6).

what kernel do you use, and what Linux-VServer patch?

> i installed the util-vserver-0.30.215.(./configure --> make --> make install
> --> make install-distribution).
> i did
> 
>          "/etc/init.d/vprocunhide restart"

what does testme.sh report?
what 'vserver-info - SYSINFO' ?

TIA,
Herbert

> and now i build a vserver, with the command:
> 
>          "vserver myvserver3 build --netdev eth0 --interface 192.168.100.100
> --hostname metuser3.vani.ut -m yum -- -d f8"
> 
> it gives me this error:
> 
>          vcontext: execvp("chkconfig"): No such file or directory
> 
> does someone know why i get this error? it seems like it cannot find the
> chkconfig program. when i check, the chkconfig is there
> 
>         [root@localhost svn-build]# chkconfig --version
>         chkconfig version 1.3.36
> 
> 
> the complete output:
> 
> [root@localhost svn-build]# vserver myvserver3 build --netdev eth0
> --interface 192.168.100.100 --hostname metuser3.vani.ut -m yum -- -d f8
> 
> =============================================================================
>  Package                 Arch       Version          Repository        Size
> =============================================================================
> Installing:
>  glibc                   i686       2.7-2            fedora            5.4 M
> Installing for dependencies:
>  basesystem              noarch     8.1-1            fedora            2.9 k
>  filesystem              i386       2.4.11-1.fc8     fedora            118 k
>  glibc-common            i386       2.7-2            fedora             21 M
>  libgcc                  i386       4.1.2-33         fedora             95 k
>  setup                   noarch     2.6.10-1.fc8     fedora            125 k
>  tzdata                  noarch     2007h-1.fc8      fedora            747 k
> 
> Transaction Summary
> =============================================================================
> Install      7 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> 
> Total download size: 27 M
> 
> Installed: glibc.i686 0:2.7-2
> Dependency Installed: basesystem.noarch 0:8.1-1 filesystem.i386
> 0:2.4.11-1.fc8 glibc-common.i386 0:2.7-2 libgcc.i386 0:4.1.2-33 setup.noarch
> 0:2.6.10-1.fc8 tzdata.noarch 0:2007h-1.fc8
> 
> =============================================================================
>  Package                 Arch       Version          Repository        Size
> =============================================================================
> Installing for dependencies:
>  ConsoleKit-libs         i386       0.2.3-1.fc8      fedora             13 k
>  MAKEDEV                 i386       3.23-1.2         fedora            135 k
>  audit-libs              i386       1.6.2-4.fc8      fedora             61 k
>  bash                    i386       3.2-18.fc8       fedora            1.8 M
>  chkconfig               i386       1.3.36-1         fedora            155 k
>  coreutils               i386       6.9-9.fc8        fedora            3.3 M
>  cracklib                i386       2.8.10-3         fedora             47 k
>  cracklib-dicts          i386       2.8.10-3         fedora            3.6 M
>  db4                     i386       4.6.21-1.fc8     fedora            586 k
>  dbus                    i386       1.1.2-7.fc8      fedora            236 k
>  dbus-libs               i386       1.1.2-7.fc8      fedora            125 k
>  device-mapper           i386       1.02.22-1.fc8    fedora            466 k
>  device-mapper-libs      i386       1.02.22-1.fc8    fedora             47 k
>  e2fsprogs               i386       1.40.2-10.fc8    fedora            1.0 M
>  e2fsprogs-libs          i386       1.40.2-10.fc8    fedora            135 k
>  ethtool                 i386       5-1.fc7          fedora             60 k
>  expat                   i386       2.0.1-2          fedora             78 k
>  fedora-release          noarch     8-6.transition   updates            31 k
>  fedora-release-notes    noarch     8.0.0-3          fedora            2.9 M
>  gawk                    i386       3.1.5-15.fc7     fedora            956 k
>  glib2                   i386       2.14.2-1.fc8     fedora            823 k
>  grep                    i386       2.5.1-57.fc7     fedora            175 k
>  info                    i386       4.11-1.fc8       fedora            166 k
>  initscripts             i386       8.60-1           fedora            1.6 M
>  iproute                 i386       2.6.22-2.fc8     fedora            815 k
>  iputils                 i386       20070202-5.fc8   fedora            126 k
>  libacl                  i386       2.2.39-10.fc8    fedora             20 k
>  libattr                 i386       2.4.38-1.fc8     fedora             12 k
>  libcap                  i386       1.10-30          fedora             24 k
>  libidn                  i386       0.6.14-4         fedora            210 k
>  libselinux              i386       2.0.37-1.fc8     fedora            111 k
>  libsepol                i386       2.0.11-1.fc8     fedora            122 k
>  libstdc++               i386       4.1.2-33         fedora            360 k
>  libsysfs                i386       2.1.0-1.fc7      fedora             48 k
>  libvolume_id            i386       116-3.fc8        fedora             53 k
>  logrotate               i386       3.7.6-1.3.fc8    fedora             50 k
>  mingetty                i386       1.07-6           fedora             19 k
>  mktemp                  i386       3:1.5-25.fc7     fedora             14 k
>  module-init-tools       i386       3.4-2.fc8        fedora            414 k
>  ncurses                 i386       5.6-12.20070812.fc8  fedora
> 1.0 M
>  net-tools               i386       1.60-84.fc8      fedora            361 k
>  pam                     i386       0.99.8.1-10.fc8  fedora            1.0 M
>  pcre                    i386       7.3-1            fedora            136 k
>  popt                    i386       1.12-3.fc8       fedora             35 k
>  procps                  i386       3.2.7-17.fc8     fedora            210 k
>  psmisc                  i386       22.5-2.fc8       fedora             71 k
>  rsyslog                 i386       1.19.6-3.fc8     fedora            184 k
>  sed                     i386       4.1.5-9.fc8      fedora            187 k
>  shadow-utils            i386       2:4.0.18.1-18.fc8  fedora            1.1
> M
>  sysvinit                i386       2.86-18          fedora            110 k
>  udev                    i386       116-3.fc8        fedora            327 k
>  util-linux-ng           i386       2.13-3.fc8       fedora            1.9 M
>  zlib                    i386       1.2.3-14.fc8     fedora             72 k
> 
> Transaction Summary
> =============================================================================
> Install     53 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> 
> Total download size: 27 M
> ^[
> Dependency Installed: ConsoleKit-libs.i386 0:0.2.3-1.fc8 MAKEDEV.i386
> 0:3.23-1.2 audit-libs.i386 0:1.6.2-4.fc8 bash.i386 0:3.2-18.fc8
> chkconfig.i386 0:1.3.36-1 coreutils.i386 0:6.9-9.fc8 cracklib.i386
> 0:2.8.10-3 cracklib-dicts.i386 0:2.8.10-3 db4.i386 0:4.6.21-1.fc8 dbus.i386
> 0:1.1.2-7.fc8 dbus-libs.i386 0:1.1.2-7.fc8 device-mapper.i386
> 0:1.02.22-1.fc8 device-mapper-libs.i386 0:1.02.22-1.fc8 e2fsprogs.i386
> 0:1.40.2-10.fc8 e2fsprogs-libs.i386 0:1.40.2-10.fc8 ethtool.i386 0:5-1.fc7
> expat.i386 0:2.0.1-2 fedora-release.noarch 0:8-6.transition
> fedora-release-notes.noarch 0:8.0.0-3 gawk.i386 0:3.1.5-15.fc7 glib2.i386
> 0:2.14.2-1.fc8 grep.i386 0:2.5.1-57.fc7 info.i386 0:4.11-1.fc8
> initscripts.i386 0:8.60-1 iproute.i386 0:2.6.22-2.fc8 iputils.i386
> 0:20070202-5.fc8 libacl.i386 0:2.2.39-10.fc8 libattr.i386 0:2.4.38-1.fc8
> libcap.i386 0:1.10-30 libidn.i386 0:0.6.14-4 libselinux.i386 0:2.0.37-1.fc8
> libsepol.i386 0:2.0.11-1.fc8 libstdc++.i386 0:4.1.2-33 libsysfs.i386
> 0:2.1.0-1.fc7 libvolume_id.i386 0:116-3.fc8 logrotate.i386 0:3.7.6-1.3.fc8
> mingetty.i386 0:1.07-6 mktemp.i386 3:1.5-25.fc7 module-init-tools.i386
> 0:3.4-2.fc8 ncurses.i386 0:5.6-12.20070812.fc8 net-tools.i386 0:1.60-84.fc8
> pam.i386 0:0.99.8.1-10.fc8 pcre.i386 0:7.3-1 popt.i386 0:1.12-3.fc8
> procps.i386 0:3.2.7-17.fc8 psmisc.i386 0:22.5-2.fc8 rsyslog.i386
> 0:1.19.6-3.fc8 sed.i386 0:4.1.5-9.fc8 shadow-utils.i386 2:4.0.18.1-18.fc8
> sysvinit.i386 0:2.86-18 udev.i386 0:116-3.fc8 util-linux-ng.i386
> 0:2.13-3.fc8 zlib.i386 0:1.2.3-14.fc8
> vcontext: execvp("chkconfig"): No such file or directory
> vcontext: execvp("chkconfig"): No such file or directory
> vcontext: execvp("chkconfig"): No such file or directory
> vcontext: execvp("chkconfig"): No such file or directory
> vcontext: execvp("chkconfig"): No such file or directory
> vcontext: execvp("chkconfig"): No such file or directory
> vcontext: execvp("chkconfig"): No such file or directory