# A plugin had an unrecoverable error. Will restart this plugin Error: No such file or directory

**URL:** <https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin-error-no-such-file-or-directory/90467>\
**Category:** Logstash\
**Created:** [June 22, 2017, 1:55pm UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin-error-no-such-file-or-directory/90467 "2017-06-22T13:55:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalepu.girish](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@kalepu.girish](https://discuss.elastic.co/u/kalepu.girish)\
**Post date:** [June 22, 2017, 1:55pm UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin-error-no-such-file-or-directory/90467/1 "2017-06-22T13:55:27Z")

</div>

I am getting the below error , could you please help , i cant create the home directory on my server . Is there a config somewhere we can change to desired location

A plugin had an unrecoverable error. Will restart this plugin.  
Plugin: \<LogStash::Inputs::File path=\>["/local/apache22/0/logs/ws1.access\_log\_v.2017-0621"], add\_field=\>{"app\_id"=\>"86929"}, codec=\>\<LogStash::Codecs::Plain charset=\>"UTF-8"\>, stat\_interval=\>1, discover\_interval=\>15, sincedb\_write\_interval=\>15, start\_position=\>"end", delimiter=\>"\n", ignore\_older=\>86400, close\_older=\>3600\>

Error: No such file or directory - /home/kalepu/.sincedb\_aedbe76565beb4779800bed67001d83e.14686.11894.354780 {:level=\>:error}

input {

```
    file
    {
    path => [""/local/apache22/0/logs/ws1.access_log_v.2017-0621""]
    add_field => { "app_id" => "xxxxx"}
    }

```

}

filter {

}

output {

```
   if [app_id] == "xxxxx" {

```

kafka {

```
            topic_id => "xxxxx"

            bootstrap_servers => "xxxxx:1001"

            codec => json {}

    }

```

}

}

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 26, 2017, 3:33am UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin-error-no-such-file-or-directory/90467/2 "2017-06-26T03:33:57Z")

</div>

The file input's `sincedb_path` option can be used to set the path to the sincedb file that Logstash is trying to access.

Why do you have two double quotes before and after the filename pattern?

---

<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:** [July 24, 2017, 3:34am UTC](https://discuss.elastic.co/t/a-plugin-had-an-unrecoverable-error-will-restart-this-plugin-error-no-such-file-or-directory/90467/3 "2017-07-24T03:34:07Z")

</div>

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