Restarting network (via systemctl): Job for network.service failed because the control process exit

ping 不通百度网站

$ ping www.baidu.com
ping: www.baidu.com: 未知的名称或服务

重启network报错

$ service network restart
Restarting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.

解决方法:关闭NetworkManager

$ systemctl stop NetworkManager
$ systemctl disable NetworkManager
# 重启network
$ systemctl start network.service

你可能感兴趣的:(小问题集中营,linux)