Hello,I have a trouble of this "Couln't start Elasticsearch. Exiting" and No Error report.And search the logs.canot find any error.How to solve this problem. And the elk's version is 6.8,
and the elasticsearch.yml :
network.host: 0.0.0.0
and the vm.max_map_count is setted.
* Starting periodic command scheduler cron
...done.
* Starting Elasticsearch Server
sysctl: setting key "vm.max_map_count": Read-only file system
...done.
waiting for Elasticsearch to be up (1/50)
waiting for Elasticsearch to be up (2/50)
waiting for Elasticsearch to be up (3/50)
waiting for Elasticsearch to be up (4/50)
waiting for Elasticsearch to be up (5/50)
waiting for Elasticsearch to be up (6/50)
waiting for Elasticsearch to be up (7/50)
waiting for Elasticsearch to be up (8/50)
waiting for Elasticsearch to be up (9/50)
waiting for Elasticsearch to be up (10/50)
waiting for Elasticsearch to be up (11/50)
waiting for Elasticsearch to be up (12/50)
waiting for Elasticsearch to be up (13/50)
waiting for Elasticsearch to be up (14/50)
waiting for Elasticsearch to be up (15/50)
waiting for Elasticsearch to be up (16/50)
waiting for Elasticsearch to be up (17/50)
waiting for Elasticsearch to be up (18/50)
waiting for Elasticsearch to be up (19/50)
waiting for Elasticsearch to be up (20/50)
waiting for Elasticsearch to be up (21/50)
waiting for Elasticsearch to be up (22/50)
waiting for Elasticsearch to be up (23/50)
waiting for Elasticsearch to be up (24/50)
waiting for Elasticsearch to be up (25/50)
waiting for Elasticsearch to be up (26/50)
waiting for Elasticsearch to be up (27/50)
waiting for Elasticsearch to be up (28/50)
waiting for Elasticsearch to be up (29/50)
waiting for Elasticsearch to be up (30/50)
waiting for Elasticsearch to be up (31/50)
waiting for Elasticsearch to be up (32/50)
waiting for Elasticsearch to be up (33/50)
waiting for Elasticsearch to be up (34/50)
waiting for Elasticsearch to be up (35/50)
waiting for Elasticsearch to be up (36/50)
waiting for Elasticsearch to be up (37/50)
waiting for Elasticsearch to be up (38/50)
waiting for Elasticsearch to be up (39/50)
waiting for Elasticsearch to be up (40/50)
waiting for Elasticsearch to be up (41/50)
waiting for Elasticsearch to be up (42/50)
waiting for Elasticsearch to be up (43/50)
waiting for Elasticsearch to be up (44/50)
waiting for Elasticsearch to be up (45/50)
waiting for Elasticsearch to be up (46/50)
waiting for Elasticsearch to be up (47/50)
waiting for Elasticsearch to be up (48/50)
waiting for Elasticsearch to be up (49/50)
waiting for Elasticsearch to be up (50/50)
Couln't start Elasticsearch. Exiting.
Elasticsearch log follows below.
[2020-04-03T01:14:06,457][INFO ][o.e.e.NodeEnvironment ] [master] using [1] data paths, mounts [[/var/lib/elasticsearch (/dev/mapper/centos-home)]], net usable_space [239.5gb], net total_space [240.9gb], types [xfs]
[2020-04-03T01:14:06,461][INFO ][o.e.e.NodeEnvironment ] [master] heap size [989.8mb], compressed ordinary object pointers [true]
[2020-04-03T01:14:06,463][INFO ][o.e.n.Node ] [master] node name [master], node ID [BlrdnwyySH-GhusX2cCkWw]
[2020-04-03T01:14:06,463][INFO ][o.e.n.Node ] [master] version[6.8.0], pid[108], build[default/tar/65b6179/2019-05-15T20:06:13.172855Z], OS[Linux/4.4.178-1.el7.elrepo.x86_64/amd64], JVM[Private Build/OpenJDK 64-Bit Server VM/1.8.0_222/25.222-b10]
[2020-04-03T01:14:06,463][INFO ][o.e.n.Node ] [master] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -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, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-8577075212332663221, -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, -Des.path.home=/opt/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=tar]
[2020-04-03T01:14:09,434][INFO ][o.e.p.PluginsService ] [master] loaded module [aggs-matrix-stats]
[2020-04-03T01:14:09,434][INFO ][o.e.p.PluginsService ] [master] loaded module [analysis-common]
[2020-04-03T01:14:09,434][INFO ][o.e.p.PluginsService ] [master] loaded module [ingest-common]
[2020-04-03T01:14:09,434][INFO ][o.e.p.PluginsService ] [master] loaded module [ingest-geoip]
[2020-04-03T01:14:09,434][INFO ][o.e.p.PluginsService ] [master] loaded module [ingest-user-agent]
[2020-04-03T01:14:09,434][INFO ][o.e.p.PluginsService ] [master] loaded module [lang-expression]
[2020-04-03T01:14:09,434][INFO ][o.e.p.PluginsService ] [master] loaded module [lang-mustache]
[2020-04-03T01:14:09,434][INFO ][o.e.p.PluginsService ] [master] loaded module [lang-painless]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [mapper-extras]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [parent-join]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [percolator]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [rank-eval]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [reindex]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [repository-url]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [transport-netty4]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [tribe]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-ccr]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-core]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-deprecation]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-graph]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-ilm]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-logstash]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-ml]
[2020-04-03T01:14:09,435][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-monitoring]
[2020-04-03T01:14:09,436][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-rollup]
[2020-04-03T01:14:09,436][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-security]
[2020-04-03T01:14:09,436][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-sql]
[2020-04-03T01:14:09,436][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-upgrade]
[2020-04-03T01:14:09,436][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-watcher]
[2020-04-03T01:14:09,436][INFO ][o.e.p.PluginsService ] [master] no plugins loaded
[2020-04-03T01:15:01,087][INFO ][o.e.e.NodeEnvironment ] [master] using [1] data paths, mounts [[/var/lib/elasticsearch (/dev/mapper/centos-home)]], net usable_space [239.5gb], net total_space [240.9gb], types [xfs]
[2020-04-03T01:15:01,091][INFO ][o.e.e.NodeEnvironment ] [master] heap size [989.8mb], compressed ordinary object pointers [true]
[2020-04-03T01:15:01,093][INFO ][o.e.n.Node ] [master] node name [master], node ID [BlrdnwyySH-GhusX2cCkWw]
[2020-04-03T01:15:01,093][INFO ][o.e.n.Node ] [master] version[6.8.0], pid[106], build[default/tar/65b6179/2019-05-15T20:06:13.172855Z], OS[Linux/4.4.178-1.el7.elrepo.x86_64/amd64], JVM[Private Build/OpenJDK 64-Bit Server VM/1.8.0_222/25.222-b10]
[2020-04-03T01:15:01,094][INFO ][o.e.n.Node ] [master] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -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, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-404617182282969140, -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, -Des.path.home=/opt/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=tar]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [aggs-matrix-stats]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [analysis-common]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [ingest-common]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [ingest-geoip]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [ingest-user-agent]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [lang-expression]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [lang-mustache]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [lang-painless]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [mapper-extras]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [parent-join]
[2020-04-03T01:15:03,451][INFO ][o.e.p.PluginsService ] [master] loaded module [percolator]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [rank-eval]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [reindex]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [repository-url]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [transport-netty4]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [tribe]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-ccr]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-core]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-deprecation]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-graph]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-ilm]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-logstash]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-ml]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-monitoring]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-rollup]
[2020-04-03T01:15:03,452][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-security]
[2020-04-03T01:15:03,453][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-sql]
[2020-04-03T01:15:03,453][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-upgrade]
[2020-04-03T01:15:03,453][INFO ][o.e.p.PluginsService ] [master] loaded module [x-pack-watcher]
[2020-04-03T01:15:03,453][INFO ][o.e.p.PluginsService ] [master] no plugins loaded
[2020-04-03T01:15:08,603][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [master] [controller/137] [Main.cc@109] controller (64 bit): Version 6.8.0 (Build e6cf25e2acc5ec) Copyright (c) 2019 Elasticsearch BV
[2020-04-03T01:15:09,218][DEBUG][o.e.a.ActionModule ] [master] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2020-04-03T01:15:09,478][INFO ][o.e.d.DiscoveryModule ] [master] using discovery type [zen] and host providers [settings]
This is not the full logfile it seems to me. Can you share the full log file, please?
How are you starting Elasticsearch? Depending on how. you start it, you may need to check the logfile or the systemd journalctl output.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.