CentOS 71 Solutions for "Network.service:control process exited, code=exited Status=1" method

Source: Internet
Author: User

  This morning in 2017-08-04, I opened the virtual machine, using the remote tool Xshell to connect the virtual machine, I found that the connection is not up, and then I ifconfig, found that ens33, there is a local loopback, it appears that my network has a problem, and then I look at my network status, The following conditions were found:

[[Email protected] ~]# 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 .- ,-Geneva  ,: -: toCST; 1min 44s ago Docs:Mans: Systemd-sysv-generator (8) Process:62726Execstop=/etc/rc.d/init.d/network Stop (code=exited, status=0/SUCCESS) Process:63183Execstart=/etc/rc.d/init.d/network start(code=exited, status=1/ FAILURE) theGeneva  ,: -: toCT71 network[63183]: Rtnetlink answers:file ExistsaugGeneva  ,: -: toCT71 network[63183]: Rtnetlink answers:file ExistsaugGeneva  ,: -: toCT71 network[63183]: Rtnetlink answers:file ExistsaugGeneva  ,: -: toCT71 network[63183]: Rtnetlink answers:file ExistsaugGeneva  ,: -: toCT71 network[63183]: Rtnetlink answers:file ExistsaugGeneva  ,: -: toCT71 network[63183]: Rtnetlink answers:file ExistsaugGeneva  ,: -: toCT71 systemd[1]: Network.service:control process exited, code=exited status=1 theGeneva  ,: -: toCT71 systemd[1]:Failed to start lsb:bring up/Down  networking. theGeneva  ,: -: toCT71 systemd[1]: Unit Network.service entered failed state. theGeneva  ,: -: toCT71 systemd[1]: Network.service failed.

I found a number of answers to some degree, did not find the answer I can solve the problem, and then I do Google, on a blog to find the answer I need, do not know whether it will be targeted at everyone can, the method is to turn off network management, as follows:

Systemctl Stop NetworkManager

I have solved the problem after doing the above step, the answer that the blog gives has the following steps, I do not use:

systemctl Disable NetworkManager     /etc/systemd/system/multi-user.target.wants/networkmanager.service.     /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service.     /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service.

Then restart the network:

Systemctl Start Network.service

You can use the following:

[Email protected] bin]#ifconfigEns33:flags=4163<UP,BROADCAST,RUNNING,MULTICAST> MTU theinet172.17.251.180Netmask255.255.0.0Broadcast172.17.255.255Inet6 fe80::20c:29ff:fe84:b4 Prefixlen -ScopeID0x20<link>etherxx: 0c: in: -:xx: B4 Txqueuelen +(Ethernet) RX packets3629648bytes315562709(300.9MiB) RX Errors0Dropped0Overruns0Frame0TX Packets2974bytes295864(288.9KiB) TX Errors0Dropped0Overruns0Carrier0Collisions0Ens34:flags=4163<UP,BROADCAST,RUNNING,MULTICAST> MTU theinet192.168.111.110Netmask255.255.255.0Broadcast192.168.111.255Inet6 fe80::febf:b561:4150: F3b0 Prefixlen -ScopeID0x20<link>etherxx: 0c: in: -:xx: Be Txqueuelen +(Ethernet) RX packets121771bytes11870451(11.3MiB) RX Errors0Dropped0Overruns0Frame0TX Packets94155bytes20071976(19.1MiB) TX Errors0Dropped0Overruns0Carrier0Collisions0Lo:flags= the<UP,LOOPBACK,RUNNING> MTU65536inet127.0.0.1Netmask255.0.0.0Inet6::1Prefixlen -ScopeID0x10Loop Txqueuelen1(Local Loopback) RX packets -bytes6748(6.5KiB) RX Errors0Dropped0Overruns0Frame0TX Packets -bytes6748(6.5KiB) TX Errors0Dropped0Overruns0Carrier0Collisions0Virbr0:flags=4099<UP,BROADCAST,MULTICAST> MTU theinet192.168.122.1Netmask255.255.255.0Broadcast192.168.122.255ether the: Wu:xx: B6: $: toTxqueuelen +(Ethernet) RX packets0bytes0(0.0B) RX errors0Dropped0Overruns0Frame0TX Packets0bytes0(0.0B) TX errors0Dropped0Overruns0Carrier0Collisions0

CentOS 71 Solutions for "Network.service:control process exited, code=exited Status=1" method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.