Solution to Failed to start LSB: Bring up/down networking when starting CentOS

Solution to Failed to start LSB: Bring up/down networking when starting CentOS

I encountered this problem on a physical server. In order to avoid forgetting, I recorded it down so that I can search for it myself next time. The operating system installed on the independent server involved was centos7.*. The network was disconnected for no reason. I logged in through KVM and restarted the network, but it was also stuck. When I restarted the operating system, I found the prompt as shown in the title during startup, as shown in the figure below:

A start job is running for LSB: Bring up/down networking(**s / 5min 5s)

This process will not end until 5 minutes and 5 seconds have passed, and then report failure: Failed to start LSB: Bring up/down networking

There are generally two solutions on the Internet. One of them is to disable NetworkManager. After I handle it, the network is restored. Execute the command:

 systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl restart network

Another way of saying it is that you need to add the MAC address to the network configuration file:

HWADDR=**:**:**:**.** (can be viewed via the ip addr command)

However, although I restored the network by disabling NetworkManager, the same problem occurred after the server was restarted and I needed to operate again. I don't know why. Friends who have encountered this problem and solved it completely are welcome to share. My solution is simple and crude: after the network is restored, back up the data to a different location, and reinstall the whole thing directly, and it's OK.

<<:  Free VPS, Free VPS Merchants with $50-100, Free Trial VPS

>>:  Aoyou Hosting Hong Kong CN2 High Defense VPS Simple Test

Recommend

Let's talk about network equipment

My home was recently renovated. As a computer pro...

GreenCloudVPS 8th Anniversary Event, 50% off on annual VPS

GreenCloudVPS released an email about its 8th ann...

Why does TCP need three handshakes and four waves?

[[402116]] This article is reprinted from the WeC...

The industry chain works together to make great progress in 5G messaging

2020 is a critical year for my country's 5G c...

China Huaxin and Nokia jointly established "Shanghai Nokia Bell"

China Huaxin Post and Telecommunications Economic...

Finally someone explained the role of OSI and TCP clearly

I have mentioned the OSI reference model and the ...