CentOS7啟動網路服務提示:Failed to start LSB: Bring up/down networking.
詳細報錯資訊如下:
[[email protected] ~]# systemctl status network.service
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network)
Active: failed (Result: exit-code) since Mon 2018-09-10 21:13:29 CST; 8h ago
Docs: man:systemd-sysv-generator(8)
Process: 872 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
Sep 10 21:13:29 org11 network[872]: Could not load file '/etc/sysconfig/net...o'
Sep 10 21:13:30 org11 network[872]: Could not load file '/etc/sysconfig/net...o'
Sep 10 21:13:30 org11 network[872]: Could not load file '/etc/sysconfig/net...o'
Sep 10 21:13:30 org11 network[872]: [ OK ]
Sep 10 21:13:29 org11 network[872]: Bringing up interface eno33554984: Err...n.
Sep 10 21:13:29 org11 network[872]: [FAILED]
Sep 10 21:13:29 org11 systemd[1]: network.service: control process exited, ...=1
Sep 10 21:13:29 org11 systemd[1]: Failed to start LSB: Bring up/down networking.
Sep 10 21:13:29 org11 systemd[1]: Unit network.service entered failed state.
Sep 10 21:13:29 org11 systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
檢查/etc/sysconfig/network-scripts下配置檔案中和ip addr比對無異常。
解決辦法:
systemctl stop NetworkManager
systemctl disable NetworkManager
//停止NetworkManager服務,並禁止開機啟動
然後重啟網路服務:
systemctl restart network.service 恢復正常