1.虚拟机环境
[root@master ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@master ~]# cat /proc/version
Linux version 3.10.0-1160.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Mon Oct 19 16:18:59 UTC 2020
2.系统网络启动报错
[root@master ~]# systemctl start 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@master ~]# systemctl status network
● 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 日 2019-09-29 22:44:34 CST; 1s ago
Docs: man:systemd-sysv-generator(8)
Process: 5042 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
9月 29 22:44:34 ansible-control network[5042]: RTNETLINK answers: File exists
9月 29 22:44:34 ansible-control network[5042]: RTNETLINK answers: File exists
9月 29 22:44:34 ansible-control network[5042]: RTNETLINK answers: File exists
9月 29 22:44:34 ansible-control network[5042]: RTNETLINK answers: File exists
9月 29 22:44:34 ansible-control network[5042]: RTNETLINK answers: File exists
9月 29 22:44:34 ansible-control network[5042]: RTNETLINK answers: File exists
9月 29 22:44:34 ansible-control systemd[1]: network.service: control process exited, code=exited...s=1
9月 29 22:44:34 ansible-control systemd[1]: Failed to start LSB: Bring up/down networking.
9月 29 22:44:34 ansible-control systemd[1]: Unit network.service entered failed state.
9月 29 22:44:34 ansible-control systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
3.排查方向1
第一步:查看NetworkManager服务状态:
systemctl status NetworkManager
第二步:关闭NetworkManager,并设置开启默认不启动该服务:
systemctl stop NetworkManager;
systemctl disable NetworkManager
第三步:重启网络服务
systemctl restart network.service
systemctl status network.service
以上操作若无法解决该问题
第四步:注释文件/etc/sysconfig/network-scripts/ifcfg-配置_1文件 中的UUID以及HWADDR两列
清空/etc/udev/rules.d/70-persistent-net.rules记录
重启reboot
标签:control,LSB,network,22,虚拟机,29,34,报错,44 From: https://www.cnblogs.com/7788wxlc/p/18124215