ZOOKEEPER启动失败
报错:
zookeeper 启动错误:/bin/zkEnv.sh: Syntax error: "(" unexpected (expecting "fi")
依次执行下面命令:
ls -l /bin/sh
ln -sf bash /bin/sh
ln -sf bash /bin/sh
ls -l /bin/sh
lsof -i:2181
启动zookeeper
ZOOKEEPER启动失败
报错:
zookeeper 启动错误:/bin/zkEnv.sh: Syntax error: "(" unexpected (expecting "fi")
依次执行下面命令:
ls -l /bin/sh
ln -sf bash /bin/sh
ln -sf bash /bin/sh
ls -l /bin/sh
lsof -i:2181
启动zookeeper