RE: [Vserver] Problems with yum and centos42

From: John Cianfarani <jcianfarani_at_rogers.com>
Date: Thu 28 Sep 2006 - 16:25:54 BST
Message-Id: <20060928152633.A42B7783336@daffy.hulpsystems.net>

I have vserver running on CentOS 4.3

 

This guide seemed to work well for me

http://oldwiki.linux-vserver.org/CentOS_HowTo

 

Thanks

John

 

  _____

From: vserver-bounces@list.linux-vserver.org
[mailto:vserver-bounces@list.linux-vserver.org] On Behalf Of Eric Jorgensen
Sent: Wednesday, September 27, 2006 11:47 AM
To: vserver@list.linux-vserver.org
Subject: Fw: [Vserver] Problems with yum and centos42

 

Hi all,

It's been a week but no reply to my problem. Can anyone duplicate the
problem I'm having even? Do I need to post more info?

Thanks,

jorgy

----- Forwarded Message ----
From: Eric Jorgensen <jorgy@yahoo.com>
To: vserver@list.linux-vserver.org
Sent: Wednesday, September 20, 2006 12:23:52 PM
Subject: [Vserver] Problems with yum and centos42

Hello,

I am having recent troubles (I haven't built a guest in 2-3 weeks so it's
been since then) building a centos42 guest with yum. I am running kernel
2.6.15.6-vs2.0.2-rc13 with util-vserver 0.30.210. This had been working up
until just recently. The command I am using is:

/usr/lib/util-vserver/vserver-build --debug --force -m yum -n j_photos \

--hostname=photos.unixguys.com --netdev=eth0 --interface 192.168.1.83 \
--netmask 255.255.255.0 -- -d centos42

The end of the log looks like (no errors earlier on):

++ /usr/lib/util-vserver/distributions/centos42/initpost
/etc/vservers/j_photos /usr/lib/util-vserver/util-vserver-vars
secure-mount: chdir("/tmp"): No such file or directory
/etc/vservers/j_photos/fstab:2:1: failed to mount fstab-entry
vcontext: execvp("bash"): No such file or directory

An error occured while executing the vserver startup sequence; when
there are no other messages, it is very likely that the init-script
(bash -c
    exec >/dev/null
    exec 2>/dev/null

    set -x
    f=/tmp/startwait
    trap "rm -f $f" EXIT
    mkfifo $f
    ( sleep 10; kill -s 9 -- -1 ) &
    cat "$f" >/dev/null
    kill -s 9 -- -1
    wait
) 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 'j_photos'
chroot-shopen("/etc/sysconfig/network"): No such file or directory
chroot-shopen("/etc/init.d/halt"): No such file or directory
chmod: cannot access `etc/init.d/halt': No such file or directory
chroot-shopen("etc/inittab"): No such file or directory

Any help would be greatly appreciated it!!

Thanks,

jorgy

_______________________________________________
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 Thu Sep 28 16:29:09 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 28 Sep 2006 - 16:29:18 BST by hypermail 2.1.8