ES 7.9 doesn't start

java -version
openjdk version "1.8.0_262"
OpenJDK Runtime Environment (build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)

cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)

was installed elasticsearch-7.9.0-x86_64.rpm

I install ES 6.8 worked good, but 7.8 and 7.9 doesn't get start and I get that error

sudo systemctl status elasticsearch.service
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Пн 2020-08-31 07:49:06 CEST; 9min ago
Process: 8498 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/ --quiet (code=exited, status=1/FAILURE)
Main PID: 8498 (code=exited, status=1/FAILURE)
CGroup: /system.slice/elasticsearch.service

авг 31 07:49:06 systemd-entrypoint[8498]: at org.elasticsearch.bootstrap.Elasticsearch.execute(
авг 31 07:49:06 systemd-entrypoint[8498]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(
авг 31 07:49:06 systemd-entrypoint[8498]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
авг 31 07:49:06 systemd-entrypoint[8498]: at org.elasticsearch.cli.Command.main(
авг 31 07:49:06 systemd-entrypoint[8498]: at org.elasticsearch.bootstrap.Elasticsearch.main(
авг 31 07:49:06 systemd-entrypoint[8498]: at org.elasticsearch.bootstrap.Elasticsearch.main(
авг 31 07:49:06 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
авг 31 07:49:06 systemd[1]: Failed to start Elasticsearch.
авг 31 07:49:06 systemd[1]: Unit elasticsearch.service entered failed state.
авг 31 07:49:06 systemd[1]: elasticsearch.service failed.

What is in the Elasticsearch logs?

2020-08-31T07:49:06,466][INFO ][o.e.n.Node ] [] started
[2020-08-31T07:49:06,467][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [] 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( ~[?:?]
at ~[?:?]
at org.elasticsearch.systemd.Libsystemd.( ~[?:?]
at org.elasticsearch.systemd.SystemdPlugin.sd_notify( ~[?:?]
at org.elasticsearch.systemd.SystemdPlugin.onNodeStarted( ~[?:?]
at java.util.ArrayList.forEach( ~[?:?]
at org.elasticsearch.node.Node.start( ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Bootstrap.start( ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Bootstrap.init( ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Elasticsearch.init( ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute( ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute( ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling( ~[elasticsearch-cli-7.9.0.jar:7.9.0]
at org.elasticsearch.cli.Command.main( ~[elasticsearch-cli-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Elasticsearch.main( ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Elasticsearch.main( ~[elasticsearch-7.9.0.jar:7.9.0]

What type of hardware is this node hosted on?

If I understand correctly, what u ask me there VPS

No, is this x64, x86, ARM?

3.10.0-1127.el7.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 79
Model name: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Stepping: 1
CPU MHz: 2199.996
BogoMIPS: 4399.99
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
L3 cache: 16384K
NUMA node0 CPU(s): 0-7

CentOS Linux release 7.8.2003 (Core)

any idea?

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