Downgrading vzctl for Solusvm

Written by admin on November 22, 2014. Posted in Basic Linux

In some servers installing SolusVM often installs vzctl 4 series. However i have noticed with dedicated servers from other providers such as Server4you, your OpenVZ virtualisation wont work. The solution to this is to downgrade vzctl to the 3 series, and then disable quotas. Here is a brief instructions on how this can be done.

Open your SSH client such as Xshell, Putty or SSH secure.

Login as root and do the following

Backup the vz.conf file

# cp /etc/vz/vz.conf /etc/vz/vz.conf.moved

Remove vzctl

# yum remove vzctl vzctl-lib

#yum remove vzctl-core-4.2-1.x86_64

Install the lower version
# cd /tmp
# wget http://download.openvz.org/utils/vzctl/3.0.29.3/vzctl-3.0.29.3-1.x86_64.rpm
# wget http://download.openvz.org/utils/vzctl/3.0.29.3/vzctl-lib-3.0.29.3-1.x86_64.rpm
# rpm -ihv vzctl-3.0.29.3-1.x86_64.rpm vzctl-lib-3.0.29.3-1.x86_64.rpm
# cp /etc/vz/vz.conf.moved /etc/vz/vz.conf

Use nano disable quotas in /etc/vz/vz.conf by changing Quotas =yes  to Quotas=no

and in /etc/fstab by uncommenting the quota line

# service vz restart