问题记录:
centos7(VM环境)配置完毕网卡后重启网络服务报错如下:
Process: 13467 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
11月 3 19:55:55 skyfans network[13467]: RTNETLINK answers: File exists
处理方法:
分析了好久,发现重启后网络服务和NetworkManager 服务有冲突,那么我们直接关闭 NetworkManger 服务即可。
systemctl stop NetworkManager
systemctl disable NetworkManager
chkconfig NetworkManager off