Issue : I got this error while restarting the network service. Also ifconfig shows nothing on the vps.
——————-
# 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.
———————-
Solution :
The issue was with iproute package. The package got updated automatically and it was not excluded in yum updates. To fix the issue, you need to downgrade the package iproute.
Login to the main node and download the RPM as per the arch.
[root@node9 ~]# wget http://repo.smartservermanagement.com/misc/iproute-2.6.32-23.el6.x86_64.rpm
Then copy it to vps.
[root@node9 ~]# cp iproute-2.6.32-23.el6.x86_64.rpm /vz/private/<vpsid>/fs/root/
After that enter to the vps
vzctl enter <vpsid>
Then run the following command.
rpm -qa |grep iproute
You will get the current iproute package versiom
ie;
root@server [~]# rpm -qa |grep iproute
iproute-2.6.32-31.el6.x86_64
Now remove the old package and install newly downloaded version.
root@server [/]# rpm -e iproute-2.6.32-31.el6.x86_64 –nodeps
Go to the location where you copy the file from node and install it.
root@server [/]# rpm -ivh iproute-2.6.32-23.el6.x86_64.rpm
Try to restart network now and run ifconfig after that.
That’s all……….!!!
Recent Comments