ES7.6 许可证过期 ElasticsearchSecurityException: current license is non-compliant for [security]

ES7的X-pack许可证是提供免费一个月的试用,但是到期之后,就会隔一段时间报这个错误

elasticsearch_1  | {"type": "server", "timestamp": "2020-09-09T04:14:51,347Z", "level": "ERROR", "component": "o.e.x.s.a.f.SecurityActionFilter", "cluster.name": "docker-cluster", "node.name": "elasticsearch", "message": "blocking [indices:monitor/stats] operation due to expired license. Cluster health, cluster stats and indices stats \noperations are blocked on license expiration. All data operations (read and write) continue to work. \nIf you have a new license, please update it. Otherwise, please reach out to your support contact.", "cluster.uuid": "DuYMwh_2QnawcB8hqXVCAw", "node.id": "pYqaV54GTa-k8k66vIfuig"  }
elasticsearch_1  | {"type": "server", "timestamp": "2020-09-09T04:14:51,348Z", "level": "WARN", "component": "o.e.c.InternalClusterInfoService", "cluster.name": "docker-cluster", "node.name": "elasticsearch", "message": "Failed to execute IndicesStatsAction for ClusterInfoUpdateJob", "cluster.uuid": "DuYMwh_2QnawcB8hqXVCAw", "node.id": "pYqaV54GTa-k8k66vIfuig" , 
elasticsearch_1  | "stacktrace": ["org.elasticsearch.ElasticsearchSecurityException: current license is non-compliant for [security]",
elasticsearch_1  | "at org.elasticsearch.license.LicenseUtils.newComplianceException(LicenseUtils.java:26) ~[?:?]",
elasticsearch_1  | "at org.elasticsearch.xpack.security.action.filter.SecurityActionFilter.apply(SecurityActionFilter.java:79) ~[?:?]",
elasticsearch_1  | "at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:151) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:129) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:64) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:94) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:83) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:396) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.execute(AbstractClient.java:1231) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.stats(AbstractClient.java:1547) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.cluster.InternalClusterInfoService.updateIndicesStats(InternalClusterInfoService.java:264) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.cluster.InternalClusterInfoService.refresh(InternalClusterInfoService.java:321) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.cluster.InternalClusterInfoService.maybeRefresh(InternalClusterInfoService.java:271) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.cluster.InternalClusterInfoService.access$200(InternalClusterInfoService.java:68) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.cluster.InternalClusterInfoService$SubmitReschedulingClusterInfoUpdatedJob.lambda$run$0(InternalClusterInfoService.java:221) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:633) [elasticsearch-7.6.1.jar:7.6.1]",
elasticsearch_1  | "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]",
elasticsearch_1  | "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]",
elasticsearch_1  | "at java.lang.Thread.run(Thread.java:830) [?:?]"] }

搜索了一遍,发现大多数博客都是说去es官网注册个账号,然后申请一个新的license,

在这里插入图片描述
但是注册license 页面上面写着,6.3版本以后,Elastic Stack的默认发行版中包含基本(免费)层功能。无需许可证注册。

也就是说,我现在用的7.6版本并不需要更新,只需要降级到基础版本即可

可以在kibana执行

POST /_license/start_basic?acknowledge=true

或者

curl -XPOST "http://elasticsearch:9200/_license/start_basic?acknowledge=true"
  • 12
    点赞
  • 20
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
### 回答1: HID-compliant mouse是一种符合HID(Human Interface Device)标准的鼠标设备,可以通过USB接口连接到计算机上,支持Plug and Play功能,无需安装驱动程序即可使用。它可以在各种操作系统中使用,包括Windows、Mac OS和Linux等。 ### 回答2: HID-compliant mouse是一种在计算机中使用的普通鼠标,它采用HID(Human Interface Device)标准协议进行通信。HID是一种用于在计算机和外围设备(如键盘、鼠标、游戏手柄等)之间传输数据的标准协议。 当将HID-compliant mouse插入计算机的USB接口时,计算机会自动识别并安装相应的驱动程序。这个鼠标可以自动适应不同类型的操作系统,例如Windows、Mac OS和Linux等。一旦安装完成,用户就可以使用鼠标进行各种操作,例如点击、拖拽、滚动等。 HID-compliant mouse通常具有基本的功能,例如左键、右键和滚轮等。此外,一些高级鼠标还具有额外功能,例如侧键、多键触发和可编程按键等。这些功能可以通过鼠标的驱动程序或相关软件进行定制和配置。 总的来说,HID-compliant mouse是一种常见的鼠标类型,可以直接插入计算机进行使用,方便快捷。它适用于各种使用场景,例如普通办公、游戏和设计等,是计算机用户不可或缺的重要外设之一。 ### 回答3: HID-compliant mouse是一种兼容Human Interface Device (HID)标准的鼠标设备,它可以通过USB接口连接到电脑上,并能够在Windows操作系统中自动安装并工作,无需额外的驱动程序。HID-compliant mouse与普通的鼠标类似,可以用来移动光标、点击、双击、拖动等操作,使得用户可以更轻松、便捷地进行计算机操作。 HID是一种通用的设备控制协议,可以将多种不同类型的设备连接到计算机上,例如键盘、鼠标、游戏手柄等。HID-compliant mouse作为一种符合HID标准的鼠标设备,在被连接到计算机上时,计算机可以很容易地识别其设备类型,从而自动安装相应的驱动程序,使其可以像普通鼠标一样正常工作。 HID-compliant mouse一般具有较高的兼容性,它可以在不同品牌、不同型号的电脑上工作,并且与不同版本的Windows操作系统兼容性较好。此外,它还具有良好的可移植性,可以在不同的计算机上使用,无需重新安装驱动程序。 总的来说,HID-compliant mouse是一种简单、实用、易用性高的鼠标设备,由于其兼容性和可移植性较强,不需要额外的驱动程序,使用非常方便,成为了很多电脑用户首选的鼠标设备之一。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值