一、背景描述
安装kibana,用brew install kibana命令安装的。

二、安装过程及报错细节
1、最开始我就是直接这个命令安装的,因为昨天就是上一话嘛的elasticsearch就是这样安装成功的

brew install kibana

安装过程中终端出现了这个错误
Error: No such file or directory - /usr/local/Cellar/node/13.8.0

我没管,先启动

brew services start kibana

终端也显示成功启动了,可是呢
后面浏览器输入http://localhost:5601/
启动失败,
一个空白的网页,显示着这么一行字
Kibana server is not ready yet。

多么令人绝望!

2、百度查到可能是kibana和elasticsearch的版本不一致,那我又去找对应的版本
kibana和elasticsearch的版本对应关系

kibana的下载地址

elasticsearch的下载地址

这里看到两个都更新到了7.9.3版本,可是我在终端用brew install命令安装的
elasticsearch是7.9.3
但是kibana却是7.8.1

后面瞎鼓捣,过程都懒得写了,出现了好多错误,看别人博客,我也,也改过那个kibana.yml,也看了防火墙,我试了我全试了,还是不行~

详细报错信息
(1)这个不知道是什么鬼
log [02:40:18.247] [warning][licensing][plugins] License information could not be obtained from Elasticsearch due to [invalid_index_name_exception] Invalid index name [xpack], must not start with '’., with { index_uuid=“na” & index="_xpack" } :: {“path”:"/_xpack",“statusCode”:400,“response”:"{“error”:{“root_cause”:[{“type”:“invalid_index_name_exception”,“reason”:“Invalid index name [xpack], must not start with '’.”,“index_uuid”:“na”,“index”:"_xpack"}],“type”:“invalid_index_name_exception”,“reason”:“Invalid index name [xpack], must not start with '’.”,“index_uuid”:“na”,“index”:"_xpack"},“status”:400}"} error
log [02:40:18.249] [warning][monitoring][monitoring][plugins] X-Pack Monitoring Cluster Alerts will not be available: X-Pack plugin is not installed on the Elasticsearch cluster.
(2)版本不一致
log [09:14:06.990] [error][savedobjects-service] This version of Kibana (v7.9.3) is incompatible with the following Elasticsearch nodes in your cluster: v7.6.2 @ 127.0.0.1:9200 (127.0.0.1)

三、解决方法
后面我冷静了下来,我想不对啊,这个安装怎么可能这么麻烦这么复杂,它这样怎么火呢?
然后我从上面的官网网址直接下载了elasticsearch和kibana的7.9.3版本,先从elasticsearch的bin目录里启动了elasticsearch,再从kibana的bin目录里启动kibana,然后就成功了~~~

四、总结
总结了一下,就是如果在终端通过brew install kibana安装,启动失败或者启动成功了,浏览器访问失败,就不要去改什么kibana.yml文件,反正我改了也没用,好复杂。就直接去官网下两个对应的版本,bin目录里启动就好啦~先启动elasticsearch后启动kibana


五、注意事项
然后就是记得之前如果用brew命令已经安装了,那就用

brew uninstall elasticsearch

brew uninstall kibana

卸载掉

还有端口占用问题

lsof -i:5601

lsof -i:9200

看下端口占用的pid,比如是1234,那就

kill 1234

释放端口。

六、下载资源
官网上下载elasticsearch和kibana超级慢,需要科学上网。分享一下两个7.9.3版本
链接:https://pan.baidu.com/s/1Bqtnks7L-R2UhJyuoRx2OA 密码:hss7
链接:https://pan.baidu.com/s/1-N7XvzURnPVtnvDmz8kfeA 密码:21bz

好啦圆满!可以下班回家啦啦啦~

