# Elasticsearch -not starting after boot on ubuntu server 22.04.1

**URL:** <https://discuss.elastic.co/t/elasticsearch-not-starting-after-boot-on-ubuntu-server-22-04-1/312528>\
**Category:** Elasticsearch\
**Created:** [August 20, 2022, 9:39pm UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-after-boot-on-ubuntu-server-22-04-1/312528 "2022-08-20T21:39:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bezder](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@bezder](https://discuss.elastic.co/u/bezder)\
**Post date:** [August 20, 2022, 9:39pm UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-after-boot-on-ubuntu-server-22-04-1/312528/1 "2022-08-20T21:39:49Z")

</div>

Hello,  
when i reboot my ubuntu server and run  
systemctl status elasticsearch i am getting errror as below, when i execute  
afterward systemctl restart elasticsearch; all works okay ... any idea why its not starting properly after boot?

thanks!

```auto
Aug 17 19:16:03 universe-new systemd[1]: Starting Elasticsearch...

Aug 17 19:15:43 universe-new systemd[1]: elasticsearch.service: start operation timed out. Terminating.

Aug 17 19:15:44 universe-new systemd[1]: elasticsearch.service: Failed with result 'timeout'.

Aug 17 19:15:44 universe-new systemd[1]: Failed to start Elasticsearch.

Aug 17 19:15:44 universe-new systemd[1]: elasticsearch.service: Consumed 20.346s CPU time.

```

---

<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 22, 2022, 12:24am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-after-boot-on-ubuntu-server-22-04-1/312528/2 "2022-08-22T00:24:35Z")

</div>

What do your Elasticsearch logs show?

---

<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 19, 2022, 12:24am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-after-boot-on-ubuntu-server-22-04-1/312528/3 "2022-09-19T00:24:36Z")

</div>

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