有關linux中出現systemctl status network.service" and "journalctl -xe" for details.


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 linux----------啟動network的時候報錯Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. 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. Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. docker 報錯: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. docker 啟動失敗 Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details. Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xe" for details. 啟動Nginx服務失敗:Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. 啟動Jenkins報錯"Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details."解決辦法
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM