ES + Kibana on CentOS


(Frank) #1

Ahoi everyone,

I've installed the .rpm of elasticsearch on a server running CentOS. After that, i installed Kibana by using the tar.gz file

Opened ports 9200 / 9300 / 5601 on firewall.

Since this is running on a remote server, I can't figure out the next steps. Opening Kibana in a browser is showing me a blank site. How can I get it to work?

log [06:18:06.402] [info][status][plugin:kibana@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.442] [info][status][plugin:elasticsearch@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.446] [info][status][plugin:xpack_main@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.451] [info][status][plugin:searchprofiler@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.454] [info][status][plugin:ml@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.520] [info][status][plugin:tilemap@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.522] [info][status][plugin:watcher@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.547] [info][status][plugin:license_management@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.549] [info][status][plugin:index_management@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.699] [info][status][plugin:timelion@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.701] [info][status][plugin:graph@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.712] [info][status][plugin:monitoring@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.714] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
log [06:18:06.717] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [06:18:06.725] [info][status][plugin:security@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.747] [info][status][plugin:grokdebugger@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.753] [info][status][plugin:dashboard_mode@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.755] [info][status][plugin:logstash@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:06.772] [info][status][plugin:apm@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.778] [info][status][plugin:console@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.780] [info][status][plugin:console_extensions@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.784] [info][status][plugin:notifications@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:06.787] [info][status][plugin:metrics@6.4.3] Status changed from uninitialized to green - Ready
log [06:18:07.154] [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 [06:18:07.159] [info][status][plugin:reporting@6.4.3] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [06:18:07.468] [info][status][plugin:elasticsearch@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.562] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active
log [06:18:07.566] [info][status][plugin:xpack_main@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.567] [info][status][plugin:searchprofiler@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.567] [info][status][plugin:ml@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.568] [info][status][plugin:tilemap@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.568] [info][status][plugin:watcher@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.569] [info][status][plugin:index_management@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.569] [info][status][plugin:graph@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.570] [info][status][plugin:grokdebugger@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.571] [info][status][plugin:logstash@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.571] [info][status][plugin:reporting@6.4.3] Status changed from yellow to green - Ready
log [06:18:07.572] [info][kibana-monitoring][monitoring-ui] Starting monitoring stats collection
log [06:18:07.576] [info][status][plugin:security@6.4.3] Status changed from yellow to green - Ready
log [06:18:08.078] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active
error [06:18:08.190] [error][root] Error: listen EADDRINUSE 127.0.0.1:5601
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at Server.setupListenHandle [as _listen2] (net.js:1355:14)
at listenInCluster (net.js:1396:12)
at GetAddrInfoReqWrap.doListen (net.js:1505:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)
log [06:18:08.192] [info][server][http] stopping http server
log [06:18:08.193] [info][server][http][redirect] stopping HTTPS redirect server
error [06:18:08.194] [warning][process] UnhandledPromiseRejectionWarning: Error: listen EADDRINUSE 127.0.0.1:5601
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at Server.setupListenHandle [as _listen2] (net.js:1355:14)
at listenInCluster (net.js:1396:12)
at GetAddrInfoReqWrap.doListen (net.js:1505:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)
at emitWarning (internal/process/promises.js:65:17)
at emitPendingUnhandledRejections (internal/process/promises.js:109:11)
at process._tickCallback (internal/process/next_tick.js:189:7)
error [06:18:08.195] [warning][process] Error: listen EADDRINUSE 127.0.0.1:5601
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at Server.setupListenHandle [as _listen2] (net.js:1355:14)
at listenInCluster (net.js:1396:12)
at GetAddrInfoReqWrap.doListen (net.js:1505:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:97:10)


(Mark Walkom) #2

That would suggest that something else is already using the port?

Also, why not use the Kibana RPM?


(Frank) #3

I ran the ./kibana installer again. Guess the previous version was running on that port. I will try the rpm as well. Do I have to change the localhost in the yml settings to the IP of the server?


(Frank) #4

Ran the RPM installer of KIBANA. How can I get access to the GUI via Browser on my local Machine?

curl http://localhost:5601

<script>var hashRoute = '/app/kibana';

var defaultRoute = '/app/kibana';

var hash = window.location.hash;

if (hash.length) {

window.location = hashRoute + hash;

} else {

window.location = defaultRoute;

}</script>


(system) #5

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