# Unit elasticsearch.service entered failed state.--X

**URL:** <https://discuss.elastic.co/t/unit-elasticsearch-service-entered-failed-state-x/143034>\
**Category:** Elasticsearch\
**Created:** [August 4, 2018, 10:24pm UTC](https://discuss.elastic.co/t/unit-elasticsearch-service-entered-failed-state-x/143034 "2018-08-04T22:24:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepakny](https://avatars.discourse-cdn.com/v4/letter/d/5fc32e/32.png) [@Deepakny](https://discuss.elastic.co/u/Deepakny)\
**Post date:** [August 4, 2018, 10:25pm UTC](https://discuss.elastic.co/t/unit-elasticsearch-service-entered-failed-state-x/143034/1 "2018-08-04T22:25:00Z")

</div>

[root@ip-\*\*\*\*\*\*\*\*\*\* ~]# sudo service elasticsearch start  
Starting elasticsearch (via systemctl): [OK]  
[root@ip-\*\*\*\*\*\*\*\*\*\* ~]# sudo service elasticsearch status  
● elasticsearch.service - Starts and stops a single elasticsearch instance on this system  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: disabled)  
Active: failed (Result: exit-code) since Sat 2018-08-04 21:06:02 UTC; 2s ago  
Docs: [http://www.elasticsearch.org](http://www.elasticsearch.org)  
Process: 9330 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -d -p /var/run/elasticsearch/elasticsearch.pid -Des.default.config=$CONF\_FILE -Des.default.path.home=$ES\_HOME -Des.default.path.logs=$LOG\_DIR -Des.default.path.data=$DATA\_DIR -Des.default.path.work=$WORK\_DIR -Des.default.path.conf=$CONF\_DIR (code=exited, status=0/SUCCESS)  
Main PID: 9336 (code=exited, status=3)

Aug 04 21:05:57 ip-_**.us-east-2.compute.internal systemd[1]: Starting Starts and stops a single elasticsearch instance on this system...  
Aug 04 21:05:57 ip-**_.us-east-2.compute.internal systemd[1]: PID file /var/run/elasticsearch/elasticsearch.pid not readable (yet?) after start.  
Aug 04 21:05:57 ip-_**.us-east-2.compute.internal systemd[1]: Started Starts and stops a single elasticsearch instance on this system.  
Aug 04 21:06:02 ip-.us-east-2.compute.internal systemd[1]: elasticsearch.service: main process exited, code=exited, status=3/NOTIMPLEMENTED  
Aug 04 21:06:02 ip-.us-east-2.compute.internal systemd[1]: Unit elasticsearch.service entered failed state.  
Aug 04 21:06:02 ip-**_\*\*\*.us-east-2.compute.internal systemd[1]: elasticsearch.service failed.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 5, 2018, 6:14am UTC](https://discuss.elastic.co/t/unit-elasticsearch-service-entered-failed-state-x/143034/2 "2018-08-05T06:14:23Z")

</div>

Please don't just post logs and expect people to help you.

---

<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 2, 2018, 6:14am UTC](https://discuss.elastic.co/t/unit-elasticsearch-service-entered-failed-state-x/143034/3 "2018-09-02T06:14:24Z")

</div>

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