Problem on starting Kibana


(Ivo Calado) #1

Hi fellows,
I'm trying to setting up Kibana in my Ubuntu OS. I followed the tutorial described in https://www.elastic.co/guide/en/kibana/current/deb.html .
When I start the service no log file is created in /var/log/kibana/ but the service status shows as everything is apparently ok:

 ● kibana.service - Kibana
Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2018-11-12 20:11:43 UTC; 3s ago
Main PID: 21867 (node)
Tasks: 6 (limit: 2320)
CGroup: /system.slice/kibana.service
       └─21867 /usr/share/kibana/bin/../node/bin/node --no-warnings 
 /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml

The problem is, I can't reach the service in port 5601:
:~$ curl -X GET "localhost:5601/"
curl: (7) Failed to connect to localhost port 5601: Connection refused

Any tip about how to proceed?

Thanks in advance.

Ivo


#2

Hi Ivo, I had very similar issue when I got started with Kibana.

The first thing I realized is it logs to the syslog and NOT where it says it will log to (where you checked).

My issue was permissions issues with the folders where I had installed Kibana. Once I checked the right log, I saw the errors and the fix was obvious.


(Ivo Calado) #3

Dear @devops_mike,
thank you very much for your promptly response. You're completely right. I got the log only through syslog instead of /var/log/kibana . In my case the problem was also a permission issue related to kibana.pid file that can't be accessed by kibana user.

Kind regards,
Ivo


(system) #4

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