A bug has been found that causes a segfault in vzctl. This bug will cause several functions in SolusVM not to work, the main one being allocation of restricted memory for a vps (allowing full host memory for a vps). The bug is not in SolusVM, but the standard OpenVZ tools. Use the instructions below to downgrade vzctl if you have version 3.0.25-1 installed.
Check the version of vzctl you have installed:
Remove version 3.0.25-1:
Download and install version 3.0.24-1:
For a 64bit host:
For a 32bit host:
If you have the memory issue with any vps you will need to reboot the vps to set the correct memory.
------------
Also if you don't want vzctl to be upgraded automatically with the yum update command
do the following :
edit /etc/yum.conf
add the following line in [main] section:
do this temporarily until a new fixed vzctl will be released
Best Regards
Check the version of vzctl you have installed:
Code:
rpm -qa | grep vzctl
Code:
yum remove vzctl vzctl-lib
For a 64bit host:
Code:
cd /usr/src
wget http://download.openvz.org/utils/vzctl/3.0.24/vzctl-3.0.24-1.x86_64.rpm
wget http://download.openvz.org/utils/vzctl/3.0.24/vzctl-lib-3.0.24-1.x86_64.rpm
rpm -ihv vzctl-3.0.24-1.x86_64.rpm vzctl-lib-3.0.24-1.x86_64.rpm
Code:
cd /usr/src
wget http://download.openvz.org/utils/vzctl/3.0.24/vzctl-3.0.24-1.i386.rpm
wget http://download.openvz.org/utils/vzctl/3.0.24/vzctl-lib-3.0.24-1.i386.rpm
rpm -ihv vzctl-3.0.24-1i386.rpm vzctl-lib-3.0.24-1.i386.rpm
------------
Also if you don't want vzctl to be upgraded automatically with the yum update command
do the following :
edit /etc/yum.conf
Code:
vi /etc/yum.conf
add the following line in [main] section:
Code:
exclude=vzctl*
do this temporarily until a new fixed vzctl will be released
Best Regards