systemctl start network start network card service error solution

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.

解决思路查看错误日志

  • View log
systemctl status network.service
或
journalctl -xe
  • Prompt message:
    Opening interface ens33: Error: Failed to activate connection: No suitable device found for this connection.
    Insert picture description here
  • Check the network card information and find that the virtual network card is missing
    Insert picture description here

解决方法

  • Enter the following command to solve
systemctl stop NetworkManager
  • Restart the network card service, no error will be reported
systemctl restart network
  • View related information
    Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_42449832/article/details/111312505
Recommended