# Elasticsearch service getting failed on Ubuntu 20.4

**URL:** <https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677>\
**Category:** Elasticsearch\
**Created:** [October 28, 2022, 11:44am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677 "2022-10-28T11:44:21Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 31, 2022, 7:05am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/22 "2022-10-31T07:05:28Z")

</div>

Elasticsearch can be IO intensive and requires that the storage provides the same durability guarantees as locally attached storage. There have been issues reported with different types of networked storage that do not offer sufficient guarantees, which can lead to stability issues and data loss.

Other applications running on this type of VM may not have nearly as strict requirements on the storage as Elasticsearch, so that they are running fine does not necessarily mean anything.

As it looks like you are having issues with the storage and do not have any insight into how it is set up there is little we can do to help. You may need to contact the provider for further details or try with a different provider.

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 7:08am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/23 "2022-10-31T07:08:41Z")

</div>

Are we cent percent confident that this issue is only because of Storage and IO that the service is getting failed within 3 seconds?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 31, 2022, 7:12am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/24 "2022-10-31T07:12:56Z")

</div>

If you could share the full log it would be easier to tell.

I would create a brand new VM and do a fresh install there and capture the logs.

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 7:13am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/25 "2022-10-31T07:13:49Z")

</div>

it will be very helpful if i can let me know from where and how can i extract full logs.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 31, 2022, 7:15am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/26 "2022-10-31T07:15:19Z")

</div>

That depends on [how you install it](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/logging.html).

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 7:33am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/27 "2022-10-31T07:33:03Z")

</div>

Link for the logs:

> **[elasticsearch.log](https://wetransfer.com/downloads/b24f22b71983e7cf4fb8f43fc23434ee20221031073115/1f035e0eacaa1a0883a1af88a4f9803620221031073144/6082ab?utm_campaign=WT_email_tracking&utm_content=general&utm_medium=download_button&utm_source=notify_recipient_email)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 31, 2022, 7:36am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/28 "2022-10-31T07:36:48Z")

</div>

That is not logs following a fresh install, is it?

It seems JNA is not available, which I assume could be a problem.

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 7:37am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/29 "2022-10-31T07:37:59Z")

</div>

even after fresh install we have to install, uninstall and reinstall Elasticsearch 2-3 times. Not much help was available related to JNA.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 31, 2022, 7:47am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/30 "2022-10-31T07:47:11Z")

</div>

There has been a lot of improvements in later releases, so I would recommend upgrading to at least the 7.17.x release. It might provide more information (I have not used 7.1 in years...).

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 7:54am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/31 "2022-10-31T07:54:38Z")

</div>

brother the thing is that before this fresh installation we tried with latest version as well but 7.17 was not even able to kick off, but with this older version we are able to have it started but its crashing with in 3 seconds.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 31, 2022, 7:55am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/32 "2022-10-31T07:55:48Z")

</div>

Please do a clean install of 7.17 and provide all the logs. Make sure no old data is left on the host.

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 7:57am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/33 "2022-10-31T07:57:16Z")

</div>

we will carry the task and will revert accordingly.

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 12:42pm UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/34 "2022-10-31T12:42:03Z")

</div>

Getting Stuck over here:

