[root@ceph0 ~]# 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@ceph0 ~]# systemctl status network ● 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 二 2019-03-26 12:02:46 CST; 8s ago Docs: man:systemd-sysv-generator(8) Process: 3185106 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
[root@ceph0 ~]# tail -f /var/log/messages|grep network Mar 26 12:05:06 ceph0 systemd: Starting LSB: Bring up/down networking... Mar 26 12:05:06 ceph0 network: Bringing up loopback interface: [ OK ] Mar 26 12:05:06 ceph0 network: Bringing up interface eth0: [ OK ] Mar 26 12:05:06 ceph0 network: Bringing up interface eth1: Error: Connection activation failed: No suitable device found for this connection. Mar 26 12:05:06 ceph0 network: [FAILED] Mar 26 12:05:06 ceph0 network: Bringing up interface eth2: Error: Connection activation failed: No suitable device found for this connection. Mar 26 12:05:06 ceph0 network: [FAILED] Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 network: RTNETLINK answers: File exists Mar 26 12:05:06 ceph0 systemd: network.service: control process exited, code=exited status=1 Mar 26 12:05:06 ceph0 systemd: Failed to start LSB: Bring up/down networking. Mar 26 12:05:06 ceph0 systemd: Unit network.service entered failed state. Mar 26 12:05:06 ceph0 systemd: network.service failed.
可以看到报错
1 2 3
Mar 26 12:05:06 ceph0 network: Bringing up interface eth1: Error: Connection activation failed: No suitable device found for this connection. Mar 26 12:05:06 ceph0 network: [FAILED] Mar 26 12:05:06 ceph0 network: Bringing up interface eth2: Error: Connection activation failed: No suitable device found for this connection.