gpt4 book ai didi

Windows 上的 ElasticSearch 错误

转载 作者:行者123 更新时间:2023-12-03 00:52:42 25 4
gpt4 key购买 nike

我在 Windows 上安装了 ElasticSearch(通过 MSI 包)。我将它安装为手动运行(而不是作为窗口服务)。当我运行 /bin/ElasticSearch.exe我正进入(状态:

    C:\Program Files\Elastic\Elasticsearch\6.2.4\bin>elasticsearch.exe 
[2018-05-29T20:01:36,112][INFO ][o.e.n.Node ]
[MSEDGEWIN10] initializing ... [2018-05-29T20:01:36,299][INFO ][o.e.e.NodeEnvironment ]
[MSEDGEWIN10] using [1] data paths, mounts [[Windows 10 (C:)]], net usable_space [59.3gb], net total_space [97.6gb], types [NTFS] [2018-05-29T20:01:36,299][INFO ][o.e.e.NodeEnvironment ] [MSEDGEWIN10] heap size [1.9gb], compressed ordinary object pointers [true] [2018-05-29T20:01:36,455][INFO ][o.e.n.Node ] [MSEDGEWIN10] node name [MSEDGEWIN10], node ID [J5yTqffaR9K43tavP87CIQ] [2018-05-29T20:01:36,455][INFO ][o.e.n.Node ] [MSEDGEWIN10] version[6.2.4], pid[6912], build[ccec39f/2018-04-12T20:37:28.497551Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_171/25.171-b11] [2018-05-29T20:01:36,455][INFO ][o.e.n.Node ] [MSEDGEWIN10] JVM arguments [-XX:+UseConcMarkSweepGC,
-XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=${ES_TMPDIR}, -XX:+HeapDumpOnOutOfMemoryError, -Xmx2048m, -Xms2048m, -Delasticsearch, -Des.path.home=C:\Program Files\Elastic\Elasticsearch\6.2.4,
-Des.path.conf=C:\ProgramData\Elastic\Elasticsearch\config] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [aggs-matrix-stats] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [analysis-common] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [ingest-common] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [lang-expression] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [lang-mustache] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [lang-painless] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [mapper-extras] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [parent-join] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [percolator] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [rank-eval] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [reindex] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [repository-url] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [transport-netty4] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] loaded module [tribe] [2018-05-29T20:01:43,752][INFO ][o.e.p.PluginsService ] [MSEDGEWIN10] no plugins loaded [2018-05-29T20:01:54,940][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [MSEDGEWIN10] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown secure setting [bootstrap.password] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.4.jar:6.2.4] Caused by: java.lang.IllegalArgumentException: unknown secure setting [bootstrap.password] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:346) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:310) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:284) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:134) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.node.Node.<init>(Node.java:331) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.node.Node.<init>(Node.java:246) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:213) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:213) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:323) ~[elasticsearch-6.2.4.jar:6.2.4]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-6.2.4.jar:6.2.4]
... 6 more

最佳答案

您可以通过删除 bootstrap.password 来解决此问题来自 the elasticsearch keystore通过导航到安装主目录并运行

bin/elasticsearch-keystore.bat remove bootstrap.password

Elasticsearch 现在将在运行 elasticsearch.exe 时启动。

请在 Windows Installer GitHub repository 上打开一个问题讨论,如 bootstrap.password仅应在安装 X-Pack 插件时在 keystore 中设置。我想了解更多关于你是如何安装的以及传递了哪些安装参数,这会更好地通过打开一个GitHub问题来讨论:)

关于Windows 上的 ElasticSearch 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50595813/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com