ES 报错问题汇总

报错1:

bash 复制代码
curl -XGET http://192.168.56.115:9200/_license

解决方式

在 es/config/elasticsearch.yml文件,把开启密码验证把此处也修改成false

xpack.security.enabled: false

报错2:

解决方式:

查看服务器es的license信息,发现 "type" : "basic"

复制代码
bash 复制代码
curl -XGET http://192.168.56.115:9200/_license
bash 复制代码
curl -X POST "192.168.56.115:9200/_license/start_trial?acknowledge=true&pretty"

再查看license信息时,内容已发生变化。

复制代码

报错3

ES的license由trial更改为为basic
复制代码

解决方式:

bash 复制代码
#curl -H "Content-type:application/json" -X POST http://localhost:9200/_xpack/license/start_basic?acknowledge=true -u username:password

curl -H "Content-type:application/json" -X POST http://192.168.56.115:9200/_xpack/license/start_basic?acknowledge=true -u elastic:www.yangxingzhen.com
相关推荐
大大大大晴天3 小时前
Hudi技术内幕:RecordPayload到RecordMerger
大数据
SelectDB18 小时前
秒级弹性、最高降本 70%:SelectDB Serverless 如何重塑云数仓资源效率
大数据·后端·云原生
WhoAmI18 小时前
MapReduce框架原理解析一:InputFormat
大数据·hadoop
WhoAmI18 小时前
MapReduce框架原理解析三:OutputFormat
大数据·hadoop
WhoAmI18 小时前
MapReduce框架原理解析二:Shuffle
大数据·hadoop
大大大大晴天2 天前
Hudi技术内幕:Key Generation原理与实践
大数据
Elasticsearch2 天前
3个信号、2个环境变量、0个采集器:使用 Python 和 Elastic 的托管 OTLP 端点实现 OpenTelemetry
elasticsearch
Elasticsearch4 天前
如何通过 Claude Code 来写入 CSV 数据到 Elasticsearch
elasticsearch
得物技术5 天前
从埋点需求到规则资产:Hermes Agent 重构得物数仓工作流
大数据·llm·ai编程