Job for network.service failed because the control process exited with error code
>**[root@mina0 hadoop]# systemctl restart network Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
針對上面報錯
[root@mina0 hadoop]# journalctl -xe 10月 26 17:15:57 mina0 network[3308]: 正在打開環回接口: [ 確定 ] 10月 26 17:15:57 mina0 NetworkManager[679]: <info> [1509009357.3386] audit: op="connec 10月 26 17:15:57 mina0 network[3308]: 正在打開接口 ens33: 錯誤:激活連接失敗:No suita 10月 26 17:15:57 mina0 network[3308]: [失敗] 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 polkitd[680]: Unregistered Authentication Agent for unix-process 10月 26 17:15:57 mina0 systemd[1]: network.service: control process exited, code=exited 10月 26 17:15:57 mina0 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月 26 17:15:57 mina0 systemd[1]: Unit network.service entered failed state. 10月 26 17:15:57 mina0 systemd[1]: network.service failed.
解決辦法:
第一種:有人是mac地址的問題
更改了物理網卡或者增加了新設備,或者是克隆時沒有完全鏈接克隆,那么只需要在網絡配置文件中加上
HWADDR=XXXXXX 就行了,但是 往往都不能有效結果該問題
通過觀察
那么最粗暴直接的辦法就是第三種:


第二種:有人是直接VMware下面的連接斷開了 或者說沒有設置啟動自動連接

那么第三種就是觀察日志發現有個 NetworkManager的網絡服務組件,對他進行以下操作就可以了
[root@mina0 hadoop]# systemctl stop NetworkManager [root@mina0 hadoop]# systemctl disable NetworkManager
然后:重啟網卡:
[root@mina0 hadoop]# systemctl restart network
