Linux 重啓網卡失敗 Job for network.service failed because the control process exited with error code. See

linux下重啓網卡使用命令 : service network restart 時報錯:linux

[root@slave01 hadoop]# service network restart
Starting 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.
                                                           [失敗]
[root@slave01 hadoop]#  journalctl -xe
10月 09 17:39:20 slave01 network[12763]: 正在打開環回接口: [  肯定  ]
10月 09 17:39:20 slave01 NetworkManager[730]: <info>  [1539077960.4630] audit: op="conn
10月 09 17:39:20 slave01 network[12763]: 正在打開接口 ens33: 錯誤:激活鏈接失敗:No su
10月 09 17:39:20 slave01 network[12763]: [失敗]
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 network[12763]: RTNETLINK answers: File exists
10月 09 17:39:20 slave01 systemd[1]: network.service: control process exited, code=exit
10月 09 17:39:20 slave01 systemd[1]: Failed to start LSB: Bring up/down networking.
-- Subject: Unit network.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit network.service has failed.
-- 
-- The result is failed.
10月 09 17:39:20 slave01 systemd[1]: Unit network.service entered failed state.
10月 09 17:39:20 slave01 systemd[1]: network.service failed.
10月 09 17:39:20 slave01 polkitd[725]: Unregistered Authentication Agent for unix-proce

解決以下oop

執行以下命令:

stop NetworkManager
systemctl disable NetworkManager

而後:重啓網卡:
systemctl restart network
相關文章
相關標籤/搜索