Hello, I installed elasticsearch on ubuntu , but when i start elastic I always get an error. The log is showing me the following: JNA not available
java.lang.UnsatisfiedLinkError: /tmp/elasticsearch-11257088539838636182/jna4860895784448570313.tmp: /tmp/elasticsearch-11257088539838636182/jna4860895784448570313.tmp: failed to map segme>
at jdk.internal.loader.NativeLibraries.load(Native Method) ~[?:?]
at jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331) ~[?:?]
at jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197) ~[?:?]
at jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139) ~[?:?]
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2404) ~[?:?]
at java.lang.Runtime.load0(Runtime.java:817) ~[?:?]
at java.lang.System.load(System.java:2015) ~[?:?]
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1045) ~[jna-5.10.0.jar:?]
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:1015) ~[jna-5.10.0.jar:?]
at com.sun.jna.Native.<clinit>(Native.java:221) ~[jna-5.10.0.jar:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:391) ~[?:?]
at java.lang.Class.forName(Class.java:382) ~[?:?]
at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:34) ~[elasticsearch-8.10.0.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:279) ~[elasticsearch-8.10.0.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:166) ~[elasticsearch-8.10.0.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:71) ~[elasticsearch-8.10.0.jar:?]
[2023-09-14T18:17:12,238][WARN ][o.e.b.Natives ] [server.dxcportal.com] cannot check if running as root because JNA is not available
[2023-09-14T18:17:12,238][WARN ][o.e.b.Natives ] [server.dxcportal.com] cannot install system call filter because JNA is not available
[2023-09-14T18:17:12,239][WARN ][o.e.b.Natives ] [server.dxcportal.com] cannot register console handler because JNA is not available
[2023-09-14T18:17:12,240][WARN ][o.e.b.Natives ] [server.dxcportal.com] cannot getrlimit RLIMIT_NPROC because JNA is not available
[2023-09-14T18:17:12,240][WARN ][o.e.b.Natives ] [server.dxcportal.com] cannot getrlimit RLIMIT_AS because JNA is not available
[2023-09-14T18:17:12,240][WARN ][o.e.b.Natives ] [server.dxcportal.com] cannot getrlimit RLIMIT_FSIZE because JNA is not available
[2023-09-14T18:17:12,243][WARN ][o.e.c.f.FileSystemNatives] [server.dxcportal.com] unable to load JNA native support library, FileSystemNatives methods will be disabled.
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:391) ~[?:?]
at java.lang.Class.forName(Class.java:382) ~[?:?]
at org.elasticsearch.common.filesystem.FileSystemNatives.loadJnaProvider(FileSystemNatives.java:37) ~[elasticsearch-8.10.0.jar:?]
at org.elasticsearch.common.filesystem.FileSystemNatives.<clinit>(FileSystemNatives.java:31) ~[elasticsearch-8.10.0.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:331) ~[elasticsearch-8.10.0.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:166) ~[elasticsearch-8.10.0.jar:?]