Linux【7】-网络管理3-Failed to start LSB

报错信息:

[root@C01 bin]# service network restart
Restarting network (via systemctl):  Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
                                                           [FAILED]
[root@C01 bin]# 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 Fri 2018-03-30 16:09:09 CST; 13s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 33827 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
   CGroup: /system.slice/network.service
           └─40784 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-94b1a053-40ba-4af2-80ad-9037e0014bdb-enp0s29f0u2.lease -pf /var/run/dhclient-enp0s29f0u2.pi...

Mar 30 16:09:09 C01 network[33827]: RTNETLINK answers: File exists
Mar 30 16:09:09 C01 network[33827]: RTNETLINK answers: File exists
Mar 30 16:09:09 C01 network[33827]: RTNETLINK answers: File exists
Mar 30 16:09:09 C01 network[33827]: RTNETLINK answers: File exists
Mar 30 16:09:09 C01 network[33827]: RTNETLINK answers: File exists
Mar 30 16:09:09 C01 network[33827]: RTNETLINK answers: File exists
Mar 30 16:09:09 C01 systemd[1]: network.service: control process exited, code=exited status=1
Mar 30 16:09:09 C01 systemd[1]: Failed to start LSB: Bring up/down networking.
Mar 30 16:09:09 C01 systemd[1]: Unit network.service entered failed state.
Mar 30 16:09:09 C01 systemd[1]: network.service failed

我的解决方法:

cd /etc/sysconfig/network-scripts/

然后只保留一个网卡eno,怀疑是网卡冲突

讨论

这个问题很诡异,问题肯定是网卡的问题,在网上找了很久,其他人的一些解决方法并不适用我们,这里也就不做记录了吧。。。

参考资料:

PS: 感谢宾文陪我一起解决这个问题

个人公众号,比较懒,很少更新,可以在上面提问题,如果回复不及时,可发邮件给我: tiehan@sina.cn

Sam avatar
About Sam
专注生物信息 专注转化医学