首页 > Web开发 > 详细

Linux 重启网卡失败 Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.

时间:2018-10-09 19:44:28      阅读:3521      评论:0      收藏:0      [点我收藏+]

标签:agent   gis   ado   linux   nag   ger   systemctl   exist   连接失败   

linux下重启网卡使用命令 : service network restart 时报错:

[[email protected] 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.
                                                           [失败]
[[email protected] 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

解决如下

执行如下命令:

stop NetworkManager
systemctl disable NetworkManager

然后:重启网卡:
systemctl restart network

Linux 重启网卡失败 Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.

标签:agent   gis   ado   linux   nag   ger   systemctl   exist   连接失败   

原文:https://www.cnblogs.com/hts-technology/p/9762249.html

(0)
(0)
   
举报
评论 一句话评论(0
© 2014 bubuko.com 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号