使用中的es突然挂了,在启动就错
Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]
无法启动了,怎么解决?比较急
Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]
无法启动了,怎么解决?比较急
3 个回复
Charele - Cisco4321
赞同来自:
用steup重置一下应该就okay了吧
qq154790691
赞同来自:
***重点生成新的证书
***重点生成新的证书
问题处理流程:
1. 停止es
2. xpack取消
3. 启动,以无密码形式登录
4. 删除.security
5. 停es
6. xpack开启
7. 删除elasticsearch/config目录下elasticsearch.keystore、elastic-certificates.p12
8. bin目录下执行
./elasticsearch-certutil cert -out config/elastic-certificates.p12 -pass ""
如果是集群,需要把config/elastic-certificates.p12拷贝到其他节点的config目录下
9. es节点依次启动
10. 设置密码,等待cluster health is currently RED.变为green在下一步
qq154790691
赞同来自: