查看zookeeper.out发现启动日志报错未找到java路径。

启动日志位于zookeeper-4.0.10/bin目录下

修改/etc/profile中环境变量得以解决。

唯有热爱方能抵御岁月漫长。