无法使用systemctl启动kibana.service

wrrgggsh  于 2023-08-01  发布在  Kibana
关注(0)|答案(3)|浏览(229)

在CentOS 7上,我无法使用systemct start kibana启动kibana.service,但我可以在从\usr\share\kibana\bin\运行.kibana时启动服务。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.

字符串

ep6jt1vc

ep6jt1vc1#

我也面临着同样的问题。我从this link解的
第一个月

fnvucqvd

fnvucqvd2#

当我尝试($sudo systemctl startkibana.service)启动Kibana时,我遇到了与上面提到的相同的问题。问题:无法使用systemctl启动Kibana,但通过bin文件运行正常。分辨率:/etc/systemd/system/kibana.service文件试图使用User=kibana Group=kibana启动kibana,其中任何一个存在。在创建kibana用户、kibana组并重新启动kibana后,此问题得到解决。$useradd kibana $groupadd kibana $usermod -a -G kibana kibana希望有帮助。

ev7lccsx

ev7lccsx3#

我很高兴地报告,下面的工作后,我的问题也纠正了错误输入的IP地址,它现在工作的预期。

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.

字符串

相关问题