突然发现网不能用了,重启网卡服务报错
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[root@mina0 hadoop]# ifconfig
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
解决:
[root@mina0 hadoop]# systemctl stop NetworkManager
[root@mina0 hadoop]# systemctl disable NetworkManager
然后:重启网卡:
[root@mina0 hadoop]# systemctl restart network[root@mina0 hadoop]# ifconfig