[VMwar、Centos 7] 重启网络服务时提示Job for network.service failed because the control process exited with ...
======================================================================= 前几天一直用着好好的,今天打开虚拟机后突然就无法联网了,于是一番折腾,这里做一个记录=======================================================================一、在手动重新连接失败...
=======================================================================
前几天一直用着好好的,今天打开虚拟机后突然就无法联网了,于是一番折腾,这里做一个记录
=======================================================================
一、在手动重新连接失败后,尝试重启网络服务出现错误
[root@localhost network-scripts]# 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.
按提示执行systemctl status network.service and journalctl -xe两个命令
[root@localhost network-scripts]# 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 Fri 2017-08-04 08:20:31 CST; 1min 44s ago
Docs: man:systemd-sysv-generator(8)
Process: 3334 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=(code=exited, status=1/FAILURE)
二、我的虚拟机配置的上网方式为NAT,动态IP
三、在“计算机->管理->服务”中查看服务进程 VMware DHCP Service、VMware NAT Service
发现两者未启动,于是右键启动后,在虚拟机中打开百度网页,可以正常打开,问题解决!
类似问题:
https://blog.csdn.net/dongfei2033/article/details/81124465
=======================================================================
2019-05-24 打开虚拟机,又遇到这个问题,重启网络服务时一样的报错。在系统设置中查看网络,发现就没有网络连接这个选项,仅有一个设置vpn和proxy的。再看vmware的dhcp进程、Nat进程,也都在…于是祭出“重启大法”,一下子就正常了…
=======================================================================
更多推荐
所有评论(0)