Zookeeper启动失败(CentOS 7 防火墙)
zookeeper配置:
1.zoo.cfg的server.id=host:2888:3888
2.zoo.cfg的dataDir
3.在dataDir中创建myid文件,写入当前节点的id
正确配置下zookeeper启动失败,ssh免密登录也已配置,查看zookeeper.out
java.net.NoRouteToHostException: No route to host
可能是防火墙没有关。
CentOS 7 关闭防火墙命令:
systemctl start firewalld #启动 systemctl stop firewalld #关闭 systemctl status firewalld #查看状态 systemctl disable firewalld #停用(开机不启动) systemctl enable firewalld #启用(开机自启动)
相关推荐
summerinsist 2020-08-21
Wepe0 2020-10-30
Lostinthewoods 2020-10-29
hickwu 2020-10-23
focusforce 2020-10-10
winki 2020-08-19
89284553 2020-07-17
大老张学编程 2020-07-04
xiaohouye 2020-06-28
lizhengfa 2020-06-26
Aveiox 2020-06-25
clamzxf 2020-06-16
kerson 2020-06-16
zhangwentaohh 2020-06-14
学峰的学习笔记 2020-06-11
linuxalienyan 2020-06-11