ELK中无法启动kibana,解决“Elasticsearch is still initializing the kibana index... ”

kibana出现无法启动的问题,5601端口未连接,但进程存在,查看日志发现有如下报错

"Elasticsearch is still initializing the kibana index... Trying again in 2.5 second."

ps:查看日志可以用 kibana -l xxx.log

{"name":"Kibana","hostname":"kt52","pid":3607,"level":30,"msg":"Elasticsearch is still initializing the kibana index... Trying again in 2.5 second.","time":"2015-07-10T02:40:12.473Z","v":0}

一开始以为是集群中es的索引有问题,将5台机器的索引删除了也不顶用,浪费了一天时间。后来发现需要删除.kibana的索引。

解决办法
1. /_plugin/gui/ 使用gui删除.kibana的索引
2. curl -XDELETE http://localhost:9200/.kibana

发表评论

电子邮件地址不会被公开。