前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ES集群license过期current license is non-compliant for [security]

ES集群license过期current license is non-compliant for [security]

原创
作者头像
WeldonWang
发布2023-03-22 16:21:19
1.9K0
发布2023-03-22 16:21:19
举报

一、报错详情

operation due to expired license. Cluster health, cluster stats and indices stats

operations are blocked on license expiration. All data operations (read and write) continue to work.

If you have a new license, please update it. Otherwise, please reach out to your support contact.

current license is non-compliant for security

二、查看许可证

代码语言:shell
复制
curl -u 'elastic:$PWD' http://$ES_ENDPOINT/_xpack/license?pretty

# 返回信息
{
  "license" : {
    "status" : "expired",
    "uid" : "94f59e8d-ef66-46bf-adc3-655800eb1a6e",
    "type" : "trial",
    "issue_date" : "2022-11-30T04:41:07.497Z",
    "issue_date_in_millis" : 1669783267497,
    "expiry_date" : "2022-12-30T04:41:07.497Z",
    "expiry_date_in_millis" : 1672375267497,
    "max_nodes" : 1000,
    "issued_to" : "es-q2jh7o9h",
    "issuer" : "elasticsearch",
    "start_date_in_millis" : -1
  }
}

三、如何解决

代码语言:shell
复制
POST _xpack/license/start_basic?acknowledge=true
curl -X POST "localhost:9200/_xpack/license/start_basic?acknowledge=true&pretty"

https://www.elastic.co/guide/en/elasticsearch/reference/6.4/start-basic.html

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 一、报错详情
  • 二、查看许可证
  • 三、如何解决
相关产品与服务
Elasticsearch Service
腾讯云 Elasticsearch Service(ES)是云端全托管海量数据检索分析服务,拥有高性能自研内核,集成X-Pack。ES 支持通过自治索引、存算分离、集群巡检等特性轻松管理集群,也支持免运维、自动弹性、按需使用的 Serverless 模式。使用 ES 您可以高效构建信息检索、日志分析、运维监控等服务,它独特的向量检索还可助您构建基于语义、图像的AI深度应用。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档