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

Brief discussion: What is cloud network?

The future of cloud is bright. By 2024, more than...

There is a new way to attack wireless routers, and the password is dangerous

A new way to attack wireless routers has been dis...

The 5G Spring Festival Gala is coming, but who will ensure its security?

The Chinese New Year is getting closer and closer...

10 bad habits network administrators should avoid at all costs

Every enterprise network consists of devices that...

Weird! 5G networking using option 6?

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

Juniper CEO: The strategy driving Juniper's general direction is cloud

Juniper announced its first quarter 2017 revenue ...

Asia seizes first-mover advantage, 5G is expected to arrive in 2018

The 5G era is upon us, and with this new wireless...