有关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