# Kibana error "Kibana server is not ready yet"

**URL:** <https://discuss.elastic.co/t/kibana-error-kibana-server-is-not-ready-yet/206324>\
**Category:** Kibana\
**Created:** [November 4, 2019, 4:09am UTC](https://discuss.elastic.co/t/kibana-error-kibana-server-is-not-ready-yet/206324 "2019-11-04T04:09:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HyunLee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hyunlee/32/57052_2.png) [@HyunLee](https://discuss.elastic.co/u/HyunLee)\
**Post date:** [November 4, 2019, 4:10am UTC](https://discuss.elastic.co/t/kibana-error-kibana-server-is-not-ready-yet/206324/1 "2019-11-04T04:10:00Z")

</div>

Hello guys.

I got "Kibana server is not ready yet" message while setting ELK-stack. This is my second trial but got this again, and I even couldn’t get any clue on this yet.

Elasticsearch and kibana version is 7.3.2 and i'm running this on CentOs7.  
`curl localhost:5601` results in Kibana server is not ready yet.  
So it's impossible to open kibana in web.

This is elasticsearch.yml setting.

`[root@es-test-new ~]# cat /etc/elasticsearch/elasticsearch.yml`  
cluster.name: estest-new  
node.name: mynode  
path.data: /var/lib/elasticsearch  
path.logs: /var/log/elasticsearch  
http.cors.enabled: true  
http.cors.allow-origin: "\*"  
discovery.seed\_hosts: [“x.x.x.x:9300",] ######## x.x.x.x is just my IP.  
cluster.initial\_master\_nodes: [“x.x.x.x:9300",]

This is the one of Kibana.

`[root@es-test-new ~]# cat /etc/kibana/kibana.yml`  
server.host: "0.0.0.0"  
elasticsearch.hosts: ["[http://x.x.x.x:9200](http://x.x.x.x:9200)"] ######## x.x.x.x is just my IP.

When I checked kibana.stderr, it said port 5601 is already in use (so I once set server.port to 5602 but it didn’t help.)

This is firewall rule in GCP.

 ![gcp_firewall_rule](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b63cab996fc0e1162be07c9eb2126b2cddec4c8d.png)

And this is the result from netstat and lsof commend.  
` [root@es-test-new ~]# netstat -tnlp`

Active Internet connections (only servers)  
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name  
tcp 0 0 127.0.0.1:25 0.0.0.0:\* LISTEN 1475/master  
tcp 0 0 0.0.0.0:5601 0.0.0.0:\* LISTEN 32277/node  
tcp 0 0 0.0.0.0:22 0.0.0.0:\* LISTEN 1528/sshd  
tcp6 0 0 ::1:25 :::\* LISTEN 1475/master  
tcp6 0 0 :::9200 :::\* LISTEN 32151/java  
tcp6 0 0 :::9300 :::\* LISTEN 32151/java  
tcp6 0 0 :::22 :::\* LISTEN 1528/sshd`

`[root@es-test-new kibana]# lsof -i -nP | grep LISTEN`  
java 1370 elasticsearch 214u IPv6 20600 0t0 TCP \*:9300 (LISTEN)  
java 1370 elasticsearch 240u IPv6 18091 0t0 TCP \*:9200 (LISTEN)  
master 1488 root 13u IPv4 17368 0t0 TCP 127.0.0.1:25 (LISTEN)  
master 1488 root 14u IPv6 17369 0t0 TCP [::1]:25 (LISTEN)  
sshd 1533 root 3u IPv4 17967 0t0 TCP \*:22 (LISTEN)  
sshd 1533 root 4u IPv6 17969 0t0 TCP \*:22 (LISTEN)  
node 2142 kibana 18u IPv4 23571 0t0 TCP \*:5601 (LISTEN)`

Elasticsearch is running well as you can see below.

`curl localhost:9200`  
{  
"name" : "mynode",  
"cluster\_name" : "estest-new",  
"cluster\_uuid" : "_na_",  
"version" : {  
"number" : "7.3.2",  
"build\_flavor" : "default",  
"build\_type" : "rpm",  
"build\_hash" : "1c1faf1",  
"build\_date" : "2019-09-06T14:40:30.409026Z",  
"build\_snapshot" : false,  
"lucene\_version" : "8.1.0",  
"minimum\_wire\_compatibility\_version" : "6.8.0",  
"minimum\_index\_compatibility\_version" : "6.0.0-beta1"  
},  
"tagline" : "You Know, for Search"  
}

And I also check the version of Kibana.  
`/usr/share/kibana/bin/kibana --version --allow-root`  
7.3.2

So this is not the problem of version.

When I check the status, I could find both ES and Kibana are running.  
`systemctl status elasticsearch`  
● elasticsearch.service - Elasticsearch  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)  
Active: active (running) since 2019-11-03 22:30:05 KST; 12h ago  
Docs: [http://www.elastic.co](http://www.elastic.co)  
Main PID: 32151 (java)  
CGroup: /system.slice/elasticsearch.service  
├─32151 /usr/share/elasticsearch/jdk/bin/java -Xms2g -Xmx2g -XX:+U...  
└─32244 /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-...

`systemctl status kibana`  
● kibana.service - Kibana  
Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: disabled)  
Active: active (running) since 2019-11-03 22:30:28 KST; 12h ago  
Main PID: 32277 (node)  
CGroup: /system.slice/kibana.service  
└─32277 /usr/share/kibana/bin/../node/bin/node --no-warnings --max...

Can you guess why this is happening?  
I would be so grateful if you give me some help.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [November 19, 2019, 9:19am UTC](https://discuss.elastic.co/t/kibana-error-kibana-server-is-not-ready-yet/206324/2 "2019-11-19T09:19:05Z")

</div>

Hi @HyunLee, I'm not 100% sure, but from the error message and from the `systemctl` and `lsof` seems that you have two kibana instances running, one with PID 2142 and another with PID 32277.

Can you please try to kill the process 2142 manually and restart the kibana service?  
It's possible that maybe you started both the service and manually an instance of kibana

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 17, 2019, 9:30am UTC](https://discuss.elastic.co/t/kibana-error-kibana-server-is-not-ready-yet/206324/3 "2019-12-17T09:30:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
