FAQ-zookeeper的server无法启动
更新时间: 2025-08-22 15:03:33
阅读 147
问题描述
zookeeper的server启动报错:java io.IOException: Could not configure server because SASL configuration did not allow the ZooKeeper server to authenticate itself properly: javax securityauth.login.LoginException: xxxxx@4.htsc.com
问题原因
在root用户下能够正常ping通kdc节点;在zookeeper用户下无法正常ping通kdc节点,由于/etc/nsswitch.conf 文件做了软件,检查/etc/authselect/nsswitch.conf及/etc/authselect目录的权限为600,导致zookeeper用户无法访问
解决方法
/etc/authselect目录的权限修改为644 chmod 644 /etc/authselect
文档反馈
以上内容对您是否有帮助?