Elastic search fail to start

Hi everyone, I have this issue with elasticsearch after installing successfully on fresh ubuntu 20.04 server,
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
sudo systemctl start elasticsearch
I keep getting this message
"Job for elasticsearch.service failed because the control process exited with error code.
See “systemctl status elasticsearch.service” and “journalctl -xe” for details.’

my local PC/webserver has 4GB xeon cpu 120GB SSD and of ram I have tried editing the file /etc/elasticsearch/elasticsearch.ymlnetwro changing network. To host local host or 0.0.0.0 port 9200 same results even editing /etc/elasticsearch/jvm.options -Xms1g -Xmx1g values changing to 2G same thing.
firewall port 9200 is opened. what have I missed? journalctl -u elasticsearch.service
journalctl -xe
Aug 30 10:44:40 webserver elasticsearch[4912]: in 'reader', line 66, column 2:
Aug 30 10:44:40 webserver elasticsearch[4912]: The default list of hosts is ["1 ...
Aug 30 10:44:40 webserver elasticsearch[4912]: ^
Aug 30 10:44:40 webserver elasticsearch[4912]: at [Source: sun.nio.ch.ChannelInputStream@1df8da7a; line: 55, column: 27]
Aug 30 10:44:40 webserver elasticsearch[4912]: at com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException.from(MarkedYAMLException.>
Aug 30 10:44:40 webserver elasticsearch[4912]: at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:343)
Aug 30 10:44:40 webserver elasticsearch[4912]: at org.elasticsearch.common.xcontent.json.JsonXContentParser.nextToken(JsonXContentParser.java:52)
Aug 30 10:44:40 webserver elasticsearch[4912]: at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:645)
Aug 30 10:44:40 webserver elasticsearch[4912]: at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:620)
Aug 30 10:44:40 webserver elasticsearch[4912]: at org.elasticsearch.common.settings.Settings.access$400(Settings.java:82)
Aug 30 10:44:40 webserver elasticsearch[4912]: at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1093)
Aug 30 10:44:40 webserver elasticsearch[4912]: ... 9 more
Aug 30 10:44:40 webserver elasticsearch[4912]: Caused by: while parsing a block mapping
Aug 30 10:44:40 webserver elasticsearch[4912]: in 'reader', line 17, column 1:
Aug 30 10:44:40 webserver elasticsearch[4912]: cluster.name: my-application
Aug 30 10:44:40 webserver elasticsearch[4912]: ^
Aug 30 10:44:40 webserver elasticsearch[4912]: expected , but found Scalar
Aug 30 10:44:40 webserver elasticsearch[4912]: in 'reader', line 66, column 2:
Aug 30 10:44:40 webserver elasticsearch[4912]: The default list of hosts is ["1 ...
Aug 30 10:44:40 webserver elasticsearch[4912]: ^
Aug 30 10:44:40 webserver elasticsearch[4912]: at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:569)
Aug 30 10:44:40 webserver elasticsearch[4912]: at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157)
Aug 30 10:44:40 webserver elasticsearch[4912]: at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:167)
Aug 30 10:44:40 webserver elasticsearch[4912]: at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:340)
Aug 30 10:44:40 webserver elasticsearch[4912]: ... 14 more
Aug 30 10:44:40 webserver systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- An ExecStart= process belonging to unit elasticsearch.service has exited.

-- The process' exit code is 'exited' and its exit status is 1.
Aug 30 10:44:40 webserver systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- The unit elasticsearch.service has entered the 'failed' state with result 'exit-code'.
Aug 30 10:44:40 webserver systemd[1]: Failed to start Elasticsearch.
-- Subject: A start job for unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- A start job for unit elasticsearch.service has finished with a failure.

-- The job identifier is 1962 and the job result is failed.
Aug 30 10:44:40 webserver sudo[4909]: pam_unix(sudo:session): session closed for user root
Aug 30 10:44:41 webserver sshd[5004]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.88 user=root
Aug 30 10:44:43 webserver sshd[5004]: Failed password for root from 112.85.42.88 port 50194 ssh2
Aug 30 10:44:48 webserver sshd[5004]: Failed password for root from 112.85.42.88 port 50194 ssh2

