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

centos7重启网络 Failed to start LSB: Bring up/down networking_第1张图片

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

                当然,换成dhcp也可以


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

你可能感兴趣的:(linux)