开发者社区> 问答> 正文

windows 下 Dzookeeper 启动报错?怎么解决?报错

E:\zookeeper\zookeeper-3.3.6\bin>java "-Dzookeeper.log.dir=E:\zookeeper\zookeeper-3.3.6\bin.." "-Dzookeeper.root.logger=INFO,CONSOLE" -cp "E:\zookeeper\zookeeper-3.3.6\bin..\build\classes;E:\zookeeper\zookeeper-3.3.6\bin..\build\lib*;E:\zookeeper\zookeeper-3.3.6\bin..*;E:\zookeeper\zookeeper-3.3.6\bin..\lib*;E:\zookeeper\zookeeper-3.3.6\bin..\conf" org.apache.zookeeper.server.quorum.QuorumPeerMain "E:\zookeeper\zookeeper-3.3.6\bin..\conf\zoo.cfg"
2015-12-14 21:21:39,969 - INFO  [main:QuorumPeerConfig@90] - Reading configuration from: E:\zookeeper\zookeeper-3.3.6\bin..\conf\zoo.cfg
2015-12-14 21:21:39,971 - FATAL [main:QuorumPeerMain@83] - Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing E:\zookeeper\zookeeper-3.3.6\bin..\conf\zoo.cfg
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:110)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:99)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:76)
Caused by: java.lang.IllegalArgumentException: dataLogDir E:\zk\logs\zookeeper  ZK ·????÷?????à?????? is missing.
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:223)
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:106)
        ... 2 more
Invalid config, exiting abnormally

展开
收起
爱吃鱼的程序员 2020-06-10 09:58:03 518 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    配置文件写的有问题嗯,问题解决了,由于第一次用,不仔细,配置文件的后面有中文

    2020-06-10 09:58:21
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
《云服务器运维之Windows篇》 立即下载
TAKING WINDOWS 10 KERNEL 立即下载
ECS运维指南之Windows系统诊断 立即下载