草庐IT

zookeeper下载启动后:Client port found: 2181. Client address: localhost. Client SSL: false. Error contacti

1.我官网下载的版本1)在linux平台解压下载的zookeeper-3.4.10.tar.gz2)进⼊conf⽬录,cpzoo_sample.cfgzoo.cfg(复制一个config文件,第一个是模板,第二个是我们的conf文件)3)进⼊bin⽬录,启动zk服务启动./zkServer.shstart(默认端口2181用不着改)停⽌./zkServer.shstop查看状态./zkServer.shstatus启动了单节点模式报出了这个问题:这个问题怎么解决呢?1.关闭防火墙,systemctlstopfirewalld.service,重启zookeepersystemctlstatus

zookeeper安装

准备环境三节点192.168.10.140(zookeeper1)192.168.10.141(zookeeper2)192.168.10.142(zookeeper3)版本:apache-zookeeper-3.7.1-bin.tarjdk:jdk-8u333上传安装包到三节点的/opt/zookeeper目录停止/关闭防火墙配置环境配置hostname三台节点配置#echo"192.168.10.140zookeeper1">>/etc/hosts#echo"192.168.10.141zookeeper2">>/etc/hosts#echo"192.168.10.142zookeeper

zookeeper安装

准备环境三节点192.168.10.140(zookeeper1)192.168.10.141(zookeeper2)192.168.10.142(zookeeper3)版本:apache-zookeeper-3.7.1-bin.tarjdk:jdk-8u333上传安装包到三节点的/opt/zookeeper目录停止/关闭防火墙配置环境配置hostname三台节点配置#echo"192.168.10.140zookeeper1">>/etc/hosts#echo"192.168.10.141zookeeper2">>/etc/hosts#echo"192.168.10.142zookeeper