Linux:Job for network.service failed because the control process exited with error code
Linux:Job for network.service failed because the control process exited with error code
该问题是因为网卡问题导致网络无法ping通,外部连接工具无法通过ip和端口连接linux
查看网络连接状态
#查看网络连接状态
systemctl status network
报错
解决方法
#关闭NetWork Manager然后重启network
systemctl stop NetworkManager
systemctl start network
#将网络管理禁用,不然下次重启还需要在进行一次相同的操作
systemctl disable NetworkManager
#重启网卡服务
systemctl restart network
#试着ping
ping 8.8.8.8
此时网络恢复,外部连接工具也可以连接linux了