# Error Starting Elastic service

**URL:** <https://discuss.elastic.co/t/error-starting-elastic-service/107836>\
**Category:** Elasticsearch\
**Created:** [November 15, 2017, 10:42pm UTC](https://discuss.elastic.co/t/error-starting-elastic-service/107836 "2017-11-15T22:42:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![as9876](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@as9876](https://discuss.elastic.co/u/as9876)\
**Post date:** [November 15, 2017, 10:42pm UTC](https://discuss.elastic.co/t/error-starting-elastic-service/107836/1 "2017-11-15T22:42:08Z")

</div>

service elasticsearch status

shows me:  
failed (Result: exit-code)  
...  
main ERROR Null object returned for RollingFile in Appenders.

I couldn't find another thread which solves this issue.

Thanks,

---

<div class="post-metadata">

**Author:** ![as9876](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@as9876](https://discuss.elastic.co/u/as9876)\
**Post date:** [November 15, 2017, 11:04pm UTC](https://discuss.elastic.co/t/error-starting-elastic-service/107836/2 "2017-11-15T23:04:23Z")

</div>

I commented out this line in the elasticsearch.yml and it worked:

# path.logs: /var/log/elasticsearch/elasticsearch.log

---

<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:** [December 13, 2017, 11:04pm UTC](https://discuss.elastic.co/t/error-starting-elastic-service/107836/3 "2017-12-13T23:04:54Z")

</div>

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