Hi guys,
When you are restarting networking service on VPS then it is showing an error as below :-
Quote[root@your server]# 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.
This error occur due to the iproute package was upgraded. To solve this error follow the steps as below :-
For 32-bit systems :- Login into node via ssh.
Quote#cd /vz/private/CTID/usr/local/src
# wget http://repo.smartservermanagement.com/misc/iproute-2.6.32-23.el6.i686.rpm
# vzctl enter <CTID>
# uname -r
# rpm -e iproute-2.6.32-31.el6.i686 –-nodeps
# rpm -ivh iproute-2.6.32-23.el6.i686.rpm --nodeps
# service network restart
For 64-bit systems :- Login into node via ssh.
Quote#cd /vz/private/CTID/usr/local/src
# wget http://vault.centos.org/6.4/os/x86_64/Packages/iproute-2.6.32-23.el6.x86_64.rpm
# vzctl enter <CTID>
# uname -r
# rpm -e iproute-2.6.32-31.el6.x86_64 --nodeps
# rpm -ivh iproute-2.6.32-23.el6.x86_64.rpm --nodeps
# service network restart
Enjoy !!!