On Thursday 29 June 2006 17:24, Odile Bénassy wrote:
> Herbert Poetzl a écrit :
> >On Tue, Jun 27, 2006 at 10:34:52AM +0200, Christian Knauber wrote:
> >>Yes you can leave it without, but in this case if you defined it in
> >>the "old" vserver you would have to change it in the "new" vserver.
> >>
> >>Also, I do not know if this is really the case, but I felt that having
> >>fixed context IDs is much more stable than having dynamic ones.
> >
> >more important, dynamic contexts are deprecated for
> >some time now (as they cause nothing but troubles)
> >and will go away in the (near) future ...
> >
> >so please, handle the context assignment in userspace
> >by either assigning them explicitely or extending
> >the tools to handle that properly
>
> how do you set the context ID ?
>
> 1) from the beginning : my newvserver command (from Debian
> vserver-debiantools) does not have any --cid option
>
> 2) afterwards : I tried to echo a reasonable 5-figures number into
> /etc/vservers/myvs/context, but now if I try to start it:
>
> --%<
>
> # vserver myvs start
> chbind: vc_net_create(): Invalid argument
Perhaps you use numbers too high for a static context ? Numbers below 49151
are reserved for static ones, whereas dynamic contexts use numbers in the
49152 - 65534 range
I can't find the web page where I read it, I can only find this e-mail :
http://list.linux-vserver.org/archive/vserver/msg06532.html
Or does "reasonable" mean you already know that ?
>
> 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.
>
> >best,
> >Herbert
-- Xavier Montagutelli Tel : +33 (0)5 55 45 77 20 Service Commun Informatique Fax : +33 (0)5 55 45 75 95 Universite de Limoges 123, avenue Albert Thomas 87060 Limoges cedex _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserverReceived on Thu Jun 29 20:55:58 2006