BigDataCentos7系统网络异常:systemctl status network.service出现LSB: Bring up/down networking 以及无法 ping 百度
Posted 量化Mike
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了BigDataCentos7系统网络异常:systemctl status network.service出现LSB: Bring up/down networking 以及无法 ping 百度相关的知识,希望对你有一定的参考价值。
文章目录
异常1: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.
异常2:systemctl status network.service 显示 Bring up/down networking
● 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 三 2022-04-06 23:01:58 CST; 11s ago
Docs: man:systemd-sysv-generator(8)
Process: 3809 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS)
Process: 4824 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
4月 06 23:01:58 centos01 network[4824]: RTNETLINK answers: File exists
4月 06 23:01:58 centos01 network[4824]: RTNETLINK answers: File exists
4月 06 23:01:58 centos01 network[4824]: RTNETLINK answers: File exists
4月 06 23:01:58 centos01 network[4824]: RTNETLINK answers: File exists
4月 06 23:01:58 centos01 network[4824]: RTNETLINK answers: File exists
4月 06 23:01:58 centos01 network[4824]: RTNETLINK answers: File exists
4月 06 23:01:58 centos01 systemd[1]: network.service: control process exited, code=exited status=1
4月 06 23:01:58 centos01 systemd[1]: Failed to start LSB: Bring up/down networking.
4月 06 23:01:58 centos01 systemd[1]: Unit network.service entered failed state.
4月 06 23:01:58 centos01 systemd[1]: network.service failed.
问题原因:
win系统上 VMware NAT service
服务未开启
Centos7系统依赖于Windos上的VMWare虚拟出的硬件环境,本身硬件环境是虚拟出来的但是实际上是Windows的硬件环境分配,在Windows系统的服务中关闭了VMware NAT service
服务进程,导致虚拟机无法启动NAT的网络模式。
解决方案:
1、启动任务管理器
win10系统按 win + x 选择 任务管理器
2、选择服务项开启 VMware NAT service
3、重启一下网络并查看网络状态
systemctl restart network
systemctl status network
4、问题验证
4.1 Centos7桌面右上角有网络连接标识
4.2 终端进行百度网址ping测试
以上是关于BigDataCentos7系统网络异常:systemctl status network.service出现LSB: Bring up/down networking 以及无法 ping 百度的主要内容,如果未能解决你的问题,请参考以下文章