Group: Member 
Post Group: Working Newbie
Posts: 71
Status: 
|
Quote From : asim_shaikh February 20, 2017, 9:06 am Quote 1) ssh to the server that having trouble restarting vps, and commend vzctl stop CTID 2) on other screen, try to restart the vps and check if it is still delaying?
1. Open 2 SSH windows of the node on which the VPS is created.
2. In one window enter the VPS using "vzctl enter CTID" (assume window 1)
3. On the other window execute "vzctl restart CTID", this command will restart your container (assume window 2).
Now after executing restart command in window 2 you can see the container processes being shutdown and restarted again in window 1 which can help us in debugging why the restart from panel is taking so much time.
when i restart it,
-----------------------
windows 1 displays
-----------------------
'got signal 15' then 'exited from CT xxxx'
then get out of the CT so then i can't debug at all.
--------------------------
windows 2 displays
--------------------------
Restarting container
Stopping container ...
Container was stopped
Container is unmounted
Starting container...
Container is mounted
Adding IP address(es): 144.217.xxx.xxx
Setting CPU limit: 100
Setting CPU units: 1000
Setting CPUs: 1
Setting devices
insserv: warning: script 'wide-dhcpv6-client' missing LSB tags and overrides
Container start in progress...
and then i need to wait 15 minute then i am able to ping that address 144.217.xxx.xxx and then access the VPS.
|