【问题标题】:Filebeat Service will not start on CentOS 7Filebeat 服务在 CentOS 7 上无法启动
【发布时间】:2017-02-09 05:02:04
【问题描述】:

Filebeat 不会在我的 CentOS 7 机器上启动。我的Logstash运行良好,可以访问Kibana,我什至安装了packetbeat,看看是不是beat有问题,但是Packetbeat运行良好。

这是我尝试启动 filebeat 时发生的情况:

这是文件节拍日志:

我的 Filebeat 配置通过了“-configtest”选项,所以不能这样。我从调试选项中得到的唯一输出是:

Exiting: Could not start registrar: Error loading state: Error decoding states: EOF

这两个命令我也试过了,没用:

systemctl reset-failed filebeat.service
systemctl start filebeat.service

任何人有任何其他命令可以尝试让它工作吗?

【问题讨论】:

  • 请不要张贴代码图片或错误信息。而是直接将实际代码/消息复制并粘贴或键入到帖子中。

标签: elasticsearch centos system centos7 filebeat


【解决方案1】:

您需要删除注册表文件,这显然是一个已知问题。 Forum post with an answer from the ELK guys

rm -r /var/lib/filebeat/registry
systemctl reset-failed filebeat
systemctl start filebeat

【讨论】:

  • 良好的观察 :)
猜你喜欢
  • 2020-07-12
  • 2015-07-22
  • 1970-01-01
  • 2016-05-31
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-02-08
  • 1970-01-01
相关资源
最近更新 更多