# Elasticsearch not starting on boot

**URL:** <https://discuss.elastic.co/t/elasticsearch-not-starting-on-boot/211779>\
**Category:** Elasticsearch\
**Created:** [December 13, 2019, 11:09am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-on-boot/211779 "2019-12-13T11:09:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NogNeetMachinaal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nogneetmachinaal/32/58893_2.png) [@NogNeetMachinaal](https://discuss.elastic.co/u/NogNeetMachinaal)\
**Post date:** [December 14, 2019, 10:32am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-on-boot/211779/2 "2019-12-14T10:32:55Z")

</div>

It looks like I was able to fix it by the pointers in this post:

> [@Elastisearch timeout on service start after yum update from 7.3 to 7.4](https://discuss.elastic.co/t/elastisearch-timeout-on-service-start-after-yum-update-from-7-3-to-7-4/201863/3):
>
> I guess its memory related, stopped kibana & logstash, and then started elasticsearch, and it did start without any issues

For Ubuntu 18.04 this is done via '/etc/systemd/system.conf'.  
I have modified the following parameters:  
DefaultTimeoutStartSec=900s  
DefaultTimeoutStopSec=900s

The original value was 90s.

Kind regards - Will

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-not-starting-on-boot/211779)._
