# ES won't start - where can I check logs?

**URL:** https://discuss.elastic.co/t/es-wont-start-where-can-i-check-logs/192720
**Category:** Elasticsearch
**Created:** [July 29, 2019, 2:15pm UTC](https://discuss.elastic.co/t/es-wont-start-where-can-i-check-logs/192720 "2019-07-29T14:15:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tryptych](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@tryptych](https://discuss.elastic.co/u/tryptych)
#### Post date: [July 29, 2019, 2:15pm UTC](https://discuss.elastic.co/t/es-wont-start-where-can-i-check-logs/192720/1 "2019-07-29T14:15:38Z")

</div>

I recently upgraded ES to 5.6 and it won't start now, and gives no clues as to why. Where are the log files for ES? I have a folder at /var/log/elasticsearch but it is empty. /var/log/messages only shows that it started and stopped, no detail.

```
Jul 29 10:10:16 locker2 systemd: Started Elasticsearch.
Jul 29 10:10:24 locker2 systemd: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Jul 29 10:10:24 locker2 systemd: Unit elasticsearch.service entered failed state.
Jul 29 10:10:24 locker2 systemd: elasticsearch.service failed.

```

How can I get better logging to find out what is wrong? Does ES have a debug mode? Can anyone point me in the right direction?

Thanks!

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [August 1, 2019, 1:44pm UTC](https://discuss.elastic.co/t/es-wont-start-where-can-i-check-logs/192720/2 "2019-08-01T13:44:12Z")

</div>

try checking the output of `journalctl`.

--Alex

---

<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: [August 29, 2019, 1:44pm UTC](https://discuss.elastic.co/t/es-wont-start-where-can-i-check-logs/192720/3 "2019-08-29T13:44:14Z")

</div>

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