centos 7 network.service control process exited

First, service network restart error.
  • Question Description:
    vmware 12 Next CentOS 7 network mode, NAT
    Last night the author planned to update his virtual machine python, found no network Ping www.baidu.com, and then on Windows Ping 192.168.187.130 local, found no problem,
    So restart the network service: service network restart found the following error:
    Restarting network (via systemctl): Job for network.service failed. See ‘systemctl status network.service’ and ‘journalctl -xn’ for details.
    According to the prompt input:
    [root@localhost~] # systemctl status network service
    Found:
    083108:57:10 localhost. localdomain system D [1]: network. service: control process exited, code = exited
    status=1
    08Month 31 08:57:10 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
    08Month 31 08:57:10 localhost.localdomain systemd[1]: Unit network.service entered failed state.
  • View questions:
    So check to see if your Mac address is consistent with your configuration file: the terminal enters the IP addr red box as the Mac address
    root@localhost~] # ip addr
  • View ifcfg-enoxxxxxxx under mac
    Then go to the directory: / etc / sysconfig / Network – scripts to see the red box file in the image below ifcfg – eno167736

    It is found that the MAC address in red header is the same in the following figure.

    If you need to change it into a static IP configuration, you can refer to my blue box and yellow box.

    Confirm that the MAC static Ip configuration is all right.

    Run again: or the above error?
    [root@localhost~] # service network restart

Try to conflict with NetworkManager services:
Solution, turn off NetworkManager service and start at rest.
[root@localhost~] # service NetworkManager stop
[root@localhost~] # chkconfig NetworkManager off

No problem with Ping www.baidu.com.
That’s the solution to my problem.

Two. Talk about modifying static IP

Look at your virtual network settings: Edit – & gt; Virtual Network Editor – & gt; and then

Then vim/etc/sysconfig/network-scripts/ifcfg-eno167736 file, refer to the blue and yellow boxes in the following figure:

Leave a Reply

Your email address will not be published. Required fields are marked *