ES叢集重新設定密碼(第二次執行./elasticsearch-setup-passwords interactive報錯)
阿新 • • 發佈:2022-02-25
https://blog.csdn.net/weixin_43210350/article/details/109775605
錯誤資訊
當為es叢集設定完一次密碼之後,再次執行相同的命令
./elasticsearch-setup-passwords interactive
報錯:
Failed to authenticate user 'elastic' against http://172.16.xxx.xxx:9200/_security/_authenticate?pretty
Possible causes include:
* The password for the 'elastic' user has already been changed on this cluster
* Your elasticsearch node is running against a different keystore
This tool used the keystore at /usr/local/elasticsearch-7.2.0/config/elasticsearch.keystore
ERROR: Failed to verify bootstrap password
解決辦法:
刪除 .security-7 索引,然後重新執行上面命令即可,不用重啟es叢集
————————————————
版權宣告:本文為CSDN博主「L&&DH」的原創文章,遵循CC 4.0 BY-SA版權協議,轉載請附上原文出處連結及本宣告。
原文連結:https://blog.csdn.net/weixin_43210350/article/details/109775605