[Vserver] Vserver newbie: problems when build guest server on FC4

From: Steven Truong <djatlantic_at_gmail.com>
Date: Thu 06 Oct 2005 - 01:10:56 BST
Message-ID: <77e0913f0510051710y6324bb13o3ac5a63e3f9cfb59@mail.gmail.com>

Hello, all. I am a vservers newbie. I have tried to setup vservers
and learn more about it. I have FC4 x86 with kernel 2.6.12. I
applied the patch-2.6.12.4-vs4 to the vanilla kernel. I also
installed dietlibc-0.29, beecrypt-4.1.2-8, and util-vserver-0.30-208.
The Linux box has gcc 4.0.1. I changed
/etc/vservers/.distributions/fc4/apt/source.list to include only:
rpm http://download.fedora.us/fedora/fedora latest/i386 os updates

I followed closely the instructions on step by step Guide 2.6 but I
tried to build a FC4 using apt-rpm method at the end.
I tried to build a guest server with this command:
vserver lanweb build -m apt-rpm --hostname=lanweb --netdev eth0 -- -d fc4

Everything went smoothly until after all the rpms got downloaded and
started to install. These are the start of the errors.

Get:43 http://download.fedora.us latest/i386/updates procps 3.2.0-1.2 [180kB]
Fetched 23.5MB in 4m49s (81.0kB/s)
Executing RPM (-Uvh)...
warning: /etc/vservers/lanweb/apps/pkgmgmt/base/apt/archives/termcap_11.0.1-18.1_noarch.rpm:
Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
warning: /etc/vservers/lanweb/apps/pkgmgmt/base/apt/archives/zlib_1.2.1.2-0.fc2.2.legacy_i386.rpm:
Header V3 DSA signature: NOKEY, key ID 731002fa
Preparing... ########################################### [100%]
   1:bash ########################################### [ 2%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %post(bash-2.05b-38.i386) scriptlet failed, exit status 127
   2:info ########################################### [ 5%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %post(info-4.7-4.i386) scriptlet failed, exit status 127
   3:chkconfig ########################################### [ 7%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %pre(coreutils-5.2.1-7.i386) scriptlet failed, exit status 127
error: install: %pre scriptlet failed (2), skipping coreutils-5.2.1-7
   4:shadow-utils ########################################### [ 9%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %post(shadow-utils-4.0.3-55.i386) scriptlet failed, exit status 127
   5:procps ########################################### [ 12%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %post(procps-3.2.0-1.2.i386) scriptlet failed, exit status 127
   6:grep ########################################### [ 14%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %post(grep-2.5.1-26.i386) scriptlet failed, exit status 127
   7:sed ########################################### [ 16%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %post(sed-4.0.8-4.i386) scriptlet failed, exit status 127
   8:fedora-release ########################################### [ 19%]
   9:iproute ########################################### [ 21%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %pre(pam-0.77-40.i386) scriptlet failed, exit status 127
error: install: %pre scriptlet failed (2), skipping pam-0.77-40
  10:psmisc ########################################### [ 23%]
  11:iputils ########################################### [ 26%]
  12:mktemp ########################################### [ 28%]
  13:gawk ########################################### [ 30%]
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory
error: %post(gawk-3.1.3-7.i386) scriptlet failed, exit status 127
  14:termcap ########################################### [ 33%]
  15:libtermcap ########################################### [ 35%]
  16:ncurses ########################################### [ 37%]
  17:zlib ########################################### [ 40%]
  18:libselinux ########################################### [ 42%]
  19:findutils ########################################### [ 44%]
  20:pcre ########################################### [ 47%]
  21:libattr ########################################### [ 49%]
  22:libacl ########################################### [ 51%]
  23:cracklib ########################################### [ 53%]
  24:words ########################################### [ 56%]
  25:cracklib-dicts ########################################### [ 58%]
  26:libstdc++ ########################################### [ 60%]
  27:db4 ########################################### [ 63%]
  28:glib ########################################### [ 65%]
  29:SysVinit ########################################### [ 67%]
  30:dev ########################################### [ 70%]
  31:e2fsprogs ########################################### [ 72%]
  32:ethtool ########################################### [ 74%]
  33:mingetty ########################################### [ 77%]
  34:modutils ########################################### [ 79%]
  35:popt ########################################### [ 81%]
  36:util-linux ########################################### [ 84%]
  37:net-tools ########################################### [ 86%]
  38:sysklogd ########################################### [ 88%]
/var/tmp/rpm-tmp.55110: line 4: touch: command not found
/var/tmp/rpm-tmp.55110: line 5: chmod: command not found
/var/tmp/rpm-tmp.55110: line 4: touch: command not found
/var/tmp/rpm-tmp.55110: line 5: chmod: command not found
/var/tmp/rpm-tmp.55110: line 4: touch: command not found
/var/tmp/rpm-tmp.55110: line 5: chmod: command not found
/var/tmp/rpm-tmp.55110: line 4: touch: command not found
/var/tmp/rpm-tmp.55110: line 5: chmod: command not found
  39:which ########################################### [ 91%]
  40:initscripts ########################################### [ 93%]
/var/tmp/rpm-tmp.88560: line 1: touch: command not found
/var/tmp/rpm-tmp.88560: line 2: touch: command not found
/var/tmp/rpm-tmp.88560: line 3: chown: command not found
/var/tmp/rpm-tmp.88560: line 4: chmod: command not found
  41:glib2 ########################################### [ 95%]
E: Sub-process /usr/local/lib/util-vserver/vrpm-preload returned an
error code (43)
rm -rf /etc/vservers/.defaults/vdirbase/lanweb /etc/vservers/lanweb
/etc/vservers/.defaults/vdirbase/.pkg/lanweb

It seemed like the package termcap did not work with the rest of the
packages and so others can not access and share it. Could you tell me
how to fix this? And why suddenly touch/chown/chmod could not be
found when they are actually in the PATH? Could you tell me how to
fix this or any recommendations of what to build at this point instead
of FC4 for my current settings?
I don't know if these problems are much more serious and the termcap
errors are not the actual one that caused the stop of building the
guest server?

Thank you very much for your helps.
Steven.
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Oct 6 01:14:49 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 06 Oct 2005 - 01:14:53 BST by hypermail 2.1.8