Hello,
I am trying to install 6.8 version of elasticsearch and Kibana. I have been able to get my elasticsearch instance running, but my Kibana will not connect.
when I run ./bin/kibana it is getting stucked and if we close or cancel the command again kibana goes down. request help in fixing the issue
log [11:17:42.780] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active
log [11:17:43.495] [warning][browser-driver][reporting] Enabling the Chromium sandbox provides an additional layer of protection.
log [11:17:43.498] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
log [11:17:43.528] [info][status][plugin:reporting@6.8.2] Status changed from uninitialized to green - Ready
log [11:17:43.758] [info][listening] Server running at http://10.103.118.153:5601
log [11:17:43.797] [info][status][plugin:spaces@6.8.2] Status changed from yellow to green - Ready
curl -X GET "localhost:9200/?pretty"
{
"name" : "scdl-sduipa-001",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "mGQvDjPQRQC-g2vjPizAEA",
"version" : {
"number" : "6.8.2",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "b506955",
"build_date" : "2019-07-24T15:24:41.545295Z",
"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"
root@scdl-sduipa-001:~# curl -X GET "localhost:5601"
curl: (7) Failed connect to localhost:5601; Connection refused
root@scdl-sduipa-001:~# cat /var/log/kibana/kibana.stderr
FATAL Error: Port 5601 is already in use. Another instance of Kibana may be running!
chroot: invalid user
chroot: invalid user
I don't see any opened port request for 5601.
^Croot@scdl-sduipa-001:/usr/share/kibana# netstat -anp | grep 5601
root@scdl-sduipa-001:/usr/share/kibana# netstat -nlp | grep 5601
root@scdl-sduipa-001:~# cat /var/log/kibana/kibana.stdout
{"type":"log","@timestamp":"2019-05-20T05:57:13Z","tags":["fatal","root"],"pid":681,"message":"Error: Port 5601 is already in use. Another instance of Kibana may be running!\n at Root.shutdown (/usr/share/kibana/src/core/server/root/index.js:53:26)\n at Root.start (/usr/share/kibana/src/core/server/root/index.js:45:24)\n at process._tickCallback (internal/process/next_tick.js:68:7)\n at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)\n at startup (internal/bootstrap/node.js:283:19)\n at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)"}