6.8.6版本的es启动报错

6.8.6版本的es启动报错

有人说是机器是32位的,但是我的是64位的,没找到答案

[2020-03-13T18:02:10,160][WARN ][o.e.b.Natives            ] [node-1] unable to load JNA native support library, native methods will be disabled.
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86/libjnidispatch.so) not found in resource path ([file:/usr/local/elasticsearch-6.8.6/lib/lucene-memory-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/log4j-api-2.11.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-grouping-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-backward-codecs-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-misc-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jopt-simple-5.0.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-sandbox-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-core-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-cli-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/log4j-core-2.11.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-secure-sm-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/java-version-checker-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/jackson-dataformat-yaml-2.8.11.jar, file:/usr/local/elasticsearch-6.8.6/lib/plugin-classloader-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/log4j-1.2-api-2.11.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-x-content-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-highlighter-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/t-digest-3.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/snakeyaml-1.17.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-spatial3d-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jna-4.5.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-analyzers-common-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jackson-dataformat-smile-2.8.11.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-core-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-suggest-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/spatial4j-0.7.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-launchers-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/hppc-0.7.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-queries-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-queryparser-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/joda-time-2.10.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/HdrHistogram-2.1.9.jar, file:/usr/local/elasticsearch-6.8.6/lib/jackson-dataformat-cbor-2.8.11.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-spatial-extras-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-spatial-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jackson-core-2.8.11.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-join-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jts-core-1.15.0.jar])
        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_202]
        at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_202]
        at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:45) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:102) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:170) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-6.8.6.jar:6.8.6]
        at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) [elasticsearch-6.8.6.jar:6.8.6]


正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

2回答
Java架构师讲师团 2020-03-13 18:51:11

用6.4.3这个版本,群里已回复哈

提问者 慕才子 2020-03-13 18:25:41

来多点


[esuser@192 bin]$ ./elasticsearch
[2020-03-13T18:02:10,160][WARN ][o.e.b.Natives            ] [node-1] unable to load JNA native support library, native methods will be disabled.
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86/libjnidispatch.so) not found in resource path ([file:/usr/local/elasticsearch-6.8.6/lib/lucene-memory-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/log4j-api-2.11.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-grouping-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-backward-codecs-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-misc-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jopt-simple-5.0.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-sandbox-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-core-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-cli-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/log4j-core-2.11.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-secure-sm-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/java-version-checker-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/jackson-dataformat-yaml-2.8.11.jar, file:/usr/local/elasticsearch-6.8.6/lib/plugin-classloader-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/log4j-1.2-api-2.11.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-x-content-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-highlighter-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/t-digest-3.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/snakeyaml-1.17.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-spatial3d-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jna-4.5.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-analyzers-common-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jackson-dataformat-smile-2.8.11.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-core-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-suggest-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/spatial4j-0.7.jar, file:/usr/local/elasticsearch-6.8.6/lib/elasticsearch-launchers-6.8.6.jar, file:/usr/local/elasticsearch-6.8.6/lib/hppc-0.7.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-queries-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-queryparser-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/joda-time-2.10.1.jar, file:/usr/local/elasticsearch-6.8.6/lib/HdrHistogram-2.1.9.jar, file:/usr/local/elasticsearch-6.8.6/lib/jackson-dataformat-cbor-2.8.11.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-spatial-extras-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-spatial-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jackson-core-2.8.11.jar, file:/usr/local/elasticsearch-6.8.6/lib/lucene-join-7.7.2.jar, file:/usr/local/elasticsearch-6.8.6/lib/jts-core-1.15.0.jar])
        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_202]
        at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_202]
        at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:45) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:102) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:170) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-6.8.6.jar:6.8.6]
        at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:116) [elasticsearch-6.8.6.jar:6.8.6]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) [elasticsearch-6.8.6.jar:6.8.6]
[2020-03-13T18:02:10,166][WARN ][o.e.b.Natives            ] [node-1] cannot check if running as root because JNA is not available
[2020-03-13T18:02:10,952][ERROR][o.e.x.c.s.SSLService     ] [node-1] unsupported ciphers [[TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA]] were requested but cannot be used in this JVM, however there are supported ciphers that will be used [[TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA]]. If you are trying to use ciphers with a key length greater than 128 bits on an Oracle JVM, you will need to install the unlimited strength JCE policy files.
[2020-03-13T18:02:12,562][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [aggs-matrix-stats]
[2020-03-13T18:02:18,394][INFO ][o.e.x.s.a.s.FileRolesStore] [node-1] parsed [0] roles from file [/usr/local/elasticsearch-6.8.6/config/roles.yml]
[2020-03-13T18:02:19,614][DEBUG][o.e.a.ActionModule       ] [node-1] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2020-03-13T18:02:19,891][INFO ][o.e.d.DiscoveryModule    ] [node-1] using discovery type [zen] and host providers [settings]
[2020-03-13T18:02:20,791][INFO ][o.e.n.Node               ] [node-1] initialized
[2020-03-13T18:02:20,791][INFO ][o.e.n.Node               ] [node-1] starting ...
[2020-03-13T18:02:20,986][INFO ][o.e.t.TransportService   ] [node-1] publish_address {192.168.1.12:9300}, bound_addresses {[::]:9300}
[2020-03-13T18:02:21,003][INFO ][o.e.b.BootstrapChecks    ] [node-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [2] bootstrap checks failed
[1]: JVM is using the client VM [Java HotSpot(TM) Client VM] but should be using a server VM for the best performance
[2]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[2020-03-13T18:02:21,018][INFO ][o.e.n.Node               ] [node-1] stopping ...
[2020-03-13T18:02:21,064][INFO ][o.e.n.Node               ] [node-1] stopped
[2020-03-13T18:02:21,065][INFO ][o.e.n.Node               ] [node-1] closing ...
[2020-03-13T18:02:21,089][INFO ][o.e.n.Node               ] [node-1] closed
[esuser@192 bin]$ 
[esuser@192 bin]$ 
[esuser@192 bin]$ uname --m
x86_64


问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师