centos7重启网络 Failed to start LSB: Bring up/down networking

本来机器好好的,突然发现虚拟机上不了网,ifconfig一看,ip没有了,遂重启网卡

[root@cld network-scripts]# systemctl restart network
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[root@cld network-scripts]# 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-06-21 04:50:03 EDT; 23s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 4498 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS)
  Process: 4834 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
    Tasks: 0


Jun 21 04:49:58 cld systemd[1]: Starting LSB: Bring up/down networking...
Jun 21 04:49:58 cld network[4834]: Bringing up loopback interface:  [  OK  ]
Jun 21 04:49:58 cld network[4834]: Bringing up interface eth0:  [  OK  ]
Jun 21 04:50:03 cld network[4834]: Bringing up interface eth1:  [  OK  ]
Jun 21 04:50:03 cld network[4834]: Bringing up interface br0:  ERROR     : [/etc/sysconfig/network-scripts/ifup-eth] Error, some other host (9E:89:7D:9E:11:82) already uses address 192.168.0.201.
Jun 21 04:50:03 cld network[4834]: [FAILED]
Jun 21 04:50:03 cld systemd[1]: network.service: control process exited, code=exited status=1
Jun 21 04:50:03 cld systemd[1]: Failed to start LSB: Bring up/down networking.
Jun 21 04:50:03 cld systemd[1]: Unit network.service entered failed state.
Jun 21 04:50:03 cld systemd[1]: network.service failed.

[root@cld network-scripts]# 

百度,网卡配错了,NetworkManager要关,等等各种都试了,然而还是不行

只能查看系统报错了

遂 grep network /var/log/message


原来ip重了,然后把static ip换了一下,重启,网络正常

                当然,换成dhcp也可以


不能迷信百度了,还是自个儿查吧

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值