CentOS 7 无法启动 Filebeat 服务
Filebeat Service will not start on CentOS 7
Filebeat 无法在我的 CentOS 7 机器上启动。我有 Logstash 运行 很好,可以访问 Kibana,我什至安装了 packetbeat 看看是不是 beats 有问题,但是 Packetbeat 工作正常。
以下是我尝试启动 filebeat 时发生的情况:
这里是 filebeat 日志:
我的 Filebeat 配置通过了“-configtest”选项,所以不可能。我从调试选项中得到的唯一输出是:
Exiting: Could not start registrar: Error loading state: Error decoding states: EOF
我也试过这两个命令都没有用:
systemctl reset-failed filebeat.service
systemctl start filebeat.service
有人有任何其他命令来尝试让它工作吗?
您需要删除注册表文件,这显然是一个已知问题。 Forum post with an answer from the ELK guys
rm -r /var/lib/filebeat/registry
systemctl reset-failed filebeat
systemctl start filebeat
Filebeat 无法在我的 CentOS 7 机器上启动。我有 Logstash 运行 很好,可以访问 Kibana,我什至安装了 packetbeat 看看是不是 beats 有问题,但是 Packetbeat 工作正常。
以下是我尝试启动 filebeat 时发生的情况:
这里是 filebeat 日志:
我的 Filebeat 配置通过了“-configtest”选项,所以不可能。我从调试选项中得到的唯一输出是:
Exiting: Could not start registrar: Error loading state: Error decoding states: EOF
我也试过这两个命令都没有用:
systemctl reset-failed filebeat.service
systemctl start filebeat.service
有人有任何其他命令来尝试让它工作吗?
您需要删除注册表文件,这显然是一个已知问题。 Forum post with an answer from the ELK guys
rm -r /var/lib/filebeat/registry
systemctl reset-failed filebeat
systemctl start filebeat