[root@node-zwf ~]# su elasticsearch
[elasticsearch@node-zwf root]$ cd /home/elasticsearch/elasticsearch-7.8.0/
[elasticsearch@node-zwf elasticsearch-7.8.0]$ bin/elasticsearch
future versions of Elasticsearch will require Java 11; your Java version from [/opt/jdk1.8.0_281/jre] does not meet this requirement
future versions of Elasticsearch will require Java 11; your Java version from [/opt/jdk1.8.0_281/jre] does not meet this requirement
^C^C
[elasticsearch@node-zwf elasticsearch-7.8.0]$ jps
3100 Jps
[elasticsearch@node-zwf elasticsearch-7.8.0]$ ll
total 580
drwxr-xr-x.  2 elasticsearch elk   4096 Mar 27 06:58 bin
drwxr-xr-x.  2 elasticsearch elk     32 Apr  4 09:34 ca
-rw-------.  1 elasticsearch elk   5047 Apr  4 09:34 cer.zip
drwxr-xr-x.  4 elasticsearch elk   4096 Apr  4 09:40 config
drwxr-xr-x.  9 elasticsearch elk     99 Mar 27 06:58 jdk
drwxr-xr-x.  3 elasticsearch elk   4096 Mar 27 06:58 lib
-rw-r--r--.  1 elasticsearch elk  13675 Mar 27 06:58 LICENSE.txt
drwxr-xr-x.  2 elasticsearch elk     29 Mar 27 07:01 logs
drwxr-xr-x. 47 elasticsearch elk   4096 Mar 27 06:58 modules
-rw-r--r--.  1 elasticsearch elk 544318 Mar 27 06:58 NOTICE.txt
drwxr-xr-x.  2 elasticsearch elk      6 Mar 27 06:58 plugins
-rw-r--r--.  1 elasticsearch elk   8165 Mar 27 06:58 README.asciidoc
drwxr-xr-x.  2 elasticsearch elk     34 Apr  4 09:34 zwf
[elasticsearch@node-zwf elasticsearch-7.8.0]$ cd config
[elasticsearch@node-zwf config]$ ll
total 40
drwxr-xr-x. 2 elasticsearch elk    33 Apr  4 09:43 cert
-rw-rw----. 1 elasticsearch elk   199 Mar 27 07:01 elasticsearch.keystore
-rw-r-----. 1 elasticsearch elk  3283 Apr  4 00:01 elasticsearch.yml
-rw-r-----. 1 elasticsearch elk  2301 Mar 27 06:58 jvm.options
drwxr-x---. 2 elasticsearch elk     6 Mar 27 06:58 jvm.options.d
-rw-r-----. 1 elasticsearch elk 17419 Mar 27 06:58 log4j2.properties
-rw-r-----. 1 elasticsearch elk   473 Mar 27 06:58 role_mapping.yml
-rw-r-----. 1 elasticsearch elk   197 Mar 27 06:58 roles.yml
-rw-r-----. 1 elasticsearch elk     0 Mar 27 06:58 users
-rw-r-----. 1 elasticsearch elk     0 Mar 27 06:58 users_roles
[elasticsearch@node-zwf config]$ cd cert
[elasticsearch@node-zwf cert]$ ll
total 8
-rw-r--r--. 1 elasticsearch elk 1200 Apr  4 09:42 ca.crt
-rw-r--r--. 1 elasticsearch elk 1184 Apr  4 09:43 zwf.crt
[elasticsearch@node-zwf cert]$ pwd
/home/elasticsearch/elasticsearch-7.8.0/config/cert
[elasticsearch@node-zwf cert]$ cd /home/elasticsearch/elasticsearch-7.8.0/
[elasticsearch@node-zwf elasticsearch-7.8.0]$ bin/elasticsearch
future versions of Elasticsearch will require Java 11; your Java version from [/opt/jdk1.8.0_281/jre] does not meet this requirement
future versions of Elasticsearch will require Java 11; your Java version from [/opt/jdk1.8.0_281/jre] does not meet this requirement
[2021-04-04T10:02:19,571][INFO ][o.e.n.Node               ] [es-cluster-node-001] version[7.8.0], pid[3327], build[default/tar/757314695644ea9a1dc2fecd26d1a43856725e65/2020-06-14T19:35:50.234439Z], OS[Linux/3.10.0-1160.15.2.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_281/25.281-b09]
[2021-04-04T10:02:19,624][INFO ][o.e.n.Node               ] [es-cluster-node-001] JVM home [/opt/jdk1.8.0_281/jre]
[2021-04-04T10:02:19,626][INFO ][o.e.n.Node               ] [es-cluster-node-001] 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, -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,JRE, -Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.io.tmpdir=/tmp/elasticsearch-5629856876115009129, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/home/elasticsearch/elasticsearch-7.8.0, -Des.path.conf=/home/elasticsearch/elasticsearch-7.8.0/config, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=true]
[2021-04-04T10:02:40,085][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [aggs-matrix-stats]
[2021-04-04T10:02:40,086][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [analysis-common]
[2021-04-04T10:02:40,087][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [constant-keyword]
[2021-04-04T10:02:40,088][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [flattened]
[2021-04-04T10:02:40,089][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [frozen-indices]
[2021-04-04T10:02:40,090][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [ingest-common]
[2021-04-04T10:02:40,091][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [ingest-geoip]
[2021-04-04T10:02:40,092][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [ingest-user-agent]
[2021-04-04T10:02:40,093][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [kibana]
[2021-04-04T10:02:40,094][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [lang-expression]
[2021-04-04T10:02:40,095][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [lang-mustache]
[2021-04-04T10:02:40,096][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [lang-painless]
[2021-04-04T10:02:40,097][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [mapper-extras]
[2021-04-04T10:02:40,098][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [parent-join]
[2021-04-04T10:02:40,099][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [percolator]
[2021-04-04T10:02:40,100][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [rank-eval]
[2021-04-04T10:02:40,101][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [reindex]
[2021-04-04T10:02:40,102][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [repository-url]
[2021-04-04T10:02:40,103][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [search-business-rules]
[2021-04-04T10:02:40,104][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [searchable-snapshots]
[2021-04-04T10:02:40,105][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [spatial]
[2021-04-04T10:02:40,106][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [tasks]
[2021-04-04T10:02:40,107][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [transform]
[2021-04-04T10:02:40,108][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [transport-netty4]
[2021-04-04T10:02:40,108][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [vectors]
[2021-04-04T10:02:40,109][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-analytics]
[2021-04-04T10:02:40,110][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-async-search]
[2021-04-04T10:02:40,111][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-autoscaling]
[2021-04-04T10:02:40,112][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-ccr]
[2021-04-04T10:02:40,113][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-core]
[2021-04-04T10:02:40,114][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-deprecation]
[2021-04-04T10:02:40,115][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-enrich]
[2021-04-04T10:02:40,116][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-eql]
[2021-04-04T10:02:40,117][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-graph]
[2021-04-04T10:02:40,117][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-identity-provider]
[2021-04-04T10:02:40,118][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-ilm]
[2021-04-04T10:02:40,119][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-logstash]
[2021-04-04T10:02:40,120][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-ml]
[2021-04-04T10:02:40,121][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-monitoring]
[2021-04-04T10:02:40,122][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-ql]
[2021-04-04T10:02:40,123][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-rollup]
[2021-04-04T10:02:40,124][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-security]
[2021-04-04T10:02:40,124][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-sql]
[2021-04-04T10:02:40,126][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-voting-only-node]
[2021-04-04T10:02:40,127][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] loaded module [x-pack-watcher]
[2021-04-04T10:02:40,129][INFO ][o.e.p.PluginsService     ] [es-cluster-node-001] no plugins loaded
[2021-04-04T10:02:40,378][INFO ][o.e.e.NodeEnvironment    ] [es-cluster-node-001] using [1] data paths, mounts [[/ (/dev/sda3)]], net usable_space [23.9gb], net total_space [37.6gb], types [xfs]
[2021-04-04T10:02:40,380][INFO ][o.e.e.NodeEnvironment    ] [es-cluster-node-001] heap size [990.7mb], compressed ordinary object pointers [true]
[2021-04-04T10:02:41,666][INFO ][o.e.n.Node               ] [es-cluster-node-001] node name [es-cluster-node-001], node ID [8YyMye90Rd2xguOy1w3yJQ], cluster name [es-cluster]
[2021-04-04T10:02:50,390][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [es-cluster-node-001] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [xpack.ssl.key] did you mean [xpack.http.ssl.key]?
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) ~[elasticsearch-cli-7.8.0.jar:7.8.0]
	at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.8.0.jar:7.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.8.0.jar:7.8.0]
Caused by: java.lang.IllegalArgumentException: unknown setting [xpack.ssl.key] did you mean [xpack.http.ssl.key]?
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:544) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:489) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:460) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:431) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:149) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.node.Node.<init>(Node.java:370) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.node.Node.<init>(Node.java:266) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:227) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393) ~[elasticsearch-7.8.0.jar:7.8.0]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.8.0.jar:7.8.0]
	... 6 more
	Suppressed: java.lang.IllegalArgumentException: unknown setting [xpack.ssl.certificate_authorities] 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:544) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:489) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:460) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:431) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:149) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.node.Node.<init>(Node.java:370) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.node.Node.<init>(Node.java:266) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:227) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) ~[elasticsearch-cli-7.8.0.jar:7.8.0]
		at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.8.0.jar:7.8.0]
	Suppressed: java.lang.IllegalArgumentException: unknown setting [xpack.ssl.certificate] did you mean [xpack.http.ssl.certificate]?
		at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:544) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:489) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:460) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:431) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:149) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.node.Node.<init>(Node.java:370) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.node.Node.<init>(Node.java:266) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:227) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) ~[elasticsearch-cli-7.8.0.jar:7.8.0]
		at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.8.0.jar:7.8.0]
		at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.8.0.jar:7.8.0]
uncaught exception in thread [main]
java.lang.IllegalArgumentException: unknown setting [xpack.ssl.key] did you mean [xpack.http.ssl.key]?
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:544)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:489)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:460)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:431)
	at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:149)
	at org.elasticsearch.node.Node.<init>(Node.java:370)
	at org.elasticsearch.node.Node.<init>(Node.java:266)
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:227)
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227)
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393)
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
	at org.elasticsearch.cli.Command.main(Command.java:90)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
For complete error details, refer to the log at /home/elasticsearch/elasticsearch-7.8.0-linux-x86_64-log/es-cluster.log
[elasticsearch@node-zwf elasticsearch-7.8.0]$ 

 

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