1. 程式人生 > 實用技巧 >VMware-Linux 提示“Job for network.service failed because the control process exited with error code”

VMware-Linux 提示“Job for network.service failed because the control process exited with error code”

1、問題

今日Linux環境突然出問題,ping本機IP都不行,重新網絡卡出現以下錯誤:

[ck@localhost ~]$sudosystemctl 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.本次解決方案

[atguigu@localhost ~]$ sudo systemctl disable NetworkManager