About this list Date view Thread view Subject view Author view Attachment view

From: Razvan Cosma (razvan.cosma_at_catv.telemach.ro)
Date: Sat 23 Mar 2002 - 13:34:41 GMT


It works. Thank you.

edward_at_paradigm4.com.au wrote:

> On Saturday, 23 March 2002 at 11:09, Razvan Cosma wrote:
>
>
>> Hello,
>>Something in this line
>>
>>/usr/sbin/chbind --silent --ip $IPROOT \
>> /usr/sbin/chcontext --secure --silent --ctx $S_CONTEXT \
>> /usr/lib/vserver/vserverkillall
>>
>>is causing the following error:
>>
>>vserver ftp stop
>>Stopping the virtual server ftp
>>Server ftp is running
>>ipv4root is now 10.0.0.1
>>New security context is 0
>>Shutting down proftpd:
>>sleep 2
>>Killing all processes
>>expr: syntax error
>>^^^^^^^^^^^
>>
>>I am using vserver-0.13-1, kernel 2.4.17ctx-8 (compiled by me)
>>and only proftpd-1.2.4.tar.bz2 runs in the vserver. Any hints? 10x.
>>
>>
>
> It is this line:
>
> CTX=`eval expr $CTX + 0`
>
> in /usr/lib/vserver/vserverkillall
>
> The following worked for me:
>
> Replace the line
>
> CTX=`cat /proc/self/status | grep s_context | sed s/s_context://`
>
> with
>
> CTX=`awk '/^s_context:/{print $2}' /proc/self/status`
>
> hth
> Ed


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:40 GMT by hypermail 2.1.3