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

From: smagnuson_at_forzani.com
Date: Thu 07 Apr 2005 - 19:10:40 BST


Yes that works. I no longer get the warning.

thanks
sig

-----Original Message-----
From: vserver-bounces_at_list.linux-vserver.org
[mailto:vserver-bounces_at_list.linux-vserver.org]On Behalf Of D. B.
Sent: Wednesday, April 06, 2005 11:38 AM
To: vserver_at_list.linux-vserver.org
Subject: Re: [Vserver] a couple of beginner questions

Hello Sig,

smagnuson_at_forzani.com schrieb:
>>>2) When I stop a vserver I get the following but it does infact stop.
>>> Any ideas as to how to correct this?
>
>
>>>sudo vserver-stat
>>>CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
>>>0 32 33.5M 3K 0m35s20 0m30s27 16h26m54 root server
>>>49187 4 7.4M 767 0m00s14 0m00s60 1m06s54 crux03
>
>
>>sidenote: please don't use dynamic contexts for vserver
>>guests, make them fixed ...
>
>
>>>sudo vserver crux03 stop
>>>vkill: vc_ctx_kill(): No such process

in the vserver.stop script i have changed the line :

      $_VKILL -s INT -- "$initpid" || fail=1
to
     $_VKILL -c "$S_CONTEXT" -s INT -- "$initpid" || fail=1

>>>Vserver '/usr/local/etc/vservers/crux03' still running unexpectedly;
>>>please investigate it manually...

I think there is a problem with init based vservers.
Maybe not in general but if the host is SuSE based.
Vkill signals init to shutdown and immediately after that,
vserver.stop tries to stop the vserver but the rc script is still
running.
I'm wrong ?

Dieter

>
>
>>this might be related to an issue we are investigating
>>right now, is your guest init based?
>
>
> Thanks for the contexts tip.
>
> Not sure if I understand your question. Yes it uses init.
> Inside the vserver:
> ps -ef
> UID PID PPID C STIME TTY TIME CMD
> root 1 0 0 08:35 ? 00:00:00 init [2]
> root 24496 1 0 08:35 ? 00:00:00 /usr/sbin/syslogd
> root 24509 1 0 08:35 ? 00:00:00 /usr/sbin/crond
> root 24514 1 0 08:35 ? 00:00:00 /usr/sbin/sshd
>
> ls -la /etc/inittab
> -rw-r--r-- 1 root root 604 Apr 4 12:09 /etc/inittab
>
> If you need anything else just let me know
> thanks
> sig
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


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 Thu 07 Apr 2005 - 19:11:01 BST by hypermail 2.1.3