# Filebeat starting error

**URL:** <https://discuss.elastic.co/t/filebeat-starting-error/253208>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 24, 2020, 2:24pm UTC](https://discuss.elastic.co/t/filebeat-starting-error/253208 "2020-10-24T14:24:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gizem](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@gizem](https://discuss.elastic.co/u/gizem)\
**Post date:** [October 24, 2020, 2:24pm UTC](https://discuss.elastic.co/t/filebeat-starting-error/253208/1 "2020-10-24T14:24:10Z")

</div>

Hi,  
I get the error when I start the filebeat. How can I solve this?

` ERROR	instance/beat.go:951	Exiting: Failed to start crawler: starting input failed: Error while initializing input: Can only start an input when all related states are finished: {Id: native::9834799-64770, Finished: false, Fileinfo: &{scripts.log 2239159 436 {691295292 63739143450 0x607ff60} {64770 9834799 1 33204 1003 1003 0 0 2239159 4096 4392 {1603546679 297173250} {1603546650 691295292} {1603546650 691295292} [0 0 0]}}, Source: /home/test/application/release/current_release/scripts/log/scripts.log, Offset: 0, Timestamp: 2020-10-24 16:38:00.415859717 +0300 +03 m=+0.083381773, TTL: -1ns, Type: log, Meta: map[], FileStateOS: 9834799-64770}`

Thanks.

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [October 26, 2020, 9:33am UTC](https://discuss.elastic.co/t/filebeat-starting-error/253208/2 "2020-10-26T09:33:24Z")

</div>

Hi!

Can you check if there is a Filebeat already running? Also one thing you can try is to remove `data` directory where Filebeat stores registries and info about files that has parsed. However this will make Filebeat to read all log files from the beginning.

C.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 23, 2020, 11:33am UTC](https://discuss.elastic.co/t/filebeat-starting-error/253208/3 "2020-11-23T11:33:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
