问题描述

在使用 VMware 的过程中,配置好了虚拟机环境,但由于挂起关机混乱,导致今天重启时发现如下错误:
ping www.baidu.com 时发现如下错误:ping name or service not known

由于以前均能正确使用,所以保证虚拟机的虚拟网络编辑器配置正确。如果是第一次配置,以前并未成功启动过,可以检查一下网络编辑器的各项配置。

在查找解决方案的过程中,使用重启网络命令 service network restart 又发现如下错误:
restarting network failed journalctl -xe for detail control process exited with error code

问题解决

systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl start network.service

参考链接:https://www.cnblogs.com/zhian/p/14457653.html

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