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

created at 10-20-2021 views: 24


Today, I turned on the virtual machine to prepare for a big data cluster. Since it was not turned on for a while, I found that it was not connected to the Internet after I turned it on, and even the ip address was gone after ifconfig:


There are many opinions on the Internet, most of which are to reconfigure static ip in vi /etc/sysconfig/network-scripts/ifcfg-ens33. In fact, the network card is not working, and there is only one method that works:


On the CentOS system, there are currently two network management tools, NetworkManager and network. If both are configured, it will cause conflicts. Since we generally use the network to configure static ip, it may be due to shutdown (for some reason) causing NetWorkManager to automatically configure and conflict, so just disable it.

Temporary closure

systemctl stop NetworkManager

Permanently closed

systemctl disable NetworkManager


systemctl restart network
created at:10-20-2021
edited at: 10-20-2021: