zoukankan      html  css  js  c++  java
  • zookeeper客户端连接报错

    [root@zoo1 zookeeper-3.4.10]# bin/zkCli.sh -server 172.16.1.10:2181

    2017-10-27 00:37:59,326 [myid:] - INFO  [main-SendThread(127.0.0.1:2181):ClientCnxn$SendThread@1158] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect

    排错:1. 首先确定防火墙和selinux是关闭状态

               2. 确定myid文件中id的正确性

               3. 确定conf/zoo.cfg中端口的正确性

    注:通常报错基本上都是自己的问题,误操作或者是该关闭的没关闭。

           端口连不上这些问题一定首先检查防火墙和selinux

  • 相关阅读:
    re模块
    collections模块
    hashlib模块
    序列号模块
    random模块
    sys模块
    OS模块
    工厂模式
    Go语言之直接选择排序
    Go语言之直接插入排序
  • 原文地址:https://www.cnblogs.com/Peter2014/p/7737395.html
Copyright © 2011-2022 走看看