centos7 Reboot NIC Report Error: Job for network.service failed because the control process exited with error code
[root@mina0 hadoop]# systemctl restart network Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. [root@mina0 hadoop]# journalctl -xe 10月 26 17:15:57 mina0 network[3308]: Loopback interface being opened: [ OK] Oct 26 17:15:57 mina0 NetworkManager[679]: <info> [1509009357.3386] audit: op="connec Oct 26 17:15:57 mina0 network[3308]: opening interface ens33: error: failed to activate connection: No suita Oct 26 17:15:57 mina0 network[3308]: [failed] 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 network[3308]: RTNETLINK answers: File exists 10月 26 17:15:57 mina0 polkitd[680]: Unregistered Authentication Agent for unix-process 10月 26 17:15:57 mina0 systemd[1]: network.service: control process exited, code=exited 10月 26 17:15:57 mina0 systemd[1]: Failed to start LSB: Bring up/down networking. -- Subject: Unit network.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit network.service has failed. -- -- The result is failed. 10月 26 17:15:57 mina0 systemd[1]: Unit network.service entered failed state. 10月 26 17:15:57 mina0 systemd[1]: network.service failed.
Solution:
# systemctl stop NetworkManager # systemctl disable NetworkManager
Then: restart the network card:
# systemctl restart network # ifconfig