首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何启动OpenTSDB?

如何启动OpenTSDB?
EN

Stack Overflow用户
提问于 2011-12-19 13:23:08
回答 1查看 2.5K关注 0票数 1

我正在使用OpenTSDB的getting started instructions,但在运行该程序时得到了如下所示的错误。有人能帮上忙吗?

运行命令时:

代码语言:javascript
复制
./build/tsdb tsd --port=4242 --staticroot=build/staticroot --cachedir="$tsdtemp"

我得到了这个错误:

代码语言:javascript
复制
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_20]
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592) ~[na:1.6.0_20]
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078) ~[zookeeper-3.3.1.jar:3.3.1-942149]
2011-12-19 10:07:54,459 INFO  [main-SendThread(localhost:2181)] ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181
2011-12-19 10:07:54,461 WARN  [main-SendThread(localhost:2181)] ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_20]
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592) ~[na:1.6.0_20]
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078) ~[zookeeper-3.3.1.jar:3.3.1-942149]
^[[A2011-12-19 10:07:56,521 INFO  [main-SendThread(localhost:2181)] ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181
2011-12-19 10:07:56,522 WARN  [main-SendThread(localhost:2181)] ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_20]
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592) ~[na:1.6.0_20]
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1078) ~[zookeeper-3.3.1.jar:3.3.1-942149]
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-12-20 02:14:28

似乎您的zookeeper在poort 2181上已关闭/未配置

可以从检查安装zookeepr的zoo.cfg文件开始

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8557421

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档