当前位置:   article > 正文

Zookeper报错:Will not attempt to authenticate using SASL (unknown error)|防火墙的问题

will not attempt to authenticate using sasl (unknown error)

先放一张debug成功的图吧~
在这里插入图片描述
之前一直报这个错,不知道为什么,非常迷惑,然后试了多方法,就是防火墙的问题。我是Hadoop2.5和centos6,因此没法用systemtcl,就使用serive命令。
在这里插入图片描述

方式一:Linux命令来解决

Linux下停止/启动防火墙服务的命令(root用户使用):

service iptables status --查看防火墙的状态

service iptables stop --停止

service iptables start --启动

写在最后:

#永久性生效,重启后不会复原

chkconfig iptables on #开启

chkconfig iptables off #关闭

#即时生效,重启后复原

service iptables start #开启

service iptables stop #关闭

用setup来设置

在Linux中输入setup,就可以进入图形界面,然后设置防火墙的状态。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/733614
推荐阅读
相关标签
  

闽ICP备14008679号