```auto
root@server:~# sudo systemctl start elasticsearch
Job for elasticsearch.service failed because the control process exited with error code.
See "systemctl status elasticsearch.service" and "journalctl -xe" for details.
root@server:~# sudo systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
     Loaded: loaded (/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2022-10-31 17:39:55 PKT; 20s ago
       Docs: https://www.elastic.co
    Process: 12396 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
   Main PID: 12396 (code=exited, status=1/FAILURE)

Oct 31 17:39:28 server.xyz.com.pk systemd[1]: Starting Elasticsearch...
Oct 31 17:39:38 server.xyz.com.pk systemd-entrypoint[12396]: Failed to load native library:jansi-2.4.0-b5be9d296cd296bc-libjansi.so. The native libr>
Oct 31 17:39:38 server.xyz.com.pk systemd-entrypoint[12396]: java.lang.UnsatisfiedLinkError: /tmp/elasticsearch-13969947046360078302/jansi-2.4.0-b5b>
Oct 31 17:39:54 server.xyz.com.pk systemd-entrypoint[12396]: ERROR: Elasticsearch did not exit normally - check the logs at /var/log/elasticsearch/e>
Oct 31 17:39:55 server.xyz.com.pk systemd-entrypoint[12396]: ERROR: Elasticsearch exited unexpectedly
Oct 31 17:39:55 server.xyz.com.pk systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Oct 31 17:39:55 server.xyz.com.pk systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Oct 31 17:39:55 server.xyz.com.pk systemd[1]: Failed to start Elasticsearch.
lines 1-15/15 (END)

```

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 12:45pm UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/36 "2022-10-31T12:45:59Z")

</div>

manually tried creating /run/elasticsearch/elasticsearch.pid and assigned the necessary permissions but the folder and file is getting deleted.

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [October 31, 2022, 12:48pm UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/37 "2022-10-31T12:48:01Z")

</div>

Link for the logs:

