简体   繁体   中英

Filebeat Service will not start on CentOS 7

Filebeat will not start on my CentOS 7 box. I have Logstash running fine, Kibana can be accessed, and I even installed packetbeat to see if it was something wrong with the beats, but Packetbeat works fine.

Here is what is happening when I try to start filebeat:

系统状态故障

Here are the filebeat logs:

Filebeat日志

My Filebeat config passes the '-configtest' option, so it can't be that. The only output that I get from the debugging option is this:

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

I have also tried these two commands to no avail:

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

Anyone have any other commands to try to try and get this to work?

You need to delete the registry file, this is a known issue appartently. Forum post with an answer from the ELK guys

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM