今日做hadoop实验时突然有一个节点连接不上,很是头疼,前几天还好好的。
重启网络服务:
service network restart
报错:
Restarting network (via systemctl): Job for network.service failed. See ‘systemctl status network.service‘ and ‘journalctl -xn‘ for details.
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 Thu 2021-11-25 23:01:20 PST; 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 2527 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
参考博客:
http://blog.51cto.com/doiido/1553441