Kibana Troubleshooting [Kibana server is not ready yet]

Hi Bloggers,

I am sure if you are doing a proof of concept. on ELK Stack  and if you have installed Elasticsearch and Kibana already and when you try to open your Kibana URL:- “Http://<URL>:5601” and apparently end up the page showing

“Kibana server is not ready yet”

In such a case, there are multiple possibilities for this error.

Considering my configurations:-

  1. OS:- Ubuntu 18.04.3 LTS (Bionic Beaver)
  2. Disk Space:- 1TB
  3. RAM:- 8 GB

I am running elasticsearch and kibana on the localhost.

I did the troubleshooting as follows:-

  1. Stopped the kibana service “sudo systemctl stop kibana”
  2. Verify the kibana.yml i.e. the kibana.yml should only have three parameters customized “kibana port, kibana host and elastic url”.
  3. Then navigate to “/usr/share/kibana/bin” and start kibana with no parameters “./kibana”.
  4. Check for any warning or errors in the console, in the meanwhile try to access the URL.
  5. In my case, I encountered a warning
    1. {“type”:”log”,”@timestamp“:”2019-12-16T16:14:02Z”,”tags”:[“info”,”migrations”],”pid”:6147,”message”:”Creating index .kibana_1.”}
      {“type”:”log”,”@timestamp“:”2019-12-16T16:14:02Z”,”tags”:[“warning”,”migrations”],”pid”:8924,”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_1 and restarting Kibana.”}
  6. Therefore stopped the kibana and executed the following command to delete the .kibana_1 index curl -XDELETE ‘http://localhost:9200/.kibana_1&#8217; –header “content-type: application/JSON”
  7. Started ./kibana again and ta-da the URL started working.
  8. Now I stopped kibana and started using systemctl.

If anyone of you have encountered something similar and resolved differently, please do post in the comment section.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s