Home >Operation and Maintenance >CentOS >What to do if centos7 system fails to start network service

What to do if centos7 system fails to start network service

王林
王林Original
2020-03-26 11:47:583719browse

What to do if centos7 system fails to start network service

Problem description:

The eth33 network card in the virtual machine is not started, and an error is reported when systemctl status network.service is executed.

The error message is as follows:

[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.

(Recommended tutorial: centos tutorial)

Solution:

With the system The built-in NetworkManager management suite is related, just close and restart the network service.

Close:

systemctl stop NetworkManager
systemctl disable NetworkManager

Restart the network:

systemctl start network.service

Recommended related video tutorials: linux video tutorial

The above is the detailed content of What to do if centos7 system fails to start network service. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn