Hi Nate

Do I understand you correctly that it is no longer possible to create
a vserver with vserver-debiantools at all?

Regards,

// Ola

On Fri, Apr 27, 2007 at 05:23:58PM -0500, nate moseman wrote:
> Package: vserver-debiantools
> Version:  0.3.5
> 
> 
> After setting up a vserver guest using the 'newvserver' script it fails
> to start with this error:
> >
> > ncontext: vc_net_create(): Invalid argument
> >
> > An error occured while executing the vserver startup sequence; when
> > there are no other messages, it is very likely that the init-script
> > (/etc/init.d/rc 3) 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 'webber'
> >
> 
> 
> Then the dmesg output has this one liner:
> > dynamic contexts disabled.
> 
> 
> 
> The problem is is that the file /etc/vserver/<guest name>/context is not
> made. I don't know why it's required now all of a sudden, but vserver
> FAQ has the the following to say:
> 
> 
> 
> > Dynamic context are disabled by default and are deprecated. For
> > example, tagxid and network checks won't be useable with dynamic ids.
> > Now you should manually assign a explicit context to your vservers,
> > like 
> >
> > echo 101 > /etc/vservers/myvserv/context
> >
> > ADDENDUM: please consider that valid static contexts are between 2 and
> > 49151 ( daniel_hozac on IRC ).
> 
> http://linux-vserver.org/Frequently_Asked_Questions
> 
> 
> 
> 
> The solution would be include a way in your scripts to automaticly
> create the context file and keep track of numbers so you don't reuse
> them.
> 
> 
> Right now the solution is just to manually create the file.
> 
> 
> I am using the kernel from package linux-image-2.6.20-1-vserver-686,
> version  2.6.20-3
> 
> Also the version for util-vserver is 0.30.212-1.
> 
> 
> 
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                     654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://opalsys.net/                 UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to