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

今天在虚拟机内 CentOS 7 启动网卡配置后,发现network服务重启不了,查遍全网,尝试各种方法,终于解决。

重启网络服务命令后:sudo 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.

解决方法:

1.虚拟机的网络适配器是否连接成功(无法将 Ethernet0连接到虚拟网络 VMnet8)

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

实际上90%都是网络适配器未连接成功,导致centos 网络服务启动失败。

解决方案:
编辑->虚拟网络编辑器->更改设置->选中连接失败的适配器->还原默认设置->确定即可
Job for network.service failed because the control process exited with error code问题
Job for network.service failed because the control process exited with error code问题
Job for network.service failed because the control process exited with error code问题
Job for network.service failed because the control process exited with error code问题

2.查看下你电脑有没有禁用了VMware DHCP service和VMware NAT service 这几个vm服务,如果禁用则开启。

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

上一篇:CTF web之旅41


下一篇:Web04 Ajax