安装kibana 报错/访问不了
创始人
2024-05-27 01:54:12
0

安装kibana 报错

  • 1,elasticsearch.yaml 和kibana.yaml 配置问题
  • 2,elasticsearch 和kibana版本不一致
  • 3,索引问题

1,elasticsearch.yaml 和kibana.yaml 配置问题

我的RPM安装的,配置文件都在/etc/

vim /etc/elasticsearch/elasticsearch.yaml

node.name: node-1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 10.100.10.45
http.port: 9200
cluster.initial_master_nodes: ["node-1"] 

vim /etc/kibana/kibana.yaml

server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["http: / 10.10.10.121:9200",
"http: / 10.10.10.122:9200", "http: / 10.10.10.123:9200"]
i18n.locale: "zh-CN"

把默认的hostlocal 改成ip地址。

2,elasticsearch 和kibana版本不一致

  • 执行命令
    ps -ef |grep kibana
    netstat -nap |grep PID
    发现有进程无端口

  • 访问http://IP:5601报错

  • 查看日志:journalctl -u kibana.service
    Unable to retrieve version information from Elasticsearch nodes
    elasticsearch 和kibana logstash 等 版本对照参考

3,索引问题

  • 访问http://IP:5601报错:Kibana server is not ready yet

删除索引:
curl -XDELETE http://172.18.2.35:9200/.kibana*
重启 kibana:systemctl restart kibana
访问 http://IP:5601
在这里插入图片描述
kibana 能正常访问。
参考

相关内容

热门资讯

监控摄像头接入GB28181平... 流程简介将监控摄像头的视频在网站和APP中直播,要解决的几个问题是:1&...
Windows10添加群晖磁盘... 在使用群晖NAS时,我们需要通过本地映射的方式把NAS映射成本地的一块磁盘使用。 通过...
protocol buffer... 目录 目录 什么是protocol buffer 1.protobuf 1.1安装  1.2使用...
在Word、WPS中插入AxM... 引言 我最近需要写一些文章,在排版时发现AxMath插入的公式竟然会导致行间距异常&#...
【PdgCntEditor】解... 一、问题背景 大部分的图书对应的PDF,目录中的页码并非PDF中直接索引的页码...
修复 爱普生 EPSON L4... L4151 L4153 L4156 L4158 L4163 L4165 L4166 L4168 L4...
Fluent中创建监测点 1 概述某些仿真问题,需要创建监测点,用于获取空间定点的数据࿰...
educoder数据结构与算法...                                                   ...
MySQL下载和安装(Wind... 前言:刚换了一台电脑,里面所有东西都需要重新配置,习惯了所...
MFC文件操作  MFC提供了一个文件操作的基类CFile,这个类提供了一个没有缓存的二进制格式的磁盘...