Tuesday, November 2, 2021

[SOLVED] Unable to start kibana.service using systemctl

Issue

On CentOS 7, I am unable to start kibana.service using systemct start kibana but i am able to start the service when running .kibana from \usr\share\kibana\bin\. This is the output when systemctl status kibana

kibana.service - Kibana
   Loaded: loaded (/etc/systemd/system/kibana.service; disabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Tue 2018-06-05 02:04:23 CDT; 703ms ago
  Process: 2560 ExecStart=/usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml (code=exited, status=1/FAILURE)
 Main PID: 2560 (code=exited, status=1/FAILURE)

Jun 05 02:04:23 trclx2002 systemd[1]: kibana.service: main process exited, code=exited, status=1/FAILURE
Jun 05 02:04:23 trclx2002 systemd[1]: Unit kibana.service entered failed state.
Jun 05 02:04:23 trclx2002 systemd[1]: kibana.service failed.
Jun 05 02:04:23 trclx2002 systemd[1]: kibana.service holdoff time over, scheduling restart.
Jun 05 02:04:23 trclx2002 systemd[1]: start request repeated too quickly for kibana.service
Jun 05 02:04:23 trclx2002 systemd[1]: Failed to start Kibana.
Jun 05 02:04:23 trclx2002 systemd[1]: Unit kibana.service entered failed state.
Jun 05 02:04:23 trclx2002 systemd[1]: kibana.service failed.

Solution

I also faced the same issue. I solved it from this link

chown kibana:kibana -R /usr/share/kibana/optimize/



Answered By - scientific_explorer