can you share your elasticsearch.yml file ?

yes here it is .

======================== Elasticsearch Configuration =========================

#

# NOTE: Elasticsearch comes with reasonable defaults for most settings.

# Before you set out to tweak and tune the configuration, make sure you

# understand what are you trying to accomplish and the consequences.

#

# The primary way of configuring a node is via this file. This template lists

# the most important settings you may want to configure for a production cluster.

#

# Please consult the documentation for further information on configuration options:

# https://www.elastic.co/guide/en/elasticsearch/reference/index.html

#

# ---------------------------------- Cluster -----------------------------------

#

# Use a descriptive name for your cluster:

#

cluster.name: my-application

#

# ------------------------------------ Node ------------------------------------

#

# Use a descriptive name for the node:

#

node.name: node-1

#

# Add custom attributes to the node:

#

#node.attr.rack: r1

#

# ----------------------------------- Paths ------------------------------------

#

# Path to directory where to store the data (separate multiple locations by comma):

#

path.data: /var/lib/elasticsearch

#

# Path to log files:

#

path.logs: /var/log/elasticsearch

#

# ----------------------------------- Memory -----------------------------------

#

# Lock the memory on startup:

#

#bootstrap.memory_lock: true

#

# Make sure that the heap size is set to about half the memory available

# on the system and that the owner of the process is allowed to use this

# limit.

# Elasticsearch performs poorly when the system is swapping the memory.

#

# ---------------------------------- Network -----------------------------------

#

# Set the bind address to a specific IP (IPv4 or IPv6):

#

network.host: 192.168.0.10

#

# Set a custom port for HTTP:

#

#http.port: 9200

#

# For more information, consult the network module documentation.

#

# --------------------------------- Discovery ----------------------------------

#

# Pass an initial list of hosts to perform discovery when this node is started:

** The default list of hosts is ["127.0.0.1", "[::1]"]**

#

#discovery.seed_hosts: ["host1", "host2"]

#

# Bootstrap the cluster using an initial set of master-eligible nodes:

#

#cluster.initial_master_nodes: ["node-1", "node-2"]

#

# For more information, consult the discovery and cluster formation module documentation.

#

# ---------------------------------- Gateway -----------------------------------

#

# Block initial recovery after a full cluster restart until N nodes are started:

#

#gateway.recover_after_nodes: 3

#

# For more information, consult the gateway module documentation.

#

# ---------------------------------- Various -----------------------------------

#

# Require explicit names when deleting indices:

#

#action.destructive_requires_name: true
</>

Can you validate the yml file here : http://www.yamllint.com/

I did the forum messaging chops the ## , thank you for your assistance I greatly appreciate it, I have not used Linux for over 20 years and now I'm paying the price but trying to catch up as I go.

it says valid Valid YAML!

I see in your initial message some errors related to the parsing of the yml file

