Hello, can you plz help me troubleshoot these Kibana errors:
Feb 03 19:49:32 prozokiba01.pinpointtech.com systemd[1]: Started Kibana.
Feb 03 19:49:42 prozokiba01.pinpointtech.com kibana[562]: {"type":"log","@timestamp":"2022-02-03T19:49:42Z","tags":["error","Elasticsearch","admin"],"pid":562,"message":"Request error, retrying\nHEAD http://localhost:9200/ => connect EC... 127.0.0.1:9200"}
Feb 03 19:49:43 prozokiba01.pinpointtech.com kibana[562]: {"type":"log","@timestamp":"2022-02-03T19:49:43Z","tags":["status","plugin:Elasticsearch@5.6.13","error"],"pid":562,"state":"red","message":"Status changed from yellow to red - U...r Elasticsearch"}
Feb 03 19:49:43 prozokiba01.pinpointtech.com kibana[562]: {"type":"log","@timestamp":"2022-02-03T19:49:43Z","tags":["listening","info"],"pid":562,"message":"Server running at http://localhost:5601"}
Feb 03 19:49:43 prozokiba01.pinpointtech.com kibana[562]: {"type":"log","@timestamp":"2022-02-03T19:49:43Z","tags":["status","ui settings","error"],"pid":562,"state":"red","message":"Status changed from uninitialized to red - Elasticsea...:"uninitialized"}
Feb 03 19:50:43 prozokiba01.pinpointtech.com kibana[562]: {"type":"log","@timestamp":"2022-02-03T19:50:43Z","tags":["status","plugin:Elasticsearch@5.6.13","error"],"pid":562,"state":"red","message":"Status changed from red to red - Serv...localhost:9200."}
Hint: Some lines were ellipsized, use -l to show in full.
The Elasticsearch service is running fine
Cerebro is also not running, getting following error:
[root@prozokiba01 ~]# systemctl status cerebro
● cerebro.service - Cerebro
Loaded: loaded (/etc/systemd/system/cerebro.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-02-03 19:49:32 UTC; 1h 10min ago
Main PID: 560 (java)
CGroup: /system.slice/cerebro.service
└─560 java -Duser.dir=/opt/cerebro-0.8.1 -cp -jar /opt/cerebro-0.8.1/lib/cerebro.cerebro-0.8.1-launcher.jar
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at play.shaded.ahc.io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:259)
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at play.shaded.ahc.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:291)
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at play.shaded.ahc.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:634)
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: Caused by: java.net.ConnectException: Connection refused
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at play.shaded.ahc.io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:259)
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at play.shaded.ahc.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:291)
Feb 03 19:50:16 prozokiba01.pinpointtech.com cerebro[560]: at play.shaded.ahc.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:634)
[root@prozokiba01 ~]# curl localhost:9200/_cluster/health?pretty
{
"error" : {
"root_cause" : [
{
"type" : "master_not_discovered_exception",
"reason" : null
}
],
"type" : "master_not_discovered_exception",
"reason" : null
},
"status" : 503
}