其他分享
首页 > 其他分享> > 重启网卡报错RTNETLINK answers: File exists

重启网卡报错RTNETLINK answers: File exists

作者:互联网

2019-08-10


 

时间起因

  今日搭建kvm服务器时,配置完成桥接网卡,重启网络服务之后,发现服务器IP无法访问,凭经验判断一定是网卡相关服务出现问题

查找原因

  查看网卡服务状态

systemctl status network

发现如下报错
RTNETLINK answers: File exists

  度娘查找原因,network与NetworkManager服务冲突了

  [root@localhost ~]# chkconfig --list network

   network         0:off  1:off  2:on  3:on  4;on  5:on  6:off
  [root@localhost ~]# chkconfig --list NetworkManager
   NetworkManager          0:off  1:off  2:off 3:on  4:on  5:off  6:off

解决办法

  关闭NetworkManager服务即可

systemctl stop NetworkManager     #停止NetworkManager服务
systemctl disable NetworkManager     #禁止NetworkManager服务开机启动

  然后发现,问题解决

参考文章:https://blog.csdn.net/e_wsq/article/details/77852809

标签:服务,off,network,网卡,systemctl,报错,RTNETLINK,NetworkManager
来源: https://www.cnblogs.com/fqxy/p/11332407.html