問題描述:
虛擬機器中的eth33網路卡沒有啟動,執行systemctl status network.service啟動報錯。
報錯資訊如下:
[root@zeppelin 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 Fri 2019-06-21 03:22:10 PDT; 27s ago Docs: man:systemd-sysv-generator(8) Process: 5948 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS) Process: 6074 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE) Jun 21 03:22:09 zeppelin.zetyun.com systemd[1]: Starting LSB: Bring up/down networking... Jun 21 03:22:10 zeppelin.zetyun.com network[6074]: Bringing up loopback interface: [ OK ] Jun 21 03:22:10 zeppelin.zetyun.com network[6074]: Bringing up interface ens33: Error: Connection activation failed: No suitable device found for this connection. Jun 21 03:22:10 zeppelin.zetyun.com network[6074]: [FAILED] Jun 21 03:22:10 zeppelin.zetyun.com systemd[1]: network.service: control process exited, code=exited status=1 Jun 21 03:22:10 zeppelin.zetyun.com systemd[1]: Failed to start LSB: Bring up/down networking. Jun 21 03:22:10 zeppelin.zetyun.com systemd[1]: Unit network.service entered failed state. Jun 21 03:22:10 zeppelin.zetyun.com systemd[1]: network.service failed.
(推薦教學:centos教學)
解決方案:
與系統自帶的NetworkManager這個管理套件有關係,關閉並重新啟動網路服務即可。
關閉:
systemctl stop NetworkManager systemctl disable NetworkManager
重新啟動網路:
systemctl start network.service
相關影片教學推薦:linux影片教學
#以上是centos7系統啟動網路服務失敗怎麼辦的詳細內容。更多資訊請關注PHP中文網其他相關文章!