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

王林
Release: 2020-03-26 11:47:58
Original
3722 people have browsed it

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.
Copy after login

(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
Copy after login

Restart the network:

systemctl start network.service
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template