Hello Sig,
[EMAIL PROTECTED] 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=1Vserver '/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 [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
