Centos7 failed to restart the network

1. The centos7 Ali image is installed on the local virtual machine, and
modifies ONBOOT=yes in / etc/sysconfig/network-scripts/ifcfg-ens33 . Then systemctl restart network.service

2. systemctl status network.service found that it was not successful. The error message is as follows:

clipboard.png

3. Baidu"s answers are always copied from each other on, Stack Overflow, but no solution has been found. It has tried various solutions
the following solutions have not been solved

systemctl stop NetworkManager
systemctl disable NetworkManger
systemctl restart network.service

didn"t succeed either.
I hope you can help me with this problem that has been bothering me for a long time. The same image file, installed on my computer at home, can restart the network, but not on the company computer. It"s annoying

Nov.02,2021

whether the virtual network card service of the virtual machine is started. If there is no way, you can try to reinstall it

.
Menu