# Elasticsearch 7.14 fails to start on Ubuntu 20.04

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-14-fails-to-start-on-ubuntu-20-04/280705>\
**Category:** Elasticsearch\
**Created:** [August 7, 2021, 11:13am UTC](https://discuss.elastic.co/t/elasticsearch-7-14-fails-to-start-on-ubuntu-20-04/280705 "2021-08-07T11:13:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![theonlycharithperera](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@theonlycharithperera](https://discuss.elastic.co/u/theonlycharithperera)\
**Post date:** [August 7, 2021, 11:13am UTC](https://discuss.elastic.co/t/elasticsearch-7-14-fails-to-start-on-ubuntu-20-04/280705/1 "2021-08-07T11:13:13Z")

</div>

When I first installed it using apt-get everything went smoothly and I was able to start it as a service and verified it was working by using curl:

Later I noticed that it was using a lot of memory (2GB), so I stopped the service, and thereafter I haven't been able to restart it. Tried 7.13.4 and 7.13.2 (which is working perfectly on my Ubuntu 20.10 vm).

I changed the log level to 'all' in the log4j config, but can't find anything out of the ordinary. The **sun.misc.Unsafe unavailable** exception exists even on the installation that works well.

Can anyone help to diagnose this issue? Full log text here:

> **[Elasticsearch failure log](https://www.evernote.com/shard/s69/client/snv?noteGuid=cfdbec6f-d349-e486-28a4-1f4fa6a9d579&noteKey=ce6bbcb61714c67093db55fb3e723963&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs69%2Fsh%2Fcfdbec6f-d349-e486-28a4-1f4fa6a9d579%2Fce6bbcb61714c67093db55fb3e723963&title=Elasticsearch%2Bfailure%2Blog)**
>
> \[2021-08-07T13:45:35,684\]\[DEBUG\]\[o.e.b.SystemCallFilter \] \[3gej\] Linux seccomp filter installation successful, threads: \[all\]
> \[2021-08-07T13:45:35,809\]\[DEBUG\]\[o.e.b.JarHell \] \[3gej\] java.class.path: /...

(you don't need a login to view the above link)

Thanks,  
Charith

---

<div class="post-metadata">

**Author:** ![theonlycharithperera](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@theonlycharithperera](https://discuss.elastic.co/u/theonlycharithperera)\
**Post date:** [August 7, 2021, 11:50am UTC](https://discuss.elastic.co/t/elasticsearch-7-14-fails-to-start-on-ubuntu-20-04/280705/2 "2021-08-07T11:50:15Z")

</div>

Bah! Seems like a Ubuntu issue with systemd timing out:

> **[How to prevent systemd service start operation from timing out](https://sleeplessbeastie.eu/2020/02/29/how-to-prevent-systemd-service-start-operation-from-timing-out/)**
>
> Specify systemd startup timeout option to prevent service start operation from timing out.

---

<div class="post-metadata">

**Author:** ![theonlycharithperera](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@theonlycharithperera](https://discuss.elastic.co/u/theonlycharithperera)\
**Post date:** [August 7, 2021, 11:56am UTC](https://discuss.elastic.co/t/elasticsearch-7-14-fails-to-start-on-ubuntu-20-04/280705/3 "2021-08-07T11:56:53Z")

</div>

Details here:

> [@Debian elasticsearch.service: start operation timed out. Terminating](https://discuss.elastic.co/t/debian-elasticsearch-service-start-operation-timed-out-terminating/223262):
>
> I have a development machine that I use to develop production ready web apps. At first Elasticsearch worked very fine on my local development system, when developing the search of my [Site](https://www.nmmapper.com). I stopped Elasticsearch because the rest of the work didn't need it. But now am working on a new project that requires Elasticsearch but it's not starting. My main development system is Debian 10 fully updated and patched. But when I issue systemctl start elasticsearch I get this Job for elasticsearch.s…

---

<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 4, 2021, 11:57am UTC](https://discuss.elastic.co/t/elasticsearch-7-14-fails-to-start-on-ubuntu-20-04/280705/4 "2021-09-04T11:57:44Z")

</div>

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