ELK系列之Mac安装kibana报错License information could not be obtained from Elasticsearch due to [invalid_inde相关推荐

  1. 解决Mac安装tesserocr报错问题 Failed building wheel for

    解决Mac安装tesserocr报错问题 Failed building wheel for 参考文章: (1)解决Mac安装tesserocr报错问题 Failed building wheel f ...

  2. Mac安装Node-sass报错 warning: loop variable ‘numerator‘ creates a copy from type ‘const std::string

    Mac安装Node-sass报错 运行前端项目,npm i 时报错 warning: loop variable 'numerator' creates a copy from type 'const ...

  3. 解决Mac安装LightGBM报错LightGBM and gcc 8 in MacOS: Library not loaded

    Github Issue上有一个解决方法,但是博主失败了:https://github.com/Microsoft/LightGBM/issues/1369 以下是我的解决方法: 博主解决方法 首先卸 ...

  4. mac安装adb报错Unknown command: cask

    1.通过 Homebrew 安装 adb user/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/mast ...

  5. mac安装nvm报错 :HTTP/2 stream 1 was not closed cleanly before end of the underlying stream 解决方案

    1. http/1.1 在mac安装nvm时,在解决了443的错误之后,又提示 git 拉取 的错误 fatal: unable to access 'https://github.com/nvm-s ...

  6. Mac安装brew报错汇总

    背景:在 Mac 终端输入了 Homebrew 官网给的安装指令: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent. ...

  7. Mac 安装CocoaPods报错解决 :Ignoring ffi-1.13.1 because its extensions are not built.

    不知道是不是更新了macOS Big Sur的原因,终端安装不了cocoapods,会报如下错误. 终端报错信息: Ignoring ffi-1.13.1 because its extensions ...

  8. Mac安装webpack报错gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1解决

    安装webpack ,报错提示 gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ER ...

  9. 安装Kibana报错[warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/

    实验环境 : Ubuntu 160.4 Kibana :kibana-6.2.3 报错信息 : log [07:23:26.511] [warning][admin][elasticsearch] N ...

  10. Mac安装gensim报错:No extention 巴拉巴拉

    用了这么多次CSDN,写篇帖子回馈一下. 2020Macbook Pro,结果jupyter安装了gensim,import时候一直报错,显示:compiled extentions are unav ...

最新文章

  1. Android运行时权限
  2. 开发完成的springboot项目扩展 swagger
  3. android大疆飞控界面,DJI Android SDK 开发笔记(入门篇)
  4. 企业内网利用devpi搭建pypi私服
  5. 适用于Idea的面向现代TDD的Java 8 JUnit测试模板(带有Mockito和AssertJ)
  6. 冯诺依曼计算机结构教案,冯诺依曼结构的计算机-同济大学精品课程.PPT
  7. go 变量大写_golang学习笔记(一):包,变量,函数
  8. ai策略机器人研究a50_跟上AI研究的策略
  9. Python搜索路径
  10. VC6保姆级图文教程
  11. 思想茶叶蛋 (Aug 20,2022)| 网传B站hr说用户是loser、互联网之父的救赎和Web3.0
  12. 非对称加密技术中,iFace人脸密钥技术排名第三
  13. 12306购票流程分析
  14. 听风的插件-正在战斗中
  15. 特惠|好物推荐iPhone充电线两条装6.9元
  16. 请你谈谈如何破坏双亲委派模型?
  17. 安装 libtorrent遇到问题
  18. 大神教你如何用 Python 快速分析你的微信好友
  19. System.Windows.Markup.XamlParseException:““无法从文本“pack://application:,,,/Resources/images/Picture.jpg
  20. 凹凸贴图(Bump Mapping)

热门文章

  1. Prefix-Tuning: Optimizing Continuous Prompts for Generation
  2. 在SQL中创建时间维度表
  3. 中台之上(四):面对复杂的流程和数据,我们总结出了一个分析套路
  4. SH-SSS丨CUSIDE:分块、模拟未来、解码的流式语音识别新框架
  5. final 和effectively final区别
  6. 解决: The server encountered an internal error that prevented it from fulfilling this request.
  7. The server encountered an unexpected condition that prevented it from fulfilling the request
  8. 各互联网技术领域pdf图书合集(百度网盘)
  9. 2016年上半年光伏企业沉浮录
  10. Phython是什么?