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
Docs: https://www.elastic.co
Process: 8498 ExecStart=/usr/share/elasticsearch/bin/systemd-entrypoint -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
Main PID: 8498 (code=exited, status=1/FAILURE)
CGroup: /system.slice/elasticsearch.service

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

What is in the Elasticsearch logs?

2020-08-31T07:49:06,466][INFO ][o.e.n.Node ] [vmi439274.contaboserver.net] started
[2020-08-31T07:49:06,467][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [vmi439274.contaboserver.net] 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.AccessController.doPrivileged(AccessController.java:312) ~[?:?]
at org.elasticsearch.systemd.Libsystemd.(Libsystemd.java:33) ~[?:?]
at org.elasticsearch.systemd.SystemdPlugin.sd_notify(SystemdPlugin.java:126) ~[?:?]
at org.elasticsearch.systemd.SystemdPlugin.onNodeStarted(SystemdPlugin.java:137) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1510) ~[?:?]
at org.elasticsearch.node.Node.start(Node.java:868) ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:317) ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:402) ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) ~[elasticsearch-cli-7.9.0.jar:7.9.0]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.9.0.jar:7.9.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[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.