Re: [vserver] Create a new virtual on debian - some problem

From: Eric Schoeller <eschoeller_at_users.sourceforge.net>
Date: Mon 19 Apr 2010 - 18:39:20 BST
Message-ID: <4BCC9548.2060703@users.sourceforge.net>
I'll go ahead and second that ... I recently switched over to using the repo.psand.net repository for util-vserver and more recent debian based vserver kernels and I've been very pleased with the decision. The change wasn't completely seamless in my environment mainly due to the fact that I was using /vservers instead of /var/lib/vservers. There were many things that were broken with 'newvserver' that I had to fix in a post install script. Now, using just the util-vserver tools I don't have any of those issues after building new vservers.

Eric

Herbert Poetzl wrote:
On Mon, Apr 19, 2010 at 03:09:55PM +0200, For@ll wrote:
  
Hi,

I try create a new vserver virtual machine on debian lenny using a
newvserver

newvserver --hostname web --domain www.foo.com --ip 10.10.0.104/32
--dist lenny --interface eth0 --verbose --context 1000 and I have some
error:

    
Executing post install script ...
          
 Removing any system startup links for /etc/init.d/bootlogd ...
 Removing any system startup links for /etc/init.d/bootmisc.sh ...
 Removing any system startup links for /etc/init.d/checkfs.sh ...
 Removing any system startup links for /etc/init.d/checkroot.sh ...
 Removing any system startup links for /etc/init.d/glibc.sh ...
   /etc/rcS.d/S01glibc.sh
 Removing any system startup links for /etc/init.d/halt ...
 Removing any system startup links for /etc/init.d/hostname.sh ...
 Removing any system startup links for /etc/init.d/hwclock.sh ...
 Removing any system startup links for /etc/init.d/hwclockfirst.sh ...
 Removing any system startup links for /etc/init.d/killprocs ...
 Removing any system startup links for /etc/init.d/mountall-bootclean.sh ...
 Removing any system startup links for /etc/init.d/mountall.sh ...
 Removing any system startup links for /etc/init.d/mountdevsubfs.sh ...
 Removing any system startup links for /etc/init.d/mountkernfs.sh ...
 Removing any system startup links for /etc/init.d/mountnfs-bootclean.sh ...
 Removing any system startup links for /etc/init.d/mountnfs.sh ...
 Removing any system startup links for /etc/init.d/mountoverflowtmp ...
 Removing any system startup links for /etc/init.d/mtab.sh ...
 Removing any system startup links for /etc/init.d/procps ...
 Removing any system startup links for /etc/init.d/reboot ...
 Removing any system startup links for /etc/init.d/rmnologin ...
 Removing any system startup links for /etc/init.d/stop-bootlogd ...
 Removing any system startup links for /etc/init.d/stop-bootlogd-single ...
 Removing any system startup links for /etc/init.d/umountfs ...
 Removing any system startup links for /etc/init.d/umountnfs.sh ...
 Removing any system startup links for /etc/init.d/umountroot ...
 Removing any system startup links for /etc/init.d/urandom ...

ln: creating symbolic link `fd': File exists
mv: cannot stat `/etc/vservers/.defaults/vdirbase/web/etc/inittab': No
such file or directory
/etc/init.d/rc: line 74: /etc/default/rcS: No such file or directory
error: '/etc/init.d/rc' exited outside the expected code flow.
    

  
A new virtual machine not working , if I try run vserver web start I get
next error messages
    

  
vserver web start
/etc/init.d/rc: line 74: /etc/default/rcS: No such file or directory
error: '/etc/init.d/rc' exited outside the expected code flow.
    

  
ii  linux-image-2.6.26-2-vserver-686-bigmem      2.6.26-21lenny4
ii  util-vserver                                 0.30.216~r2772-6          
ii  vserver-debiantools                          0.6.3                     
    

  
Anyone have ideas what's wrong?
    

- get a more recent kernel (e.g. 2.6.33.x)
- get more recent util-vserver (e.g. 0.30.216-pre2882)
- avoid using vserver-debiantools

why, because the abovementioned versions are broken
and not supported (at least not by Linux-VServer :)

best,
Herbert

  
For@ll
    
Received on Mon Apr 19 18:39:33 2010
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 19 Apr 2010 - 18:39:34 BST by hypermail 2.1.8