pandaloveme
2018-01-08 03:58
采纳率: 100%
浏览 2.2k

ubuntu zookeeper 启动报错 [[: not found -p: not found

panda@panda-VirtualBox:~/zookeeper-server/zk1/bin$ ls
README.txt zkCli.cmd zkEnv.cmd zkServer.cmd zkServer.sh
zkCleanup.sh zkCli.sh zkEnv.sh zkServer-initialize.sh
panda@panda-VirtualBox:~/zookeeper-server/zk1/bin$ sh zkServer.sh start
zkServer.sh: 80: /home/panda/zookeeper-server/zk1/bin/zkEnv.sh: [[: not found
-p: not found
java is /usr/jvm/jdk1.8/bin/java
Error: JAVA_HOME is not set and java could not be found in PATH.
panda@panda-VirtualBox:~/zookeeper-server/zk1/bin$

https://zhidao.baidu.com/question/1644189876595332740.html?entry=qb_uhome_tag

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

6条回答 默认 最新

相关推荐 更多相似问题