centos7重启网络报错"Job for network.service failed"

来源:互联网 发布:linux 查看用户 编辑:程序博客网 时间:2024/06/05 08:44

1.centos7配置静态IP没有生效,查看配置没有问题,于是使用systemctl restart network.service ,但是报错

$ sudo service network restart
Restarting network (via systemctl): Job for network.service failed. See *systemctl status network.service* and *journalctl -xn* for details.


2.一番百度之后(http://blog.csdn.net/zkja595470467/article/details/53007915)试过这个链接提供的方法,但是还是不行

跟我其他的centos7比较发现 /etc/udev/rules.d/  文件下不存在70-persistent-net.rules,于是删除该文件.


3.重新执行systemctl restart network.service 生效





阅读全文
0 0
原创粉丝点击