라즈베리파이에서 엘라스틱서치 실행을 해보았는데 에러가 뜨네요

라즈베리파이(라즈비안)

java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path ([file:/usr/share/elasticsearch/lib/spatial4j-0.7.jar, file:/usr/share/elasticsearch/lib/lucene-spatial-7.6.0.jar, file:$
        at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:962) ~[jna-4.5.1.jar:4.5.1 (b0)]
        at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922) ~[jna-4.5.1.jar:4.5.1 (b0)]
        at com.sun.jna.Native.<clinit>(Native.java:190) ~[jna-4.5.1.jar:4.5.1 (b0)]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181]
        at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_181]
        at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:45) [elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:102) [elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:170) [elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) [elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-6.6.1.jar:6.6.1]
        at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) [elasticsearch-6.6.1.jar:6.6.1]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) [elasticsearch-6.6.1.jar:6.6.1]
[2019-03-02T08:44:25,533][WARN ][o.e.b.Natives            ] [unknown] cannot check if running as root because JNA is not available
[2019-03-02T08:44:25,534][WARN ][o.e.b.Natives            ] [unknown] cannot install system call filter because JNA is not available
[2019-03-02T08:44:25,536][WARN ][o.e.b.Natives            ] [unknown] cannot register console handler because JNA is not available
[2019-03-02T08:44:26,107][WARN ][o.e.b.Natives            ] [unknown] cannot getrlimit RLIMIT_NPROC because JNA is not available
[2019-03-02T08:44:26,108][WARN ][o.e.b.Natives            ] [unknown] cannot getrlimit RLIMIT_AS because JNA is not available
[2019-03-02T08:44:26,108][WARN ][o.e.b.Natives            ] [unknown] cannot getrlimit RLIMIT_FSIZE because JNA is not available
[2019-03-02T08:44:27,263][INFO ][o.e.e.NodeEnvironment    ] [CuMY4l4] using [1] data paths, mounts [[/ (/dev/root)]], net usable_space [50.7gb], net total_space [58.6gb], types [ext4]
[2019-03-02T08:44:27,264][INFO ][o.e.e.NodeEnvironment    ] [CuMY4l4] heap size [247.5mb], compressed ordinary object pointers [unknown]
[2019-03-02T08:44:27,271][INFO ][o.e.n.Node               ] [CuMY4l4] node name derived from node ID [CuMY4l4iTGec_u7-kx21YQ]; set [node.name] to override
[2019-03-02T08:44:27,272][INFO ][o.e.n.Node               ] [CuMY4l4] version[6.6.1], pid[3773], build[default/deb/1fd8f69/2019-02-13T17:10:04.160291Z], OS[Linux/4.14.70-v7+/arm], JVM[Oracle Corporation/OpenJDK Client VM/1.8.0_181/25.18$
[2019-03-02T08:44:27,273][INFO ][o.e.n.Node               ] [CuMY4l4] JVM arguments [-Xms256M, -Xmx256M, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=6$
[2019-03-02T08:44:44,128][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [aggs-matrix-stats]
[2019-03-02T08:44:44,128][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [analysis-common]
[2019-03-02T08:44:44,129][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [ingest-common]
[2019-03-02T08:44:44,129][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [lang-expression]
[2019-03-02T08:44:44,129][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [lang-mustache]
[2019-03-02T08:44:44,129][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [lang-painless]
[2019-03-02T08:44:44,130][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [mapper-extras]
[2019-03-02T08:44:44,130][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [parent-join]
[2019-03-02T08:44:44,130][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [percolator]
[2019-03-02T08:44:44,130][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [rank-eval]
[2019-03-02T08:44:44,130][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [reindex]
[2019-03-02T08:44:44,131][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [repository-url]
[2019-03-02T08:44:44,131][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [transport-netty4]
[2019-03-02T08:44:44,131][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [tribe]
[2019-03-02T08:44:44,131][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [x-pack-ccr]

[2019-03-02T08:44:44,133][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [x-pack-logstash]
[2019-03-02T08:44:44,133][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [x-pack-ml]
[2019-03-02T08:44:44,133][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [x-pack-monitoring]
[2019-03-02T08:44:44,133][INFO ][o.e.p.PluginsService     ] [CuMY4l4] loaded module [x-pack-rollup]

[2019-03-02T08:44:44,136][INFO ][o.e.p.PluginsService     ] [CuMY4l4] no plugins loaded
[2019-03-02T08:45:19,300][INFO ][o.e.x.s.a.s.FileRolesStore] [CuMY4l4] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2019-03-02T08:44:44,136][INFO ][o.e.p.PluginsService     ] [CuMY4l4] no plugins loaded
[2019-03-02T08:45:19,300][INFO ][o.e.x.s.a.s.FileRolesStore] [CuMY4l4] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
[2019-03-02T08:45:22,445][ERROR][o.e.b.Bootstrap          ] [CuMY4l4] Exception

이건 로그입니다.
자바 버전은 "1.8.0_181" 입니다.

실행은 되는줄 알고 포트만 안열리는줄 알았는데 실행이되고 정지되며 에러 로그가 뜨고 있는거였습니다...글자수 제한으로 로그를 조금 지웠습니다.

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