kibana - 无法使用 systemctl 启动 kibana.service

标签 kibana centos7 systemd

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

最佳答案

我也遇到了同样的问题。我从this link解决了它

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

关于kibana - 无法使用 systemctl 启动 kibana.service,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50694010/

相关文章:

java - Spring Boot 2.1.6 无法作为 SystemD 服务启动

python - 检索 Kibana 中的额外字段

elasticsearch - ELK 5.3上的Lucene语法

centos - eth1接口(interface)在ifconfig中不可见,在centos6中无法与其他服务器交互

linux - Centos 7 与 PHP 7.2 Pthreads 无法加载 redis.so

docker - 无法在 Jenkins 内部运行的docker内部运行systemd

Kibana 在仪表板上禁用自动刷新选项

elasticsearch - 如何将 Kibana 3 仪表板加载到 Kibana 4 中?

yum - centos7安装php7报错

ubuntu - 作为 systemctl start SERVICE 运行的 Autossh 脚本有效,但 systemctl enable SERVICE 失败