# Kibana Server Not Ready

**URL:** <https://discuss.elastic.co/t/kibana-server-not-ready/162075>\
**Category:** Kibana\
**Created:** [December 25, 2018, 2:41pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075 "2018-12-25T14:41:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [December 25, 2018, 2:41pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/1 "2018-12-25T14:41:12Z")

</div>

I have installed Elastic and Kibana 6.5.4, I have also installed SearchGuard on it. I can verify elasticsearch is working by doing a CURL to it. I issue the kibana service start and it shows started. In the browser I get Kibana Server Not Ready yet. There is no errors in the log files. If I list the indices in elasticsearch I dont see a .kibana index. Its very weird. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [December 26, 2018, 2:42pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/2 "2018-12-26T14:42:38Z")

</div>

Kibana does not generate the `.kibana` index on start-up. The index is created the first time something is written to it. Did Kibana start prior to installing search guard?

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [December 26, 2018, 8:20pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/3 "2018-12-26T20:20:46Z")

</div>

Just checked and to my surprise it does not!

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [December 27, 2018, 12:19am UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/4 "2018-12-27T00:19:01Z")

</div>

Bump. So I have confirmed that installation of Kibana 6.5.4 doesnt work. Search Guard and xPack is disabled. No error in the log file but keeps saying Kibana is not ready.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [December 27, 2018, 12:20am UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/5 "2018-12-27T00:20:51Z")

</div>

Actually, we do create the Kibana index on start. If your seeing a Kibana is not ready message, more than likely it's due to Kibana not being able to connect to Elasticsearch. Are you seeing any Kibana logs related to this?

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [December 27, 2018, 12:23am UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/6 "2018-12-27T00:23:05Z")

</div>

Nope. All logs are clean.

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [December 27, 2018, 5:50am UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/7 "2018-12-27T05:50:14Z")

</div>

Can you please provide the Kibana logs?

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [December 27, 2018, 8:44pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/8 "2018-12-27T20:44:37Z")

</div>

[https://dataseers.ai/downloads/kibana.stdout](https://dataseers.ai/downloads/kibana.stdout)

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [December 29, 2018, 10:20pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/9 "2018-12-29T22:20:12Z")

</div>

Bump..

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [January 2, 2019, 4:34am UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/10 "2019-01-02T04:34:13Z")

</div>

I believe the culprit is searchguard plugin optimization. The process is never completed in your logs. I have faced this issue a few times. Could you perform these two steps?

1. Kill Kibana and restart it, see if this works out. If not, proceed to step two.
2. Start it after uninstalling the searchguard plugin

What are the logs in both these instances?

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [January 4, 2019, 12:55pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/11 "2019-01-04T12:55:27Z")

</div>

It could very well be. Hwoever SearchGuard folks are saying that its a bug in Kibana that the optimization of the plugin never finishes and want us to open a issue with Elastic. Hence they recommend installing with no-optimization. Any thoughts on that while I try uninstalling SG?

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [January 6, 2019, 2:44pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/12 "2019-01-06T14:44:37Z")

</div>

Yes. It is, and it is being targeted to be fixed by version 7 if I am not wrong.

But, in my experience, a clean restart of Kibana finishes the optimization process in around 3-5 minutes. Like, when I recently upgraded to Kibana 6.5.4, the optimization process was stuck during plugin installation. I aborted that process and performed a restart of the Kibana service. During the startup, the service completed the optimization in 3 minutes.

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [January 6, 2019, 3:33pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/13 "2019-01-06T15:33:52Z")

</div>

I have tried waiting a LONG time and it still keeps saying server not ready for me unfortunately

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [January 6, 2019, 3:35pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/14 "2019-01-06T15:35:52Z")

</div>

Strange.

What version of Kibana? What is the OS and are you running it from a zip or a deb or rpm package?

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [January 6, 2019, 4:11pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/15 "2019-01-06T16:11:14Z")

</div>

Centos 7 and rpm package

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [January 6, 2019, 4:11pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/16 "2019-01-06T16:11:49Z")

</div>

I even tried a older version than 6.5.4 same issue. I know 6 works. I have it configured.

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [January 6, 2019, 4:19pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/17 "2019-01-06T16:19:33Z")

</div>

Have you tried running the optimize task manually?

> <https://github.com/elastic/kibana/issues/6057#issuecomment-254552969>

Also, ensure that Kibana can connect to elasticsearch before running this. Ensure that the searchguard settings are updated in kibana.yml.

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [January 6, 2019, 4:38pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/18 "2019-01-06T16:38:58Z")

</div>

Running it right now this is whats happening

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/2/c2a404e7f3d9abaf4b8942b2c266c3faf6be9e48.png)

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [January 6, 2019, 4:43pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/19 "2019-01-06T16:43:17Z")

</div>

How long should I wait on it? Its continuing with this

![image](https://us1.discourse-cdn.com/elastic/original/3X/b/a/ba9623c8311608190454eb3aaa3ac79d2cd13a20.png)

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [January 6, 2019, 5:03pm UTC](https://discuss.elastic.co/t/kibana-server-not-ready/162075/20 "2019-01-06T17:03:07Z")

</div>

Waiting for about 20 mins on that last line 16:41:59.599 now...

[Next page](https://discuss.elastic.co/t/kibana-server-not-ready/162075.md?page=2)
