OpenVZ servers don't start 2 Print

  • 0

If you have followed our first article "OpenVZ servers don't start", please try the following:

Use this command: cat 50 /var/log/vzctl.log

At the bottom of that see the last lines, if they are something like this:

2015-06-25T11:19:50-0400 vzctl : CT 128 : Container config file does not exist
2015-06-25T11:19:50-0400 vzctl : CT 128 : Container config file does not exist
2015-06-25T11:21:35-0400 vzctl : CT 128 : WARNING: /etc/vz/conf/128.conf not found: No such file or directory
2015-06-25T11:21:35-0400 vzctl : CT 128 : CT configuration saved to /etc/vz/conf/128.conf
2015-06-25T11:21:47-0400 vzctl : CT 128 : Restarting container
2015-06-25T11:21:47-0400 vzctl : CT 128 : Container private area /vz/private/128 does not exist
2015-06-25T11:23:22-0400 vzctl : CT 128 : Container private area /vz/private/128 does not exist
2015-06-25T11:23:28-0400 vzctl : CT 128 : Container is not running
2015-06-25T11:23:28-0400 vzctl : CT 128 : Container is not running

Here's how we fixed it:

cd /etc/vz/conf/
ls -al
chown root:solusvm ./128.conf
cp ./ve-128.conf-sample ./ve-128.conf
chown root:solusvm ./ve-128.conf
cp ./ve-vswap-solus.conf-sample ./ve-vswap-solus.conf
cd /vz/private/
ls -al

There was no 128 folder, so we made it mkdir 128

Please note your container ID will be different.


Was this answer helpful?

« Back