Restart Issue on some containers [message #47700] |
Tue, 28 August 2012 13:20 |
imknight
Messages: 15 Registered: January 2008
|
Junior Member |
|
|
We have a strange issue on some containers where restart doesnt work cleanly
[root@vps23 ~]# date;vzctl restart 652
Tue Aug 28 14:10:43 BST 2012
Restarting container
Stopping container ...
Container was stopped
Can't umount /vz/root/652: Device or resource busy
[root@vps23 ~]# lsof 2>&1 |grep "/root/652"
As you can see nothing is running from that container
[root@vps23 ~]# date;vzlist 652
Tue Aug 28 14:13:28 BST 2012
CTID NPROC STATUS IP_ADDR HOSTNAME
652 - mounted x.x.x.x webserver.xxxxx.co.uk
A second restart however sorts this:
[root@vps23 ~]# date;vzctl restart 652
Tue Aug 28 14:13:31 BST 2012
Restarting container
Starting container ...
Can't umount /vz/root/652: Device or resource busy
Adding IP address(es): x.x.x.x x.x.x.x x.x.x.x
Setting CPU units: 120000
Setting CPUs: 2
Container start in progress...root@vps23 ~]# date;vzlist 652
Tue Aug 28 14:18:45 BST 2012
CTID NPROC STATUS IP_ADDR HOSTNAME
652 281 running x.x.x.x webserver.xxxxx.co.uk
[root@vps23 ~]#
Any ideas how this can be sorted as obviously once the users runs reboot/shutdown etc from within the container it doesnt come back up again so we have to intervene to get the container back up for them.
|
|
|