Kibana doesn't start

when i start the service it doesn't start and below are stderror &stdoutput file for reference
In kibana.yml file apart from server.host: "localhost" everything was commented.

Please help me resolve it.

stderror file:

FATAL { [Error: listen EADDRNOTAVAIL ...:5601]
cause:
{ [Error: listen EADDRNOTAVAIL ...:5601]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen',
address: '...',
port: 5601 },
isOperational: true,
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen',
address: '...',
port: 5601 }

stdoutput file:

{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["status","plugin:kibana","info"],"pid":23569,"name":"plugin:kibana","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["status","plugin:elasticsearch","info"],"pid":23569,"name":"plugin:elasticsearch","state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["status","plugin:kbn_vislib_vis_types","info"],"pid":23569,"name":"plugin:kbn_vislib_vis_types","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["status","plugin:markdown_vis","info"],"pid":23569,"name":"plugin:markdown_vis","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["status","plugin:metric_vis","info"],"pid":23569,"name":"plugin:metric_vis","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["status","plugin:spyModes","info"],"pid":23569,"name":"plugin:spyModes","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["status","plugin:statusPage","info"],"pid":23569,"name":"plugin:statusPage","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["status","plugin:table_vis","info"],"pid":23569,"name":"plugin:table_vis","state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}
{"type":"log","@timestamp":"2017-04-27T07:27:06+00:00","tags":["fatal"],"pid":23569,"level":"fatal","message":"listen EADDRNOTAVAIL ...:5601","error":{"message":"listen EADDRNOTAVAIL ...:5601","name":"Error","stack":"Error: listen EADDRNOTAVAIL ...:5601\n at Object.exports._errnoException (util.js:870:11)\n at exports._exceptionWithHostPort (util.js:893:20)\n at Server._listen2 (net.js:1223:19)\n at listen (net.js:1272:10)\n at net.js:1381:9\n at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:63:16)\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:82:10)","code":"EADDRNOTAVAIL"}}

What version of Elasticsearch and Kibana are you running?

What platform?

Since you're using localhost are you just trying to get an instance of Elasticsearch and Kibana running in a dev environment on the same machine?

i am using elasticsearch 2.4.5 & kibana 4.4.2 and logstash 2.2.
Ubuntu 14.04.1 with 4g RAM 2CPU's. on the same server

@BigFunger

i am using elasticsearch 2.4.5 & kibana 4.4.2 and logstash 2.2.
Ubuntu 14.04.1 with 4g RAM 2CPU's. on the same server

Hi @raghuvarma,

Kibana runs on port 5601 by default. The error message is saying that, when Kibana tried to start up and bind to port 5601, it couldn't because something else was already bound to port 5601.

Could you run sudo lsof -i :5601? That should tell you what is already bound to port 5601.

it's giving no result.

$ lsof -i :5601
$
$

@shaunak

it's giving no result.

$ lsof -i :5601
$
$

Thanks @raghuvarma.

A couple more things to try:

  1. Can you change the value of server.host in your 127.0.0.1 in your kibana.yml file and try restarting the Kibana service?

  2. Can you paste here the contents of your /etc/hosts file?

Thanks,

Shaunak

1 Like

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