systemctl start network 启动网卡服务报错
[root@apache ~]# systemctl restart network
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” and “journalctl -xe” for details.
解决思路查看错误日志
systemctl status network.service
或
journalctl -xe
- 提示信息:
正在打开接口 ens33: 错误:激活连接失败:No suitable device found for this connection.
- 查看网卡信息,发现虚拟网卡丢失
解决方法
systemctl stop NetworkManager
systemctl restart network
- 查看相关信息