Re: [vserver] Building on CentOS 6.2

From: Phil Daws <uxbod_at_splatnix.net>
Date: Fri 03 Feb 2012 - 15:38:35 GMT
Message-ID: <2132953606.20199.1328283515238.JavaMail.root@office.splatnix.net>

Hi Gordan,

Which document is this information being pulled from please ? If I am not RTFM'ing properly then I am sorry.

-- 
Thanks, Phil
----- Original Message -----
> Hmm... Did you:
> 
> echo "plain" > /etc/vservers/centos6-basevs/apps/init/style
> 
> ?
> 
> You will also want to make sure to apply the following pseudo-patch
> to
> the guest's etc/sysconfig/init:
> -ACTIVE_CONSOLES=/dev/tty[1-6]
> +ACTIVE_CONSOLES=
> 
> Also, comment out "console output" lines from all files in
> /vserver/<guest name>/etc/init/*
> 
> Gordan
> 
> Phil Daws wrote:
> > Gordan,
> > 
> > Really appreciate that as it has helped us to move forward :) Once
> > I fixed the init scripts we can now build a CentOS6 VS but when
> > starting it up it returns the error:
> > 
> > ---------------------------------------------------------------------------------------
> > [root@testvserver01 centos6-basevs]# vserver centos6-basevs start
> > Entering non-interactive startup
> > vshelper.init: can not determine xid of vserver 'centos6-basevs';
> > returned value was ''
> > 
> > This usually means that you're using an init-less init-style, but
> > the
> > guest isn't configured to start any service. Try enabling a
> > service,
> > changing the init-style, or making the contexts persistent.
> > 
> > An error occured after executing the vserver startup sequence. This
> > means that some processes may exist in the created context and the
> > manual execution of
> > 
> >   /sbin/vserver '/etc/vservers/centos6-basevs' stop
> > 
> > is recommended to fix this.
> > ---------------------------------------------------------------------------------------
> > 
> > I have checked /etc/vservers/centos6-basevs and that has the
> > correct context:
> > 
> > [root@testvserver01 centos6-basevs]# cat
> > /etc/vservers/centos6-basevs/context
> > 40006
> > 
> > Do we need to do something different in the latest releases of
> > vserver and util-vserver ?
> 
> 
Received on Fri Feb 3 15:38:45 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 03 Feb 2012 - 15:38:45 GMT by hypermail 2.1.8