Paused system

Hello,

I wanted to use OpenVz so I installed the following on my Cloudmin pro.

apt-get install linux-image-openvz-amd64 vzctl vzquota

I was then able to create an OpenVz container but if I want to stop|restart the newly created openvz vm, I just get system paused which I can't get out of even after deleting the lock file as suggested in one of the OpenVz forums. Could this be because I am using Debian 6.0 on an amd64?

  • jaldeguer
Status: 
Closed (fixed)

Comments

Where are you seeing this paused status for the VM exactly?

It appears in the VM status.

That is unusual, I have never seen a VM get stuck in the paused state like that.

What happens if you SSH into the host system as root and forcibly restart it with the commands :

vzctl stop XXX
vzctl start XXX --wait

where XXX is the context ID of the OpeVZ instance, shown by the vzlist -a command.

I tried both commands and these were the results I got "container already locked"

I went into /vz/lock deleted the CTID of the container then tried this command which I found suggested in the openvz forums,

vzctl chkpnt VEID --kill

But I just got an error back "The container is already running." Looking back in the status of the VM it still indicates system is paused. Trying to un-paused it again under the system state menu then refresh status still gets the same result "Status Paused."

Also this host has only one VM but my memory consumption is near my max memory of 8 Gigs. Here are some of the processes running using the most Ram. I suspect the high memory usage was when I tried to create a KVM earlier which never succeeded but always crashed Webmin. I wanted to make you aware of this in case it helps to diagnose the problem I am having.

ID Owner Size Command
15436 root 9184604 kB /usr/share/webmin/server-manager/create.cgi
15978 root 9184604 kB /usr/share/webmin/server-manager/create.cgi
18322 root 9184340 kB /usr/share/webmin/server-manager/create.cgi
14948 root 9181172 kB /usr/share/webmin/server-manager/create.cgi
1539 root 207916 kB /usr/sbin/libvirtd -d
1540 bind 129356 kB /usr/sbin/named -u bind
27011 root 101256 kB /usr/share/webmin/proc/index_size.cgi
1969 root 98208 kB /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf

Try killing those create.cgi processes to start with - they are the script that creates a new VM in Cloudmin.

I'm not sure what is happening here if you cannot even fix the VM using command-line OpenVZ tools.I'd suggest asking OpenVZ experts for more details ..

[SOLVED]

I was able to fix it by installing this.

apt-get install linux-headers-2.6.32-5-openvz-amd64

It also installed other related packages which amounted to 75 MB of data. After rebooting, I am now able to start|stop|restart in other words manage the vm container successfully using Cloudmin.

You guys have put together an awesome set of tools to manage an openvz container!

My next task is to test out backup and restores.

Ok, great!

When you installed that package, did any other packages get installed as dependencies? Just a kernel-headers package shouldn't have done much, as it just contains files used for development.

Yes it did install other packages as dependecies. I should have noted it down. But I do remember it saying "will install a total of 75 MB of packages."

Automatically closed -- issue fixed for 2 weeks with no activity.