CentOS7 Failed to start LSB: Bring up/down解决方法

[root@localhost ~]# systemctl status network.service
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2018-10-11 20:37:34 PDT; 58s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3183 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS)
  Process: 3906 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Oct 11 20:37:34 localhost.localdomain network[3906]: RTNETLINK answers: File exists
Oct 11 20:37:34 localhost.localdomain network[3906]: RTNETLINK answers: File exists
Oct 11 20:37:34 localhost.localdomain network[3906]: RTNETLINK answers: File exists
Oct 11 20:37:34 localhost.localdomain network[3906]: RTNETLINK answers: File exists
Oct 11 20:37:34 localhost.localdomain network[3906]: RTNETLINK answers: File exists
Oct 11 20:37:34 localhost.localdomain network[3906]: RTNETLINK answers: File exists
Oct 11 20:37:34 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
Oct 11 20:37:34 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
Oct 11 20:37:34 localhost.localdomain systemd[1]: Unit network.service entered failed state.
Oct 11 20:37:34 localhost.localdomain systemd[1]: network.service failed.
Unit use.service could not be found.

百度答案:

mac地址不对,修改mac地址。

也许有人确实是mac问题,但是莫名其妙怎么可能mac地址更改了,除非你添加新网卡或者克隆的虚拟机。

我特么真笑了,天下百度文章一大抄啊。。。。。。。。

没办法了,Google一下吧,偶然看到一个文章,大意是跟系统自带的NetworkManager这个管理套件有关系,关掉就可以解决。

 

试一下:

systemctl stop NetworkManager

systemctl disable NetworkManager

[root@localhost ~]# systemctl stop NetworkManager
[root@localhost ~]# systemctl disable NetworkManager
Removed symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.

网络正常启动,访问正常。

转载于:https://www.cnblogs.com/kevinleerunqing/p/9777410.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值