Aug 30 10:44:40 webserver elasticsearch[4912]: Caused by: while parsing a block mapping
Aug 30 10:44:40 webserver elasticsearch[4912]: in 'reader', line 17, column 1:
Aug 30 10:44:40 webserver elasticsearch[4912]: cluster.name: my-application
Aug 30 10:44:40 webserver elasticsearch[4912]: ^
Aug 30 10:44:40 webserver elasticsearch[4912]: expected , but found Scalar
Aug 30 10:44:40 webserver elasticsearch[4912]: in 'reader', line 66, column 2:
Aug 30 10:44:40 webserver elasticsearch[4912]: The default list of hosts is ["1 ...

can you share elasticsearch log from /var/log/elasticsearch

yes I see that but the file is correct and not sure what is causing the error, do you see anything wrong in the file?

[2020-08-29T16:02:45,323][INFO ][o.e.e.NodeEnvironment ] [webserver] using [1] data paths, mounts [[/ (/dev/mapper/ubuntu--vg-ubuntu--lv)]], net usable_sp>
[2020-08-29T16:02:45,328][INFO ][o.e.e.NodeEnvironment ] [webserver] heap size [990.7mb], compressed ordinary object pointers [true]
[2020-08-29T16:02:45,394][INFO ][o.e.n.Node ] [webserver] node name [webserver], node ID [sRhOe-nVQnKWExYLOV37kQ], cluster name [elasticsearch]
[2020-08-29T16:02:45,395][INFO ][o.e.n.Node ] [webserver] version[7.6.0], pid[7663], build[default/deb/7f634e9f44834fbc12724506cc1da681b0c3b1e3>
[2020-08-29T16:02:45,395][INFO ][o.e.n.Node ] [webserver] JVM home [/usr/share/elasticsearch/jdk]
[2020-08-29T16:02:45,395][INFO ][o.e.n.Node ] [webserver] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.t>
[2020-08-29T16:02:47,903][INFO ][o.e.p.PluginsService ] [webserver] loaded module [aggs-matrix-stats]
[2020-08-29T16:02:47,904][INFO ][o.e.p.PluginsService ] [webserver] loaded module [analysis-common]
[2020-08-29T16:02:47,904][INFO ][o.e.p.PluginsService ] [webserver] loaded module [flattened]
[2020-08-29T16:02:47,904][INFO ][o.e.p.PluginsService ] [webserver] loaded module [frozen-indices]
[2020-08-29T16:02:47,904][INFO ][o.e.p.PluginsService ] [webserver] loaded module [ingest-common]
[2020-08-29T16:02:47,905][INFO ][o.e.p.PluginsService ] [webserver] loaded module [ingest-geoip]
[2020-08-29T16:02:47,905][INFO ][o.e.p.PluginsService ] [webserver] loaded module [ingest-user-agent]
[2020-08-29T16:02:47,905][INFO ][o.e.p.PluginsService ] [webserver] loaded module [lang-expression]
[2020-08-29T16:02:47,905][INFO ][o.e.p.PluginsService ] [webserver] loaded module [lang-mustache]
[2020-08-29T16:02:47,906][INFO ][o.e.p.PluginsService ] [webserver] loaded module [lang-painless]
[2020-08-29T16:02:47,906][INFO ][o.e.p.PluginsService ] [webserver] loaded module [mapper-extras]
[2020-08-29T16:02:47,906][INFO ][o.e.p.PluginsService ] [webserver] loaded module [parent-join]
[2020-08-29T16:02:47,906][INFO ][o.e.p.PluginsService ] [webserver] loaded module [percolator]
[2020-08-29T16:02:47,906][INFO ][o.e.p.PluginsService ] [webserver] loaded module [rank-eval]
[2020-08-29T16:02:47,907][INFO ][o.e.p.PluginsService ] [webserver] loaded module [reindex]
[2020-08-29T16:02:47,907][INFO ][o.e.p.PluginsService ] [webserver] loaded module [repository-url]
[2020-08-29T16:02:47,907][INFO ][o.e.p.PluginsService ] [webserver] loaded module [search-business-rules]
[2020-08-29T16:02:47,907][INFO ][o.e.p.PluginsService ] [webserver] loaded module [spatial]
[2020-08-29T16:02:47,907][INFO ][o.e.p.PluginsService ] [webserver] loaded module [systemd]
[2020-08-29T16:02:47,908][INFO ][o.e.p.PluginsService ] [webserver] loaded module [transform]
[2020-08-29T16:02:47,908][INFO ][o.e.p.PluginsService ] [webserver] loaded module [transport-netty4]
[2020-08-29T16:02:47,908][INFO ][o.e.p.PluginsService ] [webserver] loaded module [vectors]
[2020-08-29T16:02:47,908][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-analytics]
[2020-08-29T16:02:47,909][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-ccr]
[2020-08-29T16:02:47,909][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-core]
[2020-08-29T16:02:47,909][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-deprecation]
[2020-08-29T16:02:47,909][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-enrich]
[2020-08-29T16:02:47,909][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-graph]
[2020-08-29T16:02:47,910][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-ilm]
[2020-08-29T16:02:47,910][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-logstash]
[2020-08-29T16:02:47,910][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-ml]
[2020-08-29T16:02:47,910][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-monitoring]
[2020-08-29T16:02:47,911][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-rollup]
[2020-08-29T16:02:47,911][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-security]
[2020-08-29T16:02:47,911][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-sql]
[2020-08-29T16:02:47,911][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-voting-only-node]
[2020-08-29T16:02:47,911][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-watcher]
[2020-08-29T16:02:47,912][INFO ][o.e.p.PluginsService ] [webserver] no plugins loaded
[2020-08-29T16:02:54,422][INFO ][o.e.x.s.a.s.FileRolesStore] [webserver] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2020-08-29T16:03:05,229][ERROR][o.e.b.Bootstrap ] [webserver] Exception
org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, mi>
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.0.jar:7.6.0]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at org.elasticsearch.node.Node.(Node.java:459) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.node.Node.(Node.java:257) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) [elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.6.0.jar:7.6.0]
[2020-08-29T16:03:05,240][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [webserver] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failure running machine learning native code. This could be due to running on an unsuppo>
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) ~[elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.6.0.jar:7.6.0]
Caused by: org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distr>
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.0.jar:7.6.0]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at org.elasticsearch.node.Node.(Node.java:459) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.node.Node.(Node.java:257) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.6.0.jar:7.6.0]
... 6 more
</>

