Job for network.service failed because the control process exited with error code. See "systemc的解决办法

问题概述

关于这个问题,博主是在虚拟机迁移的过程中遇到的,迁移完成后,需要对网络进行重新分配,配置完成后,重启网络服务时,报错:“  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 network.service failed because the control process exited with error code. See

查看网络状态,输入命令 “ systemctl status network.service ”,如下图:

Job for network.service failed because the control process exited with error code. See

 

网络服务启动失败的!!!

 

 

解决办法

排查了一会,最后发现是多了一个网络配置文件,如下图:

Job for network.service failed because the control process exited with error code. See

 

原因就是这个old文件导致的网络服务启动失败的,删除掉这个old文件,发现再次重启网络服务时,尽然OK咯

1、删除old文件,输入命令 “ rm -rf ifcfg-ens33.old ”;

2、重启网络服务,输入命令 “ systemctl restart network.service ”;

3、查看网络服务是否启动成功,输入命令 “ systemctl status network.service ”,如下图:

Job for network.service failed because the control process exited with error code. See

 

 

 

 


 好了,关于 Job for network.service failed because the control process exited with error code. See "systemc的解决办法 就写到这儿了,如果还有什么疑问或遇到什么问题欢迎扫码提问,也可以给我留言哦,我会一一详细的解答的。 
歇后语:“ 共同学习,共同进步 ”,也希望大家多多关注CSND的IT社区。


作       者: 华    仔
联系作者: [email protected]
来        源: CSDN (Chinese Software Developer Network)
原        文: https://blog.csdn.net/Hello_World_QWP/article/details/101162295
版权声明: 本文为博主原创文章,请在转载时务必注明博文出处!

你可能感兴趣的:(Linux)