From: Joel Vandal (jvandal_at_infoteck.qc.ca)
Date: Wed 07 May 2003 - 03:18:06 BST
You can switch to this vserver context (chcontext --ctx 8 bash) and try to
kill all process if any... then remove the /var/run/vservers/server0003.ctx
file
-- Joel Vandal----- Original Message ----- From: "Dimitri Roschkowski" <dr_at_port29.net> Sent: Tuesday, May 06, 2003 5:52 PM
Hi,
I have a Problem with one VServer, it won't stop. Just take a look to this:
[root_at_eram01 /]# vserver server0003 stop Stopping the virtual server server0003 Server server0003 is running ipv4root is now 62.141.36.13 New security context is 8 APM-Dämon herunterfahren: [FEHLGESCHLAGEN] portmapper stoppen: [FEHLGESCHLAGEN] Starting killall: APM-Dämon herunterfahren: [FEHLGESCHLAGEN] portmapper stoppen: [FEHLGESCHLAGEN] [FEHLGESCHLAGEN] sleeping 5 seconds Killing all processes kill -TERM /vservers/server0003/sbin/minilogd[32161] [root_at_eram01 /]# vserver server0003 start Starting the virtual server server0003 Server server0003 is running [root_at_eram01 /]# vserver-stat CTX# PROC QTY VSZ RSS userTIME sysTIME UPTIME NAME 0 41 43MB 3kB 7h08m18 1h40m59 34d02h42 root server 9 21 752MB 8kB 1h49m41 20m51.69 18d09h59 server0004 10 22 759MB 7kB 2h03m05 42m29.12 18d09h57 server0005 12 20 745MB 6kB 1h49m21 21m03.71 18d09h31 server0001 13 24 980MB 12kB 1h43m20 18m40.42 18d07h43 server0002 14 20 742MB 6kB 1h15m38 14m28.79 12d07h43 server0006 16 24 121MB 4kB 52m29.22 11m29.96 12d07h28 server0007 18 20 742MB 4kB 1h26m15 16m35.25 12d07h23 server0009 19 21 747MB 6kB 1h15m27 14m48.75 12d07h18 server0010 20 33 968MB 6kB 46m12.70 9m40.52 7d12h00 server0008
[root_at_eram01 /]# vserver server0003 status Server server0003 is running 20 processes running Vserver uptime: 18 days 10:06
[root_at_eram01 /]# vserver server0003 enter ipv4root is now 62.141.36.13 New security context is 8 [root_at_vserver:server0003 /]ps ax PID TTY STAT TIME COMMAND 1 ? S 0:09 init 32387 pts/13 S 0:00 /bin/bash -login 32446 pts/13 R 0:00 ps ax
How can I stop the server?