# Fatal Error starting Logstash 6.1.1

**URL:** <https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497>\
**Category:** Logstash\
**Created:** [January 8, 2018, 10:39am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497 "2018-01-08T10:39:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielePerri](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@danielePerri](https://discuss.elastic.co/u/danielePerri)\
**Post date:** [January 8, 2018, 10:39am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/1 "2018-01-08T10:39:24Z")

</div>

Hi all,  
I have installed Elasticsearch, Logstash and Kibana with X-packs, in version 6.1.1

During the start of Logstash, I receive this FATAL:

[FATAL] 2018-01-08 10:49:01.377 [main] runner - An unexpected error occurred! {:error=\>#\<TypeError: no implicit conversion of nil into String\>, :backtrace=\>["org/jruby/RubyFileTest.java:96:in `directory?'", "org/jruby/RubyFileTest.java:88:in`directory?'", "/opt/tibco/elk\_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:464:in `block in value'", "org/jruby/RubyKernel.java:1741:in`tap'", "/opt/tibco/elk\_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:463:in `value'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:60:in`get\_value'", "/opt/tibco/elk\_atos/product/logstash-6.1.1/logstash-core/lib/logstash/environment.rb:84:in `block in LogStash'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:121:in`block in post\_process'", "org/jruby/RubyArray.java:1734:in `each'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/settings.rb:120:in`post\_process'", "/opt/tibco/elk\_atos/product/logstash-6.1.1/logstash-core/lib/logstash/util/settings\_helper.rb:26:in `post_process'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/runner.rb:218:in`execute'", "/opt/tibco/elk\_atos/product/logstash-6.1.1/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/opt/tibco/elk_atos/product/logstash-6.1.1/logstash-core/lib/logstash/runner.rb:214:in`run'", "/opt/tibco/elk\_atos/product/logstash-6.1.1/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/opt/tibco/elk_atos/product/logstash-6.1.1/lib/bootstrap/environment.rb:67:in`'"]}

I have used the "simply" config file, suggested in the installation and configuration steps (logstash-simple.conf) :

input { stdin { } }  
output {  
elasticsearch { hosts =\> ["localhost:9200"] }  
stdout { codec =\> rubydebug }  
}

Thanks in advance.  
D.

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [January 8, 2018, 11:22am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/2 "2018-01-08T11:22:10Z")

</div>

1. How are you starting Logstash?
2. Please post your `logstash.yml` file contents.

The error is coming from post-processing on the `"path.data"` setting where the code checks whether the value is a valid directory but the value is nil.

---

<div class="post-metadata">

**Author:** ![danielePerri](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@danielePerri](https://discuss.elastic.co/u/danielePerri)\
**Post date:** [January 8, 2018, 11:41am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/3 "2018-01-08T11:41:16Z")

</div>

Thanks a lot!  
The parameter "path.data" was empty.  
Best regards  
D.

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [January 8, 2018, 11:44am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/4 "2018-01-08T11:44:51Z")

</div>

But LS is supposed to work with defaults if it is not set explicitly, i.e. out of the box!!!

I'm testing with ES 6.1.1 and LS 6.1.1 with xpack installed on both.

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [January 8, 2018, 11:48am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/5 "2018-01-08T11:48:48Z")

</div>

Can't recreate.

---

<div class="post-metadata">

**Author:** ![danielePerri](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@danielePerri](https://discuss.elastic.co/u/danielePerri)\
**Post date:** [January 8, 2018, 11:58am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/6 "2018-01-08T11:58:54Z")

</div>

I am sorry about that, but maybe the reason could be that there are two version of logstash (and elasticsearch and kibana too) installed on the same machine (6.0.1 and 6.1.1), even if the 6.0.1 is not running?  
I don't see any other reason. In the previous version config file (logstash.yml) the path.data parameter was empty too.  
Thanks a lot,  
D.

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [January 8, 2018, 12:11pm UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/7 "2018-01-08T12:11:18Z")

</div>

👍

---

<div class="post-metadata">

**Author:** ![venkat545](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@venkat545](https://discuss.elastic.co/u/venkat545)\
**Post date:** [January 24, 2018, 5:51am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/8 "2018-01-24T05:51:07Z")

</div>

exatly i am also facing the same issue..i am using 5.6 and 6.1.1 versions of ES&Ls in both "path.data" was empty only...can u suggest me how to solve this issue.thankz

---

<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:** [February 21, 2018, 5:51am UTC](https://discuss.elastic.co/t/fatal-error-starting-logstash-6-1-1/114497/9 "2018-02-21T05:51:11Z")

</div>

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