Error contacting service. It is probably not running. 错误

    xiaoxiao2023-03-25  7

    Zookeeper 配置好后, 启动也正常, 查看其状态时,报错了

    [root@master bin]# zkServer.sh status

    JMX enabled by default

    Using config: /usr/local/zk/bin/../conf/zoo.cfg

    Error contacting service. It is probably not running.

    看了下日志, 报拒绝连接, 网上搜了下

    这里的解决了我的问题: http://www.oschina.net/question/914277_2139350?sort=time

    hosts没配好

    加上

    ::1         localhost localhost.localdomain

    居然可以

    转载请注明原文地址: https://ju.6miu.com/read-1203961.html
    最新回复(0)