OpenVZ Forum


Home » General » Support » OpenVZ on Ubuntu 16.04 (ERROR: Failed to mount API filesystems, freezing.)
OpenVZ on Ubuntu 16.04 [message #52495] Fri, 05 August 2016 15:50 Go to previous message
pain15 is currently offline  pain15
Messages: 2
Registered: August 2016
Junior Member
I have installed OpenVZ kernel on plain Ubuntu 16.04. When I tried to boot into the OpenVZ kernel (2.6.32-042stab116.2) I get the following error:

ERROR: Failed to mount API filesystems, freezing.

I have successfully booted into OpenVZ kernel on Ubuntu 14.04 but I'm facing issues with Ubuntu 16.04.

Could help me out as I need to compare performance of LXC and Openvz live migration on Ubuntu 16.04.

Your suggestion would be helpful to me.

Thanking you in anticipation.

Steps followed:

wget -P /etc/yum.repos.d/ https://download.openvz.org/openvz.repo

rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ

cd /tmp

wget https://download.openvz.org/kernel/branches/rhel6-2.6.32/042 stab116.2/vzkernel-2.6.32-042stab116.2.x86_64.rpm
wget https://download.openvz.org/kernel/branches/rhel6-2.6.32/042 stab116.2/vzkernel-devel-2.6.32-042stab116.2.x86_64.rpm
wget https://download.openvz.org/utils/vzctl/4.9/vzctl-4.9-1.x86_ 64.rpm
wget https://download.openvz.org/utils/vzctl/4.9/vzctl-core-4.9-1 .x86_64.rpm
wget https://download.openvz.org/utils/ploop/1.15/ploop-1.15-1.x8 6_64.rpm
wget https://download.openvz.org/utils/ploop/1.15/ploop-lib-1.15- 1.x86_64.rpm
wget https://download.openvz.org/utils/vzquota/3.1/vzquota-3.1-1. x86_64.rpm

apt-get install fakeroot alien libcgroup1

fakeroot alien --to-deb --scripts --keep-version vz*.rpm ploop*.rpm

dpkg -i vz*.deb ploop*.deb

selinuxenabled && echo enabled || echo disabled
echo "SELINUX=disabled" > /etc/sysconfig/selinux

Add following parameters to /etc/sysctl.conf file
# On Hardware Node we generally need
# packet forwarding enabled and proxy arp disabled
net.ipv4.ip_forward = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0

# Enables source route verification
net.ipv4.conf.all.rp_filter = 1

# Enables the magic-sysrq key
kernel.sysrq = 1

# We do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzquota on, disable recalculating disk usage after force quota off (-f)
Next Topic: RHEL5/CentOS5 CVE-2017-5754
Goto Forum:
  


Current Time: Tue Mar 19 05:38:35 GMT 2024

Total time taken to generate the page: 0.02309 seconds