elasticsearch的.security-7索引崩溃恢复笔记

装了es 三方插件 重启后出现以下问题

failed to authenticate user [elastic]
failed to retrieve password hash for reserved user [elastic] org.elasticsearch.action.UnavailableShardsException: at least one primary shard for the index [.security-7] is unavailable

网友的解决办法
https://blog.csdn.net/lhjllff12345/article/details/126148875

另外
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: Cannot replace existing handler for [/_sql] for method: POST

原因:elasticsearch-sql与自带的x-pack-sql模块冲突,vi /opt/elasticsearch/config/elasticsearch.yml 修改

xpack.sql.enabled: false重启ES,参考链接

posted @   方东信  阅读(2672)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
历史上的今天:
2017-09-22 u3d资源提取需要的一些工具日记整理
点击右上角即可分享
微信分享提示