# A plugin had an unrecoverable error: Logstash File start\_position

**URL:** <https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-logstash-file-start-position/157441>\
**Category:** Logstash\
**Created:** [November 19, 2018, 9:01pm UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-logstash-file-start-position/157441 "2018-11-19T21:01:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wheelq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wheelq/32/35893_2.png) [@wheelq](https://discuss.elastic.co/u/wheelq)\
**Post date:** [November 19, 2018, 9:01pm UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-logstash-file-start-position/157441/1 "2018-11-19T21:01:49Z")

</div>

I have run into the following error (apart from large log files, all the data is being imported without any issues):

```
C:/XXX/logstash-6.4.0/logstash-6.4.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/filewatch/sincedb_collection.rb:22:in `initialize'
C:/XXX/logstash-6.4.0/logstash-6.4.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/filewatch/observing_base.rb:62:in `build_watch_and_dependencies'
C:/XXX/logstash-6.4.0/logstash-6.4.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/filewatch/observing_base.rb:56:in `initialize'
C:/XXX/logstash-6.4.0/logstash-6.4.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/logstash/inputs/file.rb:332:in `start_processing'
C:/XXX/logstash-6.4.0/logstash-6.4.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-file-4.1.5/lib/logstash/inputs/file.rb:337:in `run'
C:/XXX/logstash-6.4.0/logstash-6.4.0/logstash-core/lib/logstash/pipeline.rb:408:in `inputworker'
C:/XXX/logstash-6.4.0/logstash-6.4.0/logstash-core/lib/logstash/pipeline.rb:402:in `block in start_input'
[2018-11-19T17:37:42,983][INFO][filewatch.observingtail] START, creating Discoverer, Watch with file and sincedb collections
[2018-11-19T17:37:42,983][ERROR][logstash.pipeline] A plugin had an unrecoverable error. Will restart this plugin.
  Pipeline_id:projects
  Plugin: <LogStash::Inputs::File start_position=>"beginning", path=>["C:/Temp/test_file_uat.csv"], file_chunk_count=>4611686018427387903, id=>"2deaeaa2e0095a6246ea2c702e30de471961c1b0403b1567981f90a59ff0309b", sincedb_path=>"C:/Temp/.test_file_uat.csv.db", close_older=>45.0, stat_interval=>5.0, enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_3e4a8560-541f-40ae-a1e9-c9acbc5e06b4", enable_metric=>true, charset=>"UTF-8">, discover_interval=>15, sincedb_write_interval=>15.0, delimiter=>"\n", mode=>"tail", file_completed_action=>"delete", sincedb_clean_after=>1209600.0, file_chunk_size=>32768, file_sort_by=>"last_modified", file_sort_direction=>"asc">
  Error: Input/output error - Input/output error
  Exception: Errno::EIO
  Stack: org/jruby/RubyFile.java:1172:in `utime'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1164:in `block in touch'
org/jruby/RubyArray.java:1734:in `each'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1161:in `touch'
```

---

<div class="post-metadata">

**Author:** ![wheelq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wheelq/32/35893_2.png) [@wheelq](https://discuss.elastic.co/u/wheelq)\
**Post date:** [December 4, 2018, 7:43pm UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-logstash-file-start-position/157441/2 "2018-12-04T19:43:52Z")

</div>

anyone?

---

<div class="post-metadata">

**Author:** ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)\
**Post date:** [December 5, 2018, 9:26am UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-logstash-file-start-position/157441/3 "2018-12-05T09:26:06Z")

</div>

hello,  
if you could provide the input code it will be easy to provide the solution for you.

Regards

---

<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:** [January 2, 2019, 9:26am UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-logstash-file-start-position/157441/4 "2019-01-02T09:26:06Z")

</div>

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