part 2

[2020-08-29T16:04:50,487][INFO ][o.e.e.NodeEnvironment ] [webserver] using [1] data paths, mounts [[/ (/dev/mapper/ubuntu--vg-ubuntu--lv)]], net usable_sp>
[2020-08-29T16:04:50,492][INFO ][o.e.e.NodeEnvironment ] [webserver] heap size [990.7mb], compressed ordinary object pointers [true]
[2020-08-29T16:04:50,560][INFO ][o.e.n.Node ] [webserver] node name [webserver], node ID [SiSkzIMMTrKGEHoA7IvDKg], cluster name [elasticsearch]
[2020-08-29T16:04:50,561][INFO ][o.e.n.Node ] [webserver] version[7.6.0], pid[7833], build[default/deb/7f634e9f44834fbc12724506cc1da681b0c3b1e3>
[2020-08-29T16:04:50,561][INFO ][o.e.n.Node ] [webserver] JVM home [/usr/share/elasticsearch/jdk]
[2020-08-29T16:04:50,562][INFO ][o.e.n.Node ] [webserver] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.t>
[2020-08-29T16:04:53,126][INFO ][o.e.p.PluginsService ] [webserver] loaded module [aggs-matrix-stats]
[2020-08-29T16:04:53,126][INFO ][o.e.p.PluginsService ] [webserver] loaded module [analysis-common]
[2020-08-29T16:04:53,127][INFO ][o.e.p.PluginsService ] [webserver] loaded module [flattened]
[2020-08-29T16:04:53,127][INFO ][o.e.p.PluginsService ] [webserver] loaded module [frozen-indices]
[2020-08-29T16:04:53,127][INFO ][o.e.p.PluginsService ] [webserver] loaded module [ingest-common]
[2020-08-29T16:04:53,127][INFO ][o.e.p.PluginsService ] [webserver] loaded module [ingest-geoip]
[2020-08-29T16:04:53,128][INFO ][o.e.p.PluginsService ] [webserver] loaded module [ingest-user-agent]
[2020-08-29T16:04:53,128][INFO ][o.e.p.PluginsService ] [webserver] loaded module [lang-expression]
[2020-08-29T16:04:53,128][INFO ][o.e.p.PluginsService ] [webserver] loaded module [lang-mustache]
[2020-08-29T16:04:53,128][INFO ][o.e.p.PluginsService ] [webserver] loaded module [lang-painless]
[2020-08-29T16:04:53,129][INFO ][o.e.p.PluginsService ] [webserver] loaded module [mapper-extras]
[2020-08-29T16:04:53,129][INFO ][o.e.p.PluginsService ] [webserver] loaded module [parent-join]
[2020-08-29T16:04:53,129][INFO ][o.e.p.PluginsService ] [webserver] loaded module [percolator]
[2020-08-29T16:04:53,129][INFO ][o.e.p.PluginsService ] [webserver] loaded module [rank-eval]
[2020-08-29T16:04:53,129][INFO ][o.e.p.PluginsService ] [webserver] loaded module [reindex]
[2020-08-29T16:04:53,130][INFO ][o.e.p.PluginsService ] [webserver] loaded module [repository-url]
[2020-08-29T16:04:53,130][INFO ][o.e.p.PluginsService ] [webserver] loaded module [search-business-rules]
[2020-08-29T16:04:53,130][INFO ][o.e.p.PluginsService ] [webserver] loaded module [spatial]
[2020-08-29T16:04:53,130][INFO ][o.e.p.PluginsService ] [webserver] loaded module [systemd]
[2020-08-29T16:04:53,131][INFO ][o.e.p.PluginsService ] [webserver] loaded module [transform]
[2020-08-29T16:04:53,131][INFO ][o.e.p.PluginsService ] [webserver] loaded module [transport-netty4]
[2020-08-29T16:04:53,131][INFO ][o.e.p.PluginsService ] [webserver] loaded module [vectors]
[2020-08-29T16:04:53,131][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-analytics]
[2020-08-29T16:04:53,132][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-ccr]
[2020-08-29T16:04:53,132][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-core]
[2020-08-29T16:04:53,132][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-deprecation]
[2020-08-29T16:04:53,132][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-enrich]
[2020-08-29T16:04:53,132][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-graph]
[2020-08-29T16:04:53,133][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-ilm]
[2020-08-29T16:04:53,133][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-logstash]
[2020-08-29T16:04:53,133][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-ml]
[2020-08-29T16:04:53,133][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-monitoring]
[2020-08-29T16:04:53,133][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-rollup]
[2020-08-29T16:04:53,134][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-security]
[2020-08-29T16:04:53,134][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-sql]
[2020-08-29T16:04:53,134][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-voting-only-node]
[2020-08-29T16:04:53,134][INFO ][o.e.p.PluginsService ] [webserver] loaded module [x-pack-watcher]
[2020-08-29T16:04:53,135][INFO ][o.e.p.PluginsService ] [webserver] no plugins loaded
[2020-08-29T16:04:59,545][INFO ][o.e.x.s.a.s.FileRolesStore] [webserver] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2020-08-29T16:05:10,334][ERROR][o.e.b.Bootstrap ] [webserver] Exception
org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, mi>
020-08-29T16:05:10,334][ERROR][o.e.b.Bootstrap ] [webserver] Exception
org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, mi>
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.0.jar:7.6.0]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at org.elasticsearch.node.Node.(Node.java:459) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.node.Node.(Node.java:257) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) [elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.6.0.jar:7.6.0]
[2020-08-29T16:05:10,344][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [webserver] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failure running machine learning native code. This could be due to running on an unsuppo>
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) ~[elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.6.0.jar:7.6.0]
Caused by: org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distr>
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.0.jar:7.6.0]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at org.elasticsearch.node.Node.(Node.java:459) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.node.Node.(Node.java:257) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.6.0.jar:7.6.0]
... 6 more </>

