VMware-Linux 提示“Job for network.service failed because the control process exited with error code”
1、问题
今日Linux环境突然出问题,ping本机IP都不行,重新网卡出现以下错误:
[ck@localhost ~]$ sudo systemctl start network.service
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details. [ck@localhost ~]$ sudo 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 一 2020-09-21 15:29:22 CST; 57s ago Docs: man:systemd-sysv-generator(8) Process: 3253 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE) 9月 21 15:29:22 localhost.localdomain network[3253]: RTNETLINK answers: File exists 9月 21 15:29:22 localhost.localdomain network[3253]: RTNETLINK answers: File exists 9月 21 15:29:22 localhost.localdomain network[3253]: RTNETLINK answers: File exists 9月 21 15:29:22 localhost.localdomain network[3253]: RTNETLINK answers: File exists 9月 21 15:29:22 localhost.localdomain network[3253]: RTNETLINK answers: File exists 9月 21 15:29:22 localhost.localdomain network[3253]: RTNETLINK answers: File exists 9月 21 15:29:22 localhost.localdomain systemd[1]: network.service: control process...1 9月 21 15:29:22 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/do.... 9月 21 15:29:22 localhost.localdomain systemd[1]: Unit network.service entered fai.... 9月 21 15:29:22 localhost.localdomain systemd[1]: network.service failed.
2.本次解决方案
[ck@localhost ~]$ sudo systemctl stop NetworkManager
[ck@localhost ~]$ sudo systemctl disable NetworkManager