错误信息
当为es集群设置完一次密码之后,再次执行相同的命令
./elasticsearch-setup-passwords interactive
报错:文章来源:https://www.toymoban.com/news/detail-508005.html
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集群
文章来源地址https://www.toymoban.com/news/detail-508005.html
到了这里,关于ES集群重新设置密码(第二次执行.elasticsearch-setup-passwords interactive报错)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!