Sabith
Sabith

Reputation: 205

Unable to start kibana.service using systemctl

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.

Upvotes: 2

Views: 19081

Answers (3)

Tom Ferguson
Tom Ferguson

Reputation: 1

I'm happy to report that the following worked on my issue after also correcting in incorrectly entered IP address and it is now working as intended.

I experienced the same issue as mentioned above when tried ($sudo systemctl start kibana.service) to start Kibana. Issue: Failed to start Kibana using systemctl, but works fine through bin file. Resolution: /etc/systemd/system/kibana.service file was trying to start kibana using the User=kibana Group=kibana where either of them exists. This is resolved after creating the kibana user, kibana group and restarting kibana. $useradd kibana
$groupadd kibana
$usermod -a -G kibana kibana Hope this helps.

Upvotes: 0

scientific_explorer
scientific_explorer

Reputation: 915

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

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

Upvotes: 1

sreeram paladugula
sreeram paladugula

Reputation: 11

I experienced the same issue as mentioned above when tried ($sudo systemctl start kibana.service) to start Kibana. Issue: Failed to start Kibana using systemctl, but works fine through bin file. Resolution: /etc/systemd/system/kibana.service file was trying to start kibana using the User=kibana Group=kibana where either of them exists. This is resolved after creating the kibana user, kibana group and restarting kibana. $useradd kibana $groupadd kibana $usermod -a -G kibana kibana Hope this helps.

Upvotes: 1

Related Questions