问题:
[root@SsHII4LLDY05V ~]# service network restart
Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[FAILED]
[root@SsHII4LLDY05V ~]# 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 Wed 2021-08-25 13:21:57 CST; 30s ago
Docs: man:systemd-sysv-generator(8)
Process: 2689 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
Aug 25 13:21:56 SsHII4LLDY05V network[2689]: RTNETLINK answers: File exists
Aug 25 13:21:56 SsHII4LLDY05V network[2689]: RTNETLINK answers: File exists
Aug 25 13:21:57 SsHII4LLDY05V network[2689]: RTNETLINK answers: File exists
Aug 25 13:21:57 SsHII4LLDY05V network[2689]: RTNETLINK answers: File exists
Aug 25 13:21:57 SsHII4LLDY05V network[2689]: RTNETLINK answers: File exists
Aug 25 13:21:57 SsHII4LLDY05V network[2689]: RTNETLINK answers: File exists
Aug 25 13:21:57 SsHII4LLDY05V systemd[1]: network.service: control process exited, code=exited status=1
Aug 25 13:21:57 SsHII4LLDY05V systemd[1]: Failed to start LSB: Bring up/down networking.
Aug 25 13:21:57 SsHII4LLDY05V systemd[1]: Unit network.service entered failed state.
Aug 25 13:21:57 SsHII4LLDY05V systemd[1]: network.service failed.
解决:
禁用NetworkManager
1、systemctl stop NetworkManager
2、systemctl disable NetworkManager |