evertrue / zookeeper-cookbook

Chef cookbook for installing and managing Zookeeper.
https://supermarket.chef.io/cookbooks/zookeeper
Apache License 2.0
81 stars 117 forks source link

Zookeeper sysv script #201

Closed jsirex closed 6 years ago

jsirex commented 7 years ago
/etc/init.d/zookeeper start
/etc/init.d/zookeeper: line 16: [: root: unary operator expected

Starting  KEY  ...
Starting  with ...
ZooKeeper JMX enabled by default
Using config: /opt/zookeeper/conf/zoo.cfg
Starting zookeeper ... STARTED

Also pay attention on:

/etc/init.d/zookeeper stop
/etc/init.d/zookeeper status && echo "ok, zookeeper running"
ZooKeeper JMX enabled by default
Using config: /opt/zookeeper/conf/zoo.cfg
Error contacting service. It is probably not running.
ok, zookeeper running