zookeeper四字命令提示命令不在白名单中的解决办法

解决办法:先参考文章:https://blog.csdn.net/bird3014/article/details/92852726

一般都能解决,但是我这次重启服务后还是提示:conf is not executed because it is not in the whitelist.

发现重启的时候显示这个进程找不到,没有杀掉。如下图:

 

 

 先找到服务的进程, ps -ef|grep zookeeper|grep -v grep

杀掉这个进程,kill -9 10092

再重启,zkServer.sh restart

 

 再使用四字命令,echo conf|nc 192.168.147.129 2181,发现可以正常使用了!

 

posted @ 2020-11-03 16:18  千君君  阅读(1136)  评论(0编辑  收藏  举报