# Elasticsearch not starting: no useful logs

**URL:** <https://discuss.elastic.co/t/elasticsearch-not-starting-no-useful-logs/96954>\
**Category:** Elasticsearch\
**Created:** [August 14, 2017, 11:11am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-no-useful-logs/96954 "2017-08-14T11:11:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurab\_Dahal](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Saurab\_Dahal](https://discuss.elastic.co/u/Saurab_Dahal)\
**Post date:** [August 14, 2017, 11:11am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-no-useful-logs/96954/1 "2017-08-14T11:11:04Z")

</div>

I want to setup elasticsearch cluster. I am running ES as systemd service. but when I run it gives this log  
● elasticsearch.service - Elasticsearch  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)  
Drop-In: /etc/systemd/system/elasticsearch.service.d  
└─elasticsearch.conf  
Active: failed (Result: exit-code) since Mon 2017-08-14 06:34:52 EDT; 25min ago  
Docs: [http://www.elastic.co](http://www.elastic.co)  
Process: 27403 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID\_DIR}/elasticsearch.pid -Edefault.path.logs=${LOG\_DIR} -Edefault.path.data=${DATA\_DIR} -Edefault.path.conf=${CONF\_DIR} (code=exited, status=1/FAILURE)  
Process: 27401 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)  
Main PID: 27403 (code=exited, status=1/FAILURE)

```
Aug 14 06:34:52 Bigdata-Namenode elasticsearch[27403]: at java.nio.file.Files.createTempFile(Files.java:897) ~[?:1.8.0_131]
Aug 14 06:34:52 Bigdata-Namenode elasticsearch[27403]: at org.elasticsearch.bootstrap.Security.selfTest(Security.java:486) ~[elasticsearch-5.5.1.jar:5.5.1]
Aug 14 06:34:52 Bigdata-Namenode elasticsearch[27403]: at org.elasticsearch.bootstrap.Security.configure(Security.java:121) ~[elasticsearch-5.5.1.jar:5.5.1]
Aug 14 06:34:52 Bigdata-Namenode elasticsearch[27403]: at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227) ~[elasticsearch-5.5.1.jar:5.5.1]
Aug 14 06:34:52 Bigdata-Namenode elasticsearch[27403]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.5.1.jar:5.5.1]
Aug 14 06:34:52 Bigdata-Namenode elasticsearch[27403]: at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.5.1.jar:5.5.1]
Aug 14 06:34:52 Bigdata-Namenode elasticsearch[27403]: ... 6 more
Aug 14 06:34:52 Bigdata-Namenode systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Aug 14 06:34:52 Bigdata-Namenode systemd[1]: elasticsearch.service: Unit entered failed state.
Aug 14 06:34:52 Bigdata-Namenode systemd[1]: elasticsearch.service: Failed with result 'exit-code'.

```

and `/var/log/elasticsearch.log` contains the above log only. this is all the log I get. So, I have no idea what to even post  
[here is my elasticsearch.yml](http://pastebin.ubuntu.com/25311754/)

---

<div class="post-metadata">

**Author:** ![s1monw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s1monw/32/3637_2.png) [@s1monw](https://discuss.elastic.co/u/s1monw)\
**Post date:** [August 18, 2017, 10:10am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-no-useful-logs/96954/2 "2017-08-18T10:10:23Z")

</div>

a rough guess is that you don't have the correct permissions on the filesystem. But it's hard to tell with this info

---

<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:** [September 15, 2017, 10:10am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-no-useful-logs/96954/3 "2017-09-15T10:10:33Z")

</div>

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