首页 > 其他 > 详细

Kibana报错License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Service Unavailable。

时间:2021-04-01 18:42:23      阅读:25      评论:0      收藏:0      [点我收藏+]

Kibana报错License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Service Unavailable。

安装Kibana时这个坑花费了挺长时间,网上各种找也是没有找到,花了好久,找到解决方案。

首先ES确定没有问题,通过ip:9200可以成功访问。

启动Kibana镜像后不能访问,

通过 docker logs kibana镜像名称或者容器id 查看日志
技术分享图片

先看报错信息

技术分享图片

问题原因:使用了公网ip去启动了kibana,正确的方式是使用ES在内网分配的ip地址

解决方案:

执行查看ES内网IP地址

 docker inspect elasticsearch  |grep IPAddress

技术分享图片

删除原来kibana镜像,重新运行

docker run --name kibana -e ELASTICSEARCH_HOSTS=http://上一步查出来的ip:9200 -p 5601:5601 -d kibana:7.4.2 

启动成功,没有报错信息。成功访问IP:5601端口

Kibana报错License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. Service Unavailable。

原文:https://www.cnblogs.com/aboutJava/p/14606239.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!