-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting up a ZooKeeper Cluster,Bootstrap the cluster fail #23
Comments
This seems that you haven't install the zookeeper package on tank server. |
installed the zookeeper package on tank server,but alert a new err |
Can you post the detailed stack trace? |
2014-05-14 13:26:49 You should set a bootstrap password, it will be requried when you do cleanup |
This seems that the minos client can't connect to your supervisord |
My supervisord is started normally,and can view components work status by http://192.169.11.59:9001. |
From your error message, the client is trying to connect another ip, check that one? Bootstrapping task 0 of zookeeper on 192.38.11.59(0) |
thank you yehangjun ,the problem is solved,because haven't install the zookeeper package on tank server. Bootstrapping task 0 of zookeeper on 192.38.11.59(0) |
@xiaoguanyu What is the root cause of the 'connection refused' error? |
我也遇到了类似的情况:
|
不过,我的tank已经上传了zookeeper的包了。 ID Package Name Revision No. Timestamp Checksum Download |
看上去,你的第一台布成功了,第二台在连接supervisord的时候没连上,connection refused,应该是对应机器上的supervisord没启来吧,你检查一下? |
我部署了3台机器,发现三台的9001都能访问,但是三台的zookeeper的process都启动失败。supervisor页面的内容均如下:
PS:9001的页面出来了,supervisord有可能还没启动吗? |
9001页面成功的话,应该supervisor就是启动成功了。 process启动失败报的啥错,也是connection refused吗? |
恩,./deploy bootstrap zookeeper dptst命令的结果也是connection refused。 |
你在运行客户端的机器上,wget http://$host:9001 这个页面,看看能不能正常访问 |
是,我的错,要把所有的机器都先部署上supervisor,再运行./deploy bootstrap zookeeper dptst。现在正常了。
|
这个是zookeeper没正常起来,你查看一下zookeeper的log吧,看看是什么原因没启动 |
是/home/root/log/zookeeper/dptst/zookeeper目录吗?都是空目录
|
到/home/root/app/zookeeper/dptst/zookeeper下, stdout/ 下面有标准输出重定向的文件,看看里面有没有什么错误信息? |
问题找到了,应该是java的为问题。 |
弱弱地再问一个问题,看完pdf和wiki,minos的安装方式是不需要配置ssh免密码登录,全部靠supervisior是吧? |
|
实在搞不明白,只好链接过去了:ln -s $JAVA_HOME/bin/java /usr/bin/java |
赞,搞起来了就好。 |
Your password is: 123456, you should store this in a safe place, because this is the verification code used to do cleanup
Bootstrapping task 0 of zookeeper on 192.38.11.59(0)
Bootstrap task 0 of zookeeper on 192.38.11.59(0) fail: No package found on package server of zookeeper
Bootstrap task 0 of zookeeper on 192.38.11.59(0) fail: 2
Starting task 0 of zookeeper on 192.38.11.59(0)
Start task 0 of zookeeper on 192.38.11.59(0) fail: You should bootstrap the job first
The text was updated successfully, but these errors were encountered: