RE: [Vserver] Trying to create vserver on logical volume fails....

From: Brian Ipsen <bipsen-dated-1142067970.b86aa3_at_andebakken.dk>
Date: Sat 04 Mar 2006 - 09:06:09 GMT
Message-ID: <1141463170.14217.TMDA@worf.andebakken.dk>

Hi,

> > I've created my own repo with Whitebox Enterprise Linux 4 -
> > but when trying to add a vserver (for which a logical volume
> > has been created and mounted in /vservers/vsrv01-mysql)
> > I get this error:
> > ...
> > | error: unpacking of archive failed on file /usr/bin/X11;42dd8791:
>
> Caused by a bug in rpm. You will need a similar 'initpre'
> script like those of FC4 and other RH variants.

Initpre scripts etc created... Now I get:

# ./vserver-build -m yum -n vsrv01-apache --hostname mysql.vsrv01.domain.dk
--interface vsrv01-mysql=eth0:192.168.1.63 -- -d wbel4
/etc/vservers/.defaults/vdirbase/vsrv01-apache/lost+found
/usr/lib/util-vserver/functions: line 206: -n: command not found

# ./vserver-build -m yum -n vsrv01-apache --force --hostname
mysql.vsrv01.domain.dk --interface vsrv01-mysql=eth0:192.168.1.63 -- -d
wbel4
/etc/vservers/.defaults/vdirbase/vsrv01-apache/lost+found
mv: cannot move `/etc/vservers/.defaults/vdirbase/vsrv01-apache' to
`/etc/vservers/.defaults/vdirbase/vsrv01-apache.~1141462908~': Device or
resource busy

And still no access towards the repository ... I wonder why it fails on the
'-n' parameter ?

I've tried to remove the '-' in the name specified (vsrv01-apache) - then it
seems to be able to accept the input parameters.... Is this a bug ? Is it
not allowed to include '-' in the vserver name ?

/Brian
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Mar 4 09:21:28 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 04 Mar 2006 - 09:21:29 GMT by hypermail 2.1.8