Perfect, here us the error

Exception
org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, mi>

Try to add this into elasticsearch.yml and start again the node.

xpack.ml.enabled: false

I'm running on ubuntu server 20.04

here is fresh output:
journalctl -xe
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.node.Node.lambda$new$9(Node.java:456)
Aug 30 12:00:59 webserver elasticsearch[7112]: at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
Aug 30 12:00:59 webserver elasticsearch[7112]: at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621)
Aug 30 12:00:59 webserver elasticsearch[7112]: at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
Aug 30 12:00:59 webserver elasticsearch[7112]: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
Aug 30 12:00:59 webserver elasticsearch[7112]: at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
Aug 30 12:00:59 webserver elasticsearch[7112]: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
Aug 30 12:00:59 webserver elasticsearch[7112]: at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.node.Node.(Node.java:459)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.node.Node.(Node.java:257)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.cli.Command.main(Command.java:90)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
Aug 30 12:00:59 webserver elasticsearch[7112]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Aug 30 12:00:59 webserver elasticsearch[7112]: For complete error details, refer to the log at /var/log/elasticsearch/my-application.log
Aug 30 12:00:59 webserver systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- An ExecStart= process belonging to unit elasticsearch.service has exited.

-- The process' exit code is 'exited' and its exit status is 1.
Aug 30 12:00:59 webserver systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- The unit elasticsearch.service has entered the 'failed' state with result 'exit-code'.
Aug 30 12:00:59 webserver systemd[1]: Failed to start Elasticsearch.
-- Subject: A start job for unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support

-- A start job for unit elasticsearch.service has finished with a failure.

-- The job identifier is 2518 and the job result is failed.
Aug 30 12:00:59 webserver sudo[7109]: pam_unix(sudo:session): session closed for user root
Aug 30 12:01:04 webserver sudo[7249]: steve : TTY=pts/0 ; PWD=/home/steve ; USER=root ; COMMAND=/usr/bin/nano /var/log/elasticsearch/elasticsearch.log
Aug 30 12:01:04 webserver sudo[7249]: pam_unix(sudo:session): session opened for user root by steve(uid=0)
Aug 30 12:01:10 webserver sudo[7249]: pam_unix(sudo:session): session closed for user root
Aug 30 12:01:11 webserver kernel: [UFW BLOCK] IN=enp4s0 OUT= MAC=00:22:19:0e:bd:db:10:06:45:9c:e2:2f:08:00 SRC=111.241.116.236 DST=192.168.0.10 LEN=44 TOS=0x>
Aug 30 12:01:12 webserver sshd[7251]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=112.85.42.88 user=root
Aug 30 12:01:14 webserver sshd[7251]: Failed password for root from 112.85.42.88 port 43502 ssh2
Aug 30 12:01:17 webserver sshd[7251]: Failed password for root from 112.85.42.88 port 43502 ssh2
lines 1046-1096/1096 (END) </>

What version of elasticsearch ?
This this matrix there is no support for that version of Ubuntu

I have tried that same results

Can you share again the logs from /var/log/elasticsearch/my-application.log
I guess you are using a single node, need to add this into elasticsearch.yml

discovery.type: single-node

[tried that same thing here the result of my-application.log

2020-08-30T12:11:19,466][INFO ][o.e.e.NodeEnvironment ] [node-1] using [1] data paths, mounts [[/ (/dev/mapper/ubuntu--vg-ubuntu--lv)]], net usable_space>
[2020-08-30T12:11:19,471][INFO ][o.e.e.NodeEnvironment ] [node-1] heap size [990.7mb], compressed ordinary object pointers [true]
[2020-08-30T12:11:19,654][INFO ][o.e.n.Node ] [node-1] node name [node-1], node ID [GsCpKbIpRvaTwsR7un6bkQ], cluster name [my-application]
[2020-08-30T12:11:19,655][INFO ][o.e.n.Node ] [node-1] version[7.6.0], pid[7676], build[default/deb/7f634e9f44834fbc12724506cc1da681b0c3b1e3/20>
[2020-08-30T12:11:19,655][INFO ][o.e.n.Node ] [node-1] JVM home [/usr/share/elasticsearch/jdk]
[2020-08-30T12:11:19,656][INFO ][o.e.n.Node ] [node-1] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=>
[2020-08-30T12:11:22,520][INFO ][o.e.p.PluginsService ] [node-1] loaded module [aggs-matrix-stats]
[2020-08-30T12:11:22,521][INFO ][o.e.p.PluginsService ] [node-1] loaded module [analysis-common]
[2020-08-30T12:11:22,521][INFO ][o.e.p.PluginsService ] [node-1] loaded module [flattened]
[2020-08-30T12:11:22,522][INFO ][o.e.p.PluginsService ] [node-1] loaded module [frozen-indices]
[2020-08-30T12:11:22,522][INFO ][o.e.p.PluginsService ] [node-1] loaded module [ingest-common]
[2020-08-30T12:11:22,522][INFO ][o.e.p.PluginsService ] [node-1] loaded module [ingest-geoip]
[2020-08-30T12:11:22,522][INFO ][o.e.p.PluginsService ] [node-1] loaded module [ingest-user-agent]
[2020-08-30T12:11:22,523][INFO ][o.e.p.PluginsService ] [node-1] loaded module [lang-expression]
[2020-08-30T12:11:22,523][INFO ][o.e.p.PluginsService ] [node-1] loaded module [lang-mustache]
[2020-08-30T12:11:22,523][INFO ][o.e.p.PluginsService ] [node-1] loaded module [lang-painless]
[2020-08-30T12:11:22,523][INFO ][o.e.p.PluginsService ] [node-1] loaded module [mapper-extras]
[2020-08-30T12:11:22,524][INFO ][o.e.p.PluginsService ] [node-1] loaded module [parent-join]
[2020-08-30T12:11:22,524][INFO ][o.e.p.PluginsService ] [node-1] loaded module [percolator]
[2020-08-30T12:11:22,524][INFO ][o.e.p.PluginsService ] [node-1] loaded module [rank-eval]
[2020-08-30T12:11:22,524][INFO ][o.e.p.PluginsService ] [node-1] loaded module [reindex]
[2020-08-30T12:11:22,525][INFO ][o.e.p.PluginsService ] [node-1] loaded module [repository-url]
[2020-08-30T12:11:22,525][INFO ][o.e.p.PluginsService ] [node-1] loaded module [search-business-rules]
[2020-08-30T12:11:22,525][INFO ][o.e.p.PluginsService ] [node-1] loaded module [spatial]
[2020-08-30T12:11:22,525][INFO ][o.e.p.PluginsService ] [node-1] loaded module [systemd]
[2020-08-30T12:11:22,526][INFO ][o.e.p.PluginsService ] [node-1] loaded module [transform]
[2020-08-30T12:11:22,526][INFO ][o.e.p.PluginsService ] [node-1] loaded module [transport-netty4]
[2020-08-30T12:11:22,526][INFO ][o.e.p.PluginsService ] [node-1] loaded module [vectors]
[2020-08-30T12:11:22,526][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-analytics]
[2020-08-30T12:11:22,527][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-ccr]
[2020-08-30T12:11:22,527][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-core]
[2020-08-30T12:11:22,527][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-deprecation]
[2020-08-30T12:11:22,527][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-enrich]
[2020-08-30T12:11:22,527][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-graph]
[2020-08-30T12:11:22,528][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-ilm]
[2020-08-30T12:11:22,528][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-logstash]
[2020-08-30T12:11:22,528][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-ml]
[2020-08-30T12:11:22,529][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-monitoring]
[2020-08-30T12:11:22,529][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-rollup]
[2020-08-30T12:11:22,529][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-security]
[2020-08-30T12:11:22,529][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-sql]
[2020-08-30T12:11:22,529][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-voting-only-node]
[2020-08-30T12:11:22,530][INFO ][o.e.p.PluginsService ] [node-1] loaded module [x-pack-watcher]
[2020-08-30T12:11:22,531][INFO ][o.e.p.PluginsService ] [node-1] no plugins loaded
[2020-08-30T12:11:28,941][INFO ][o.e.x.s.a.s.FileRolesStore] [node-1] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2020-08-30T12:11:39,871][ERROR][o.e.b.Bootstrap ] [node-1] Exception
org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, mi>
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.0.jar:7.6.0]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at org.elasticsearch.node.Node.(Node.java:459) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.node.Node.(Node.java:257) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) [elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) [elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.6.0.jar:7.6.0]
[2020-08-30T12:11:39,881][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [node-1] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failure running machine learning native code. This could be due to running on an unsuppo>
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) ~[elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.6.0.jar:7.6.0]
Caused by: org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distr>
at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.0.jar:7.6.0]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
at org.elasticsearch.node.Node.(Node.java:459) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.node.Node.(Node.java:257) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.0.jar:7.6.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) ~[elasticsearch-7.6.0.jar:7.6.0]
</>

So Sorry for that, Looks like elasticsearch is not supporting Ubuntu 20.04
The error is that elasticsearch is trying to start machine learning process and taht fails due to unsupported OS.
Adding xpack.ml.enabled: false into elasticsearch.yml should tell es do not try to start ML processes

Welcome to our community @steve2020! It's really helpful if you can please format your code/logs/config using the </> button, or markdown style back ticks. It makes things much easier to read which helps us help you :slight_smile:

We don't yet support Ubuntu 20.04, this is a WIP. I would suggest that you try Ubuntu 18.04.