CentOS7重启网络服务失败。
环境:VirtualBox 5.8 CentOS7 1708
网卡:三张网卡分别为NAT,桥接,Host-Only
[root@node250 network-scripts]# systemctl status network
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2018-03-12 15:19:58 CST; 2min 27s ago
Docs: man:systemd-sysv-generator(8)
Process: 2999 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
Mar 12 15:19:58 node250 network[2999]: RTNETLINK answers: File exists
Mar 12 15:19:58 node250 network[2999]: RTNETLINK answers: File exists
Mar 12 15:19:58 node250 network[2999]: RTNETLINK answers: File exists
Mar 12 15:19:58 node250 network[2999]: RTNETLINK answers: File exists
Mar 12 15:19:58 node250 network[2999]: RTNETLINK answers: File exists
Mar 12 15:19:58 node250 network[2999]: RTNETLINK answers: File exists
Mar 12 15:19:58 node250 systemd[1]: network.service: control process exited, code=exited status=1
Mar 12 15:19:58 node250 systemd[1]: Failed to start LSB: Bring up/down networking.
Mar 12 15:19:58 node250 systemd[1]: Unit network.service entered failed state.
Mar 12 15:19:58 node250 systemd[1]: network.service failed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用NetworkManager管理网络
1.确保每个网卡配置中有NM_CONTROLLED=yes
2.
systemctl stop NetworkManager
3.
systemctl start NetworkManager
4.
yum list