解决linux中Job for network,service failed because the control process exited with error code,网络问题

首先看问题:

执行service network restart命令后出现下面的错误:

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

 当你输入ifconfig查看ip地址时:

 发现ems-33缺失:

解决方案:

  1. service NetworkManager stop  #解决网络冲突
  2. chkconfig NetworkManager off  #禁止开机自启动
  3. service network restart  #重启网络
     
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用和提供了关于重启网络服务时遇到错误的信息,其报错信息是"Job for network.service failed because the control process exited with error code." 这个报错信息告诉我们网络服务的控制进程退出时出现了错误代码。为了获取更详细的信息,我们可以运行命令"systemctl status network.service"和"journalctl -xe"。根据引用的解释,这两个命令分别用于查看网络服务的状态和获取详细的错误信息。所以,如果你遇到了"job for network service failed because the control process exited with error code"的错误,可以尝试运行"systemctl status network.service"和"journalctl -xe"命令来获取更多的信息,以便进一步排查和解决问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [解决 Linux 网络Job for network.service failed because the control process exite”问题](https://blog.csdn.net/VariatioZbw/article/details/107482739)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [Job for network.service failed because the control process exited with error code.](https://blog.csdn.net/weixin_53572775/article/details/119654356)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值