Kibana server is not ready yet

After complete installation of opendistro i tried to install wazuh app with kibana, its being 3 days, its showing Kibana server is not ready yet

Wazuh Version: 3.12
KIbana Version: 7.6.1
ElasticsearchOSS Version: 7.6.1
Filebeat OSS version: 7.6.1

Hello,

Do you have any messages in your /var/log/syslog related to kibana when you start kibana.service ?

Output of cat /var/log/syslog | grep kibana and journalctl -xe | grep kibana are empty.

And output of kibana service

● kibana.service - Kibana
   Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2020-04-16 11:35:30 UTC; 4 days ago
 Main PID: 893 (node)
    Tasks: 11 (limit: 4702)
   CGroup: /system.slice/kibana.service
           └─893 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml

Apr 16 11:35:53 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-16T11:35:53Z","tags":["warning","elast
Apr 16 11:35:56 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-16T11:35:56Z","tags":["warning","elast
Apr 16 11:35:56 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-16T11:35:56Z","tags":["warning","elast
Apr 16 11:35:58 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-16T11:35:58Z","tags":["warning","elast
Apr 16 11:35:58 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-16T11:35:58Z","tags":["warning","elast
Apr 16 11:36:00 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-16T11:36:00Z","tags":["warning","elast
Apr 16 11:36:00 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-16T11:36:00Z","tags":["warning","elast
Apr 16 11:36:13 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-16T11:36:13Z","tags":["error","elastic
Apr 18 09:59:19 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-18T09:58:23Z","tags":["error","elastic
Apr 18 09:59:20 ubuntu-s-2vcpu-4gb-blr1-01 kibana[893]: {"type":"log","@timestamp":"2020-04-18T09:59:20Z","tags":["error","elastic

Ok, your log message seems truncated right ?

  • Is your kibana web UI worked before installing wazuh ? (did you test it step by step)

Did you check in your kibana.yml file theses settings :

  • elasticsearch.hosts <= adress that kibana use to connect to ES
  • server.host <= bind address for the WebUI

You could make some tests with these command to ensure that you have access :

curl -XGET https://localhost:9200 -u admin:admin --insecure

Might your kibana doesn’t have access to elasticsearch database ?

In my side, if my Kibana can’t connect to ES database it display the same message you gave us.

Almost every problem with “kinana not ready yet” is tied to .kibana* indices - check the latest of them and where .kibana alias points to. In need be try to switch that alias to the latest or previous index.

It seems the wazuh app was causing the problem. I fixed in by reinstalling the correct version