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

Do you know how wireless networks developed?

MediaTek recently released its flagship 5G mobile...

The difference between NFV automation and NFV orchestration

NFV automation and NFV orchestration have overlap...

2017 Inspur Cisco Network Strategy Conference is about to be held

On November 15, 2017, Inspur Cisco Network will h...

What happens if Keep-Alive is disabled on the client and enabled on the server?

This article is reprinted from the WeChat public ...

Artificial intelligence builds an iron wall of network security

Every moment, thousands of scientists around the ...

Why is Telnet insecure? Let's take a look at usernames and passwords

Once upon a time, Telnet was my favorite remote l...

Vietnam to phase out 2G and 3G services from 2022

According to foreign media, Vietnam's Ministr...