Dear exports,
I have encountered a problem when I have started the zookeeper:

[root@master data]# /opt/zookeeper/bin/zkServer.sh start
ZooKeeper JMX enabled by default
Using config: /opt/zookeeper/bin/../conf/zoo.cfg
Starting zookeeper ... date
STARTED

[root@master ~]# /opt/zookeeper/bin/zkServer.sh status
ZooKeeper JMX enabled by default
Using config: /opt/zookeeper/bin/../conf/zoo.cfg
Error contacting service. It is probably not running.

All the 3 servers have the same status.


Here is the configuration information:

zoo.cfg:
tickTime=2000
initLimit=10
syncLimit=5
clientPort=2181
server.1=192.168.1.2:2887:3887
server.2=192.168.1.3:2888:3888
server.3=192.168.1.4:2889:3889
dataDir=/opt/zookeeper/data
dataLogDir=/opt/zookeeper/log


And the 3 servers' zookeeper.out are put in attachment files.

Thanks for your attention. 



Eric Gao
Keep on going never give up.
Blog:
http://gaoqiang.blog.chinaunix.net/
http://gaoqiangdba.blog.163.com/