> **[elasticsearch.log](https://wetransfer.com/downloads/d157255f40067895ad0a351759b9e0d420221031124707/b18a49)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 31, 2022, 1:24pm UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/38 "2022-10-31T13:24:47Z")

</div>

It seems the isue is still with loading the JNA library.

> [2022-10-31T14:50:18,559][WARN][o.e.c.f.FileSystemNatives] [server.xyz.com.pk] unable to load JNA native support library, FileSystemNatives methods will be disabled.  
> java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native

This seems to be the same issue as seen on 7.0 so you may need to look into fixing this. Have not come across this myself so will not be able to help.

---

<div class="post-metadata">

**Author:** ![BJawaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bjawaid/32/112648_2.png) [@BJawaid](https://discuss.elastic.co/u/BJawaid)\
**Post date:** [November 1, 2022, 6:40am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/39 "2022-11-01T06:40:41Z")

</div>

any help that can be offered from someone else please?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 1, 2022, 7:07am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/40 "2022-11-01T07:07:59Z")

</div>

Have you googled the error?

I did and quickly found the following post (among many) that could be useful and offers suggestions:

> <https://github.com/elastic/elasticsearch/issues/57018>
>
> \*\*Elasticsearch version\*\* (\`bin/elasticsearch --version\`):
> \`\`\`
> $ /usr/share/el…asticsearch/bin/elasticsearch --version
> Version: 7.7.0, Build: default/rpm/81a1e9eda8e6183f5237786246f6dced26a10eaf/2020-05-12T02:01:37.602180Z, JVM: 14
> \`\`\`
> 
> \*\*Plugins installed\*\*: \[\]
> 
> \*\*JVM version\*\* (\`java -version\`):
> openjdk version "1.8.0\_252"
> OpenJDK Runtime Environment (build 1.8.0\_252-b09)
> OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
> 
> \*\*OS version\*\* (\`uname -a\` if on a Unix-like system):
> \`\`\`
> 3.10.0-1127.8.2.el7.x86\_64
> \`\`\`
> 
> \*\*Description of the problem including expected versus actual behavior\*\*:
> \`\`\`
> $ sudo journalctl -lf -o cat -u elasticsearch.service
> Starting Elasticsearch...
> fatal error in thread \[main\], exiting
> java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
> at org.elasticsearch.systemd.Libsystemd.lambda$static$0(Libsystemd.java:34)
> at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
> at org.elasticsearch.systemd.Libsystemd.\<clinit\>(Libsystemd.java:33)
> at org.elasticsearch.systemd.SystemdPlugin.sd\_notify(SystemdPlugin.java:116)
> at org.elasticsearch.systemd.SystemdPlugin.onNodeStarted(SystemdPlugin.java:126)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1510)
> at org.elasticsearch.node.Node.start(Node.java:810)
> at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:317)
> at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:402)
> at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)
> at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
> at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
> at org.elasticsearch.cli.Command.main(Command.java:90)
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
> elasticsearch.service: main process exited, code=exited, status=1/FAILURE
> Failed to start Elasticsearch.
> Unit elasticsearch.service entered failed state.
> elasticsearch.service failed.
> \`\`\`
> 
> \*\*Steps to reproduce\*\*:
> A fresh installation and first systemd start.
> 
> \*\*Provide logs (if relevant)\*\*:
> \`\`\`
> \[2020-05-20T22:25:41,410\]\[INFO \]\[o.e.p.PluginsService \] \[whale.priv.xx.xx.priv.xx.xx.x\] no plugins loaded
> \[2020-05-20T22:25:46,363\]\[INFO \]\[o.e.x.s.a.s.FileRolesStore\] \[whale.priv.xx.xx.priv.xx.xx.x\] parsed \[0\] roles from file \[/etc/elasticsearch/roles.yml\]
> \[2020-05-20T22:25:47,054\]\[INFO \]\[o.e.x.m.p.l.CppLogMessageHandler\] \[whale.priv.xx.xx.priv.xx.xx.x\] \[controller/635112\] \[Main.cc@110\] controller (64 bit): Version 7.7.0 (Build a8939d3da43f33) Copyright (c) 2020 Elasticsearch BV
> \[2020-05-20T22:25:47,892\]\[INFO \]\[o.e.d.DiscoveryModule \] \[whale.priv.xx.xx.priv.xx.xx.x\] using discovery type \[zen\] and seed hosts providers \[settings\]
> \[2020-05-20T22:25:48,913\]\[INFO \]\[o.e.n.Node \] \[whale.priv.xx.xx.priv.xx.xx.x\] initialized
> \[2020-05-20T22:25:48,914\]\[INFO \]\[o.e.n.Node \] \[whale.priv.xx.xx.priv.xx.xx.x\] starting ...
> \[2020-05-20T22:25:49,111\]\[INFO \]\[o.e.t.TransportService \] \[whale.priv.xx.xx.priv.xx.xx.x\] publish\_address {127.0.0.1:9300}, bound\_addresses {\[::1\]:9300}, {127.0.0.1:9300}
> \[2020-05-20T22:25:49,342\]\[WARN \]\[o.e.b.BootstrapChecks \] \[whale.priv.xx.xx.priv.xx.xx.x\] system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
> \[2020-05-20T22:25:49,343\]\[WARN \]\[o.e.b.BootstrapChecks \] \[whale.priv.xx.xx.priv.xx.xx.x\] the default discovery settings are unsuitable for production use; at least one of \[discovery.seed\_hosts, discovery.seed\_providers, cluster.initial\_master\_nodes\] must be configured
> \[2020-05-20T22:25:49,346\]\[INFO \]\[o.e.c.c.Coordinator \] \[whale.priv.xx.xx.priv.xx.xx.x\] cluster UUID \[Sf\_kyq4ATb2Doh7uy0ZyUA\]
> \[2020-05-20T22:25:49,367\]\[INFO \]\[o.e.c.c.ClusterBootstrapService\] \[whale.priv.xx.xx.priv.xx.xx.x\] no discovery configuration found, will perform best-effort cluster bootstrapping after \[3s\] unless existing master is discovered
> \[2020-05-20T22:25:49,559\]\[INFO \]\[o.e.c.s.MasterService \] \[whale.priv.xx.xx.priv.xx.xx.x\] elected-as-master (\[1\] nodes joined)\[{whale.priv.xx.xx.priv.xx.xx.x}{QpMP0s3jStqxSElpJUtxPQ}{YNrWU8aoRcaK0gWlol4voA}{127.0.0.1}{127.0.0.1:9300}{dilmrt}{ml.machine\_memory=134992162816, xpack.installed=true, transform.node=true, ml.max\_open\_jobs=20} elect leader, \_BECOME\_MASTER\_TASK\_, \_FINISH\_ELECTION\_\], term: 4, version: 7, delta: master node changed {previous \[\], current \[{whale.priv.xx.xx.priv.xx.xx.x}{QpMP0s3jStqxSElpJUtxPQ}{YNrWU8aoRcaK0gWlol4voA}{127.0.0.1}{127.0.0.1:9300}{dilmrt}{ml.machine\_memory=134992162816, xpack.installed=true, transform.node=true, ml.max\_open\_jobs=20}\]}
> \[2020-05-20T22:25:49,671\]\[INFO \]\[o.e.c.s.ClusterApplierService\] \[whale.priv.xx.xx.priv.xx.xx.x\] master node changed {previous \[\], current \[{whale.priv.xx.xx.priv.xx.xx.x}{QpMP0s3jStqxSElpJUtxPQ}{YNrWU8aoRcaK0gWlol4voA}{127.0.0.1}{127.0.0.1:9300}{dilmrt}{ml.machine\_memory=134992162816, xpack.installed=true, transform.node=true, ml.max\_open\_jobs=20}\]}, term: 4, version: 7, reason: Publication{term=4, version=7}
> \[2020-05-20T22:25:49,773\]\[INFO \]\[o.e.h.AbstractHttpServerTransport\] \[whale.priv.xx.xx.priv.xx.xx.x\] publish\_address {127.0.0.1:9200}, bound\_addresses {\[::1\]:9200}, {127.0.0.1:9200}
> \[2020-05-20T22:25:49,776\]\[INFO \]\[o.e.n.Node \] \[whale.priv.xx.xx.priv.xx.xx.x\] started
> \[2020-05-20T22:25:49,779\]\[ERROR\]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[whale.priv.xx.xx.priv.xx.xx.x\] fatal error in thread \[main\], exiting
> java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
> at org.elasticsearch.systemd.Libsystemd.lambda$static$0(Libsystemd.java:34) ~\[?:?\]
> at java.security.xxcessController.doPrivileged(AccessController.java:312) ~\[?:?\]
> at org.elasticsearch.systemd.Libsystemd.\<clinit\>(Libsystemd.java:33) ~\[?:?\]
> at org.elasticsearch.systemd.SystemdPlugin.sd\_notify(SystemdPlugin.java:116) ~\[?:?\]
> at org.elasticsearch.systemd.SystemdPlugin.onNodeStarted(SystemdPlugin.java:126) ~\[?:?\]
> at java.util.ArrayList.forEach(ArrayList.java:1510) ~\[?:?\]
> at org.elasticsearch.node.Node.start(Node.java:810) ~\[elasticsearch-7.7.0.jar:7.7.0\]
> at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:317) ~\[elasticsearch-7.7.0.jar:7.7.0\]
> at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:402) ~\[elasticsearch-7.7.0.jar:7.7.0\]
> at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~\[elasticsearch-7.7.0.jar:7.7.0\]
> at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~\[elasticsearch-7.7.0.jar:7.7.0\]
> at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~\[elasticsearch-7.7.0.jar:7.7.0\]
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) ~\[elasticsearch-cli-7.7.0.jar:7.7.0\]
> at org.elasticsearch.cli.Command.main(Command.java:90) ~\[elasticsearch-cli-7.7.0.jar:7.7.0\]
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~\[elasticsearch-7.7.0.jar:7.7.0\]
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~\[elasticsearch-7.7.0.jar:7.7.0\]
> \`\`\`

---

<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:** [November 29, 2022, 7:08am UTC](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677/41 "2022-11-29T07:08:10Z")

</div>

Closed on November 29, 2022, 7:08am UTC

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

[Previous page](https://discuss.elastic.co/t/elasticsearch-service-getting-failed-on-ubuntu-20-4/317677.md?page=1)
