I did a 'apt-get upgrade' on the ubuntu server hosting the ELK stack. After that my Kibana page stopped loading and keeps showing 'Kibana server is not ready yet' message.
kibana, elasticsearch and logstash services are all active and green. No errors in kibana.stderr. And I can curl http://localhost:9200 and get a proper response as below
"name" : "xrsm0UW",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "HW0C3VYoQoqzywhskvKuPQ",
"version" : {
"number" : "6.8.0",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "65b6179",
"build_date" : "2019-05-15T20:06:13.172855Z",
"build_snapshot" : false,
"lucene_version" : "7.7.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
In Elasticsearch.log it has these warnings
[2019-05-30T23:55:47,920][WARN ][o.e.m.j.JvmGcMonitorService] [xrsm0UW] [gc][37170] overhead, spent [1.8s] collecting in the last [1.9s]
[2019-05-30T23:55:50,844][WARN ][o.e.m.j.JvmGcMonitorService] [xrsm0UW] [gc][37171] overhead, spent [2.8s] collecting in the last [2.9s]
[2019-05-30T23:56:00,058][WARN ][o.e.m.j.JvmGcMonitorService] [xrsm0UW] [gc][37179] overhead, spent [2s] collecting in the last [2.2s]
[2019-05-30T23:56:01,991][WARN ][o.e.m.j.JvmGcMonitorService] [xrsm0UW] [gc][37180] overhead, spent [1.8s] collecting in the last [1.9s]
[2019-05-30T23:56:06,990][WARN ][o.e.m.j.JvmGcMonitorService] [xrsm0UW] [gc][37184] overhead, spent [1.8s] collecting in the last [1.9s]
In Kibana.stdout I have the following
{"type":"log","@timestamp":"2019-05-28T04:11:21Z","tags":["status","plugin:elasticsearch@6.2.3","info"],"pid":3973,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2019-05-28T04:11:21Z","tags":["status","plugin:timelion@6.2.3","info"],"pid":3973,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2019-05-28T04:11:21Z","tags":["status","plugin:console@6.2.3","info"],"pid":3973,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2019-05-28T04:11:21Z","tags":["status","plugin:metrics@6.2.3","info"],"pid":3973,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2019-05-28T04:11:21Z","tags":["fatal"],"pid":3973,"message":"Port 5601 is already in use. Another instance of Kibana may be running!"}
It's interesting to notice, the above output has elasticsearch@6.2.3 instead of the upgraded version of 6.8.0. Could this be my problem?