Yesterday CentOS 6.5 was released and if you’ve not already seen this, you will likely see floods of tickets come in because when you upgrade an OpenVZ container to CentOS 6.5 and reboot, it will lose all network connectivity.
No active network interfaces:
[root@test ~]# ifconfig [root@test ~]#
We cant bring interfaces up either:
[root@test log]# service network restart Shutting down loopback interface: [ OK ] FATAL: Module ipv6 not found. Bringing up loopback interface: RTNETLINK answers: Operation not supported Failed to bring up lo. [FAILED] Bringing up interface venet0: RTNETLINK answers: Operation not supported Failed to bring up venet0. [FAILED] FATAL: Module ipv6 not found.
How to solve (CentOS 6 64Bit):
Until the OpenVZ developers create an official fix, you can downgrade the iproute package as follows:
1. From your OpenVZ Hostmachine, download the old RPM:
2. Copy this inside the container:
# cp /root/iproute-2.6.32-23.el6.x86_64.rpm /vz/private/<CTID>/root/
3. Console into the VPS, forcefully remove the current iproute package, and replace with old one:
# vzctl enter <CTID>
# rpm -e iproute-2.6.32-31.el6.x86_64 –nodeps
# rpm -ivh /root/iproute-2.6.32-23.el6.x86_64.rpm
4. Restart the network service
# service network restart
Don’t forget if you have automated yum updates configured (e.g. cPanel does this), add iproute* to the exclude= line in /etc/yum.conf for the time being.
If this fix doesn’t work for you please let me know as we would be interested to hear about it!
Source : http://www.webhostingtalk.com/showthread.php?t=1327600