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

3 Reasons Your IoT Needs SD-WAN

We live in an era of fast-paced digital transform...

There are about 180 million users of 5G packages using 4G terminals

Recently, the net increase in 5G package users of...

I heard that the client will disappear within three years.

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

CMIVPS: 350 yuan/year-1GB/20GB NVMe/1.5TB@1Gbps/Seattle/High Defense VPS

Many friends have given good feedback on SpartanH...

Can 20M Wi-Fi be used as 100M broadband? Let me share some knowledge

Sometimes I hear friends ask such questions: My r...

Fiber pre-entry: A new strategy to accelerate FTTH deployment

With the progress and development of human societ...

Challenges of managing applications

One of the most important lessons that businesses...