# Elasticsearch service fails in my machine

**URL:** <https://discuss.elastic.co/t/elasticsearch-service-fails-in-my-machine/257029>\
**Category:** Elasticsearch\
**Created:** [November 30, 2020, 8:09am UTC](https://discuss.elastic.co/t/elasticsearch-service-fails-in-my-machine/257029 "2020-11-30T08:09:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [November 30, 2020, 8:09am UTC](https://discuss.elastic.co/t/elasticsearch-service-fails-in-my-machine/257029/1 "2020-11-30T08:09:52Z")

</div>

Hi all,

Kibana is active in my system.  
Elasticsearch was also running fine.

But i wanted it to start on boot and i made some changes in java files.  
I made some changes in jvm files,but don't remember.

Now elasticsearch throws up error as:

Loaded: loaded (/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled)  
Active: failed (Result: exit-code) since Mon 2020-11-30 13:26:26 IST; 12min ago  
Docs: [https://www.elastic.co](https://www.elastic.co)  
Process: 6097 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID\_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FA\>  
Main PID: 6097 (code=exited, status=1/FAILURE)

Nov 30 13:26:26 hinclude-Latitude-E6430 systemd-entrypoint[6243]: error:  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd-entrypoint[6243]: OpenJDK 64-Bit Server VM warning: INFO: os::commit\_memory(0x00000004c000000\>  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd-entrypoint[6243]: at org.elasticsearch.tools.launchers.JvmErgonomics.flagsFinal(JvmEr\>  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd-entrypoint[6243]: at org.elasticsearch.tools.launchers.JvmErgonomics.finalJvmOptions(\>  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd-entrypoint[6243]: at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgono\>  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd-entrypoint[6243]: at org.elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(Jv\>  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd-entrypoint[6243]: at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptio\>  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.  
Nov 30 13:26:26 hinclude-Latitude-E6430 systemd[1]: Failed to start Elasticsearch.

Need help here...

---

<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:** [November 30, 2020, 8:13am UTC](https://discuss.elastic.co/t/elasticsearch-service-fails-in-my-machine/257029/2 "2020-11-30T08:13:28Z")

</div>

Welcome to our community! 😃

Please check the Elasticsearch log for more information.

---

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [December 7, 2020, 10:31am UTC](https://discuss.elastic.co/t/elasticsearch-service-fails-in-my-machine/257029/3 "2020-12-07T10:31:59Z")

</div>

Hi all, I had changed the path in one of yml files...

Issue resolved

---

<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:** [January 4, 2021, 10:32am UTC](https://discuss.elastic.co/t/elasticsearch-service-fails-in-my-machine/257029/4 "2021-01-04T10:32:05Z")

</div>

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