Kibana啟動報錯 server is not ready yet的解決方案


前言:

​ 今天在搭建elasticsearch集群的時候,再次使用Kibana操作elasticsearch的時候報告Kibana server is not ready yet的問題,

​ 通過在網上查找資料,大部分是說Kibana和elasticsearch兩者的版本不一致,但是我在搭建集群之前是可以正常使用的。

​ 我的Kibana和elasticsearch都是通過HomeBrew安裝的,兩者版本應該都是一致的。后來找到解決辦法,特此記錄

異常詳情:

"warning","migrations","pid":6181,"message":"Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_index_1 and restarting Kibana.

主要的信息是這條警告,提示進行.kibana_index_1文件,並且重啟Kibana,之后按照下面的步驟進行操作

1. 停止kibana

service kibana stop

2. 刪除kibana索引

curl -XDELETE http://localhost:9200/.kibana*

3. 啟動kibana

service kibana start

總結

一定要仔細的看日志信息,不要忽略警告。完事!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM