Elastic Search Not Starting

Hi,

We have to install Elasticsearch 7.9 to my Cpanel Server and we have done the install and started to Start the Elasticsearch it is failed when I check the log I see this. Im pasting the Entire log in multiple threds

[2021-11-17T10:26:08,931][WARN ][o.e.b.Natives            ] [server2] unable to load JNA native support library, native methods will be disabled.
java.lang.UnsatisfiedLinkError: /tmp/elasticsearch-5222826566075171113/jna5998873827484803464.tmp: /tmp/elasticsearch-5222826566075171113/jna5998873827484803464.tmp: failed to map segment from shared object: Operation not permitted
	at java.lang.ClassLoader$NativeLibrary.load0(Native Method) ~[?:?]
	at java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2452) ~[?:?]
	at java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2508) ~[?:?]
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2704) ~[?:?]
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2637) ~[?:?]
	at java.lang.Runtime.load0(Runtime.java:745) ~[?:?]
	at java.lang.System.load(System.java:1871) ~[?:?]
	at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1018) ~[jna-5.5.0.jar:5.5.0 (b0)]
	at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988) ~[jna-5.5.0.jar:5.5.0 (b0)]
	at com.sun.jna.Native.<clinit>(Native.java:195) ~[jna-5.5.0.jar:5.5.0 (b0)]
	at java.lang.Class.forName0(Native Method) ~[?:?]
	at java.lang.Class.forName(Class.java:340) ~[?:?]
	at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:45) [elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:110) [elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178) [elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393) [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]

The Elasticsearch Log balance entries Part 2 of 3

[2021-11-17T10:26:08,936][WARN ][o.e.b.Natives            ] [server2] cannot check if running as root because JNA is not available
[2021-11-17T10:26:08,937][WARN ][o.e.b.Natives            ] [server2] cannot install system call filter because JNA is not available
[2021-11-17T10:26:08,937][WARN ][o.e.b.Natives            ] [server2] cannot register console handler because JNA is not available
[2021-11-17T10:26:08,937][WARN ][o.e.b.Natives            ] [server2] cannot getrlimit RLIMIT_NPROC because JNA is not available
[2021-11-17T10:26:08,938][WARN ][o.e.b.Natives            ] [server2] cannot getrlimit RLIMIT_AS because JNA is not available
[2021-11-17T10:26:08,938][WARN ][o.e.b.Natives            ] [server2] cannot getrlimit RLIMIT_FSIZE because JNA is not available
[2021-11-17T10:26:09,031][INFO ][o.e.n.Node               ] [server2] version[7.9.0], pid[4129], build[default/rpm/a479a2a7fce0389512d6a9361301708b92dff667/2020-08-11T21:36:48.204330Z], OS[Linux/4.19-ovh-xxxx-std-ipv6-64/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/14.0.1/14.0.1+7]
[2021-11-17T10:26:09,032][INFO ][o.e.n.Node               ] [server2] JVM home [/usr/share/elasticsearch/jdk]
[2021-11-17T10:26:09,032][INFO ][o.e.n.Node               ] [server2] JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, -Xms1g, -Xmx1g, -XX:+UseG1GC, -XX:G1ReservePercent=25, -XX:InitiatingHeapOccupancyPercent=30, -Djava.io.tmpdir=/tmp/elasticsearch-5222826566075171113, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=rpm, -Des.bundled_jdk=true]
[2021-11-17T10:26:10,339][INFO ][o.e.p.PluginsService     ] [server2] loaded module [aggs-matrix-stats]
[2021-11-17T10:26:10,339][INFO ][o.e.p.PluginsService     ] [server2] loaded module [analysis-common]
[2021-11-17T10:26:10,339][INFO ][o.e.p.PluginsService     ] [server2] loaded module [constant-keyword]
[2021-11-17T10:26:10,339][INFO ][o.e.p.PluginsService     ] [server2] loaded module [flattened]
[2021-11-17T10:26:10,339][INFO ][o.e.p.PluginsService     ] [server2] loaded module [frozen-indices]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [ingest-common]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [ingest-geoip]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [ingest-user-agent]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [kibana]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [lang-expression]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [lang-mustache]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [lang-painless]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [mapper-extras]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [parent-join]
[2021-11-17T10:26:10,340][INFO ][o.e.p.PluginsService     ] [server2] loaded module [percolator]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [rank-eval]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [reindex]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [repository-url]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [search-business-rules]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [searchable-snapshots]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [spatial]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [systemd]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [tasks]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [transform]
[2021-11-17T10:26:10,341][INFO ][o.e.p.PluginsService     ] [server2] loaded module [transport-netty4]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [vectors]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [wildcard]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-analytics]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-async]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-async-search]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-autoscaling]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-ccr]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-core]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-data-streams]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-deprecation]
[2021-11-17T10:26:10,342][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-enrich]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-eql]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-graph]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-identity-provider]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-ilm]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-logstash]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-ml]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-monitoring]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-ql]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-rollup]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-security]
[2021-11-17T10:26:10,343][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-sql]
[2021-11-17T10:26:10,344][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-stack]
[2021-11-17T10:26:10,344][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-voting-only-node]
[2021-11-17T10:26:10,344][INFO ][o.e.p.PluginsService     ] [server2] loaded module [x-pack-watcher]
[2021-11-17T10:26:10,344][INFO ][o.e.p.PluginsService     ] [server2] no plugins loaded
[2021-11-17T10:26:10,366][INFO ][o.e.e.NodeEnvironment    ] [server2] using [1] data paths, mounts [[/ (/dev/md2)]], net usable_space [73.6gb], net total_space [879.1gb], types [ext4]

Part 4 of Elasticsearch Log


[2021-11-17T10:26:10,366][INFO ][o.e.e.NodeEnvironment    ] [server2] heap size [1gb], compressed ordinary object pointers [true]
[2021-11-17T10:26:10,445][INFO ][o.e.n.Node               ] [server2] node name [server2], node ID [9AvltWAhT7iPF9v2B-n_iw], cluster name [elasticsearch]
[2021-11-17T10:26:12,311][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [server2] [controller/4970] [Main.cc@114] controller (64 bit): Version 7.9.0 (Build 2639177a4c3ad6) Copyright (c) 2020 Elasticsearch BV
[2021-11-17T10:26:12,715][INFO ][o.e.x.s.a.s.FileRolesStore] [server2] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2021-11-17T10:26:13,345][INFO ][o.e.d.DiscoveryModule    ] [server2] using discovery type [zen] and seed hosts providers [settings]
[2021-11-17T10:26:13,653][WARN ][o.e.g.DanglingIndicesState] [server2] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2021-11-17T10:26:13,887][INFO ][o.e.n.Node               ] [server2] initialized
[2021-11-17T10:26:13,887][INFO ][o.e.n.Node               ] [server2] starting ...
[2021-11-17T10:26:13,995][INFO ][o.e.t.TransportService   ] [server2] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2021-11-17T10:26:14,039][ERROR][o.e.b.Bootstrap          ] [server2] Exception
java.lang.IllegalStateException: The index [[amasty_new_product_4_v2/_s0gNlspRLq_DqNGbTBiDg]] was created with version [5.6.16] but the minimum compatible version is [6.0.0-beta1]. It should be re-indexed in Elasticsearch 6.x before upgrading to 7.9.0.
	at org.elasticsearch.cluster.metadata.MetadataIndexUpgradeService.checkSupportedVersion(MetadataIndexUpgradeService.java:113) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.cluster.metadata.MetadataIndexUpgradeService.upgradeIndexMetadata(MetadataIndexUpgradeService.java:87) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.gateway.GatewayMetaState.upgradeMetadata(GatewayMetaState.java:247) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.gateway.GatewayMetaState.upgradeMetadataForNode(GatewayMetaState.java:230) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.gateway.GatewayMetaState.start(GatewayMetaState.java:161) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.node.Node.start(Node.java:786) ~[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]
[2021-11-17T10:26:14,040][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [server2] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: The index [[amasty_new_product_4_v2/_s0gNlspRLq_DqNGbTBiDg]] was created with version [5.6.16] but the minimum compatible version is [6.0.0-beta1]. It should be re-indexed in Elasticsearch 6.x before upgrading to 7.9.0.
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[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]
Caused by: java.lang.IllegalStateException: The index [[amasty_new_product_4_v2/_s0gNlspRLq_DqNGbTBiDg]] was created with version [5.6.16] but the minimum compatible version is [6.0.0-beta1]. It should be re-indexed in Elasticsearch 6.x before upgrading to 7.9.0.
	at org.elasticsearch.cluster.metadata.MetadataIndexUpgradeService.checkSupportedVersion(MetadataIndexUpgradeService.java:113) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.cluster.metadata.MetadataIndexUpgradeService.upgradeIndexMetadata(MetadataIndexUpgradeService.java:87) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.gateway.GatewayMetaState.upgradeMetadata(GatewayMetaState.java:247) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.gateway.GatewayMetaState.upgradeMetadataForNode(GatewayMetaState.java:230) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.gateway.GatewayMetaState.start(GatewayMetaState.java:161) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.node.Node.start(Node.java:786) ~[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]
	... 6 more
[2021-11-17T10:26:14,042][INFO ][o.e.n.Node               ] [server2] stopping ...
[2021-11-17T10:26:14,066][INFO ][o.e.n.Node               ] [server2] stopped
[2021-11-17T10:26:14,066][INFO ][o.e.n.Node               ] [server2] closing ...
[2021-11-17T10:26:14,072][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [server2] fatal error in thread [Thread-3], 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.<clinit>(Libsystemd.java:33) ~[?:?]
	at org.elasticsearch.systemd.SystemdPlugin.sd_notify(SystemdPlugin.java:126) ~[?:?]
	at org.elasticsearch.systemd.SystemdPlugin.close(SystemdPlugin.java:152) ~[?:?]
	at org.elasticsearch.core.internal.io.IOUtils.close(IOUtils.java:106) ~[elasticsearch-core-7.9.0.jar:7.9.0]
	at org.elasticsearch.core.internal.io.IOUtils.close(IOUtils.java:88) ~[elasticsearch-core-7.9.0.jar:7.9.0]
	at org.elasticsearch.node.Node.close(Node.java:989) ~[elasticsearch-7.9.0.jar:7.9.0]
	at org.elasticsearch.core.internal.io.IOUtils.close(IOUtils.java:106) ~[elasticsearch-core-7.9.0.jar:7.9.0]
	at org.elasticsearch.core.internal.io.IOUtils.close(IOUtils.java:64) ~[elasticsearch-core-7.9.0.jar:7.9.0]
	at org.elasticsearch.bootstrap.Bootstrap$4.run(Bootstrap.java:192) ~[elasticsearch-7.9.0.jar:7.9.0]

Hi,

The error message already tells you what is wrong:

As described in the upgrade documentation here a direct upgrade from Elasticsearch 5.x to 6.x is not possible. You have to upgrade to a version 6.x first, then run the reindex process and migrate to 7.x afterwards.

Best regards
Wolfram

Hi,

Can we delete all index and create a fresh index with currently installed version 7.9, if so how to delete. Since my elastic is not yet started

The easiest way would be to point Elasticsearch to a new data directory.

Can you say how to do that

You just have to create a new (empty) directory and update the path.data setting: Node | Elasticsearch Guide [7.15] | Elastic

Hi,

I made the Path and Log Folder change and given command to start the Elasticsearch. Now it shows this error

[2021-11-17T14:34:38,442][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [server2] 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.<clinit>(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]

Also this error also shows on top of the above error

[2021-11-17T14:34:29,761][WARN ][o.e.b.Natives            ] [server2] unable to load JNA native support library, native methods will be disabled.
java.lang.UnsatisfiedLinkError: /tmp/elasticsearch-5443004539069677547/jna5459614945390576742.tmp: /tmp/elasticsearch-5443004539069677547/jna545961494539057$
        at java.lang.ClassLoader$NativeLibrary.load0(Native Method) ~[?:?]
        at java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2452) ~[?:?]
        at java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2508) ~[?:?]
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2704) ~[?:?]
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2637) ~[?:?]
        at java.lang.Runtime.load0(Runtime.java:745) ~[?:?]
        at java.lang.System.load(System.java:1871) ~[?:?]
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1018) ~[jna-5.5.0.jar:5.5.0 (b0)]
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988) ~[jna-5.5.0.jar:5.5.0 (b0)]
        at com.sun.jna.Native.<clinit>(Native.java:195) ~[jna-5.5.0.jar:5.5.0 (b0)]
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:340) ~[?:?]
        at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:45) [elasticsearch-7.9.0.jar:7.9.0]
        at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:110) [elasticsearch-7.9.0.jar:7.9.0]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178) [elasticsearch-7.9.0.jar:7.9.0]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393) [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]

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