Elasticsearch FAILED

Hi,
I am trying to install ELK on Ubuntu server 18.04 but when starting, elasticsearch service failed.
Please!! Help me!!. Thank you!!.
Java verison :
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

Code error : (code=exited, status=78)
Main process exited, code=exited, status=78/n/a
Failed with result 'exit-code'

elasticsearch.log

[2019-09-09T10:07:48,418][INFO ][o.e.e.NodeEnvironment    ] [srv-test-ids] using [1] data paths, mounts [[/ (/dev/mapper/dspace--vg-root)]], net usable_space [120.8gb]$
[2019-09-09T10:07:48,423][INFO ][o.e.e.NodeEnvironment    ] [srv-test-ids] heap size [989.8mb], compressed ordinary object pointers [true]
[2019-09-09T10:07:48,425][INFO ][o.e.n.Node               ] [srv-test-ids] node name [srv-test-ids], node ID [uXaburl4SwuFsLwi7htE4g], cluster name [elasticsearch]
[2019-09-09T10:07:48,425][INFO ][o.e.n.Node               ] [srv-test-ids] version[7.3.1], pid[15990], build[default/deb/4749ba6/2019-08-19T20:19:25.651794Z], OS[Linux$
[2019-09-09T10:07:48,426][INFO ][o.e.n.Node               ] [srv-test-ids] JVM home [/usr/share/elasticsearch/jdk]
[2019-09-09T10:07:48,426][INFO ][o.e.n.Node               ] [srv-test-ids] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=7$
[2019-09-09T10:07:49,664][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [aggs-matrix-stats]
[2019-09-09T10:07:49,665][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [analysis-common]
[2019-09-09T10:07:49,665][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [data-frame]
[2019-09-09T10:07:49,665][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [flattened]
[2019-09-09T10:07:49,665][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [ingest-common]
[2019-09-09T10:07:49,665][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [ingest-geoip]
[2019-09-09T10:07:49,665][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [ingest-user-agent]
[2019-09-09T10:07:49,665][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [lang-expression]
[2019-09-09T10:07:49,666][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [lang-mustache]
[2019-09-09T10:07:49,666][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [lang-painless]
[2019-09-09T10:07:49,666][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [mapper-extras]
[2019-09-09T10:07:49,666][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [parent-join]
[2019-09-09T10:07:49,666][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [percolator]
[2019-09-09T10:07:49,666][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [rank-eval]
[2019-09-09T10:07:49,666][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [reindex]
[2019-09-09T10:07:49,666][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [repository-url]
[2019-09-09T10:07:49,667][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [transport-netty4]
[2019-09-09T10:07:49,667][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [vectors]
[2019-09-09T10:07:49,667][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-ccr]
[2019-09-09T10:07:49,667][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-core]
[2019-09-09T10:07:49,667][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-deprecation]
[2019-09-09T10:07:49,667][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-graph]
[2019-09-09T10:07:49,667][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-ilm]
[2019-09-09T10:07:49,667][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-logstash]
[2019-09-09T10:07:49,668][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-ml]
[2019-09-09T10:07:49,668][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-monitoring]
[2019-09-09T10:07:49,668][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-rollup]
[2019-09-09T10:07:49,668][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-security]
[2019-09-09T10:07:49,668][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-sql]
[2019-09-09T10:07:49,668][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-voting-only-node]
[2019-09-09T10:07:49,668][INFO ][o.e.p.PluginsService     ] [srv-test-ids] loaded module [x-pack-watcher]
[2019-09-09T10:07:49,669][INFO ][o.e.p.PluginsService     ] [srv-test-ids] no plugins loaded
[2019-09-09T10:07:52,764][INFO ][o.e.x.s.a.s.FileRolesStore] [srv-test-ids] parsed [0] roles from file [/etc/elasticsearch/roles.yml]

@TheSun, Can you please provide some error log of elasticsearch which may helpful to understand the issue? The log you have provided does't have any error log.

When Elasticsearch fails during startup it is often due to bootstrap checks. You can find an example in this thread.

1 Like

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