Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user@server1:~$ sudo systemctl status elasticsearch.service
- ● elasticsearch.service - Elasticsearch
- Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since Thu 2020-03-05 15:34:12 UTC; 6min ago
- Docs: http://www.elastic.co
- Process: 2453 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
- Main PID: 2453 (code=exited, status=1/FAILURE)
- Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
- Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
- Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)
- Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.cli.Command.main(Command.java:90)
- Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
- Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
- Mar 05 15:34:12 server1 elasticsearch[2453]: For complete error details, refer to the log at /var/log/elasticsearch/elasticsearch.log
- Mar 05 15:34:12 server1 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
- Mar 05 15:34:12 server1 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
- Mar 05 15:34:12 server1 systemd[1]: Failed to start Elasticsearch.
- user@server1:~$ sudo cat /var/log/elasticsearch/elasticsearch.log
- [2020-03-05T15:33:35,057][INFO ][o.e.e.NodeEnvironment ] [server1] using [1] data paths, mounts [[/ (/dev/sda2)]], net usable_space [82.8gb], net total_space [97.9gb], types [ext4]
- [2020-03-05T15:33:35,068][INFO ][o.e.e.NodeEnvironment ] [server1] heap size [1007.3mb], compressed ordinary object pointers [true]
- [2020-03-05T15:33:35,243][INFO ][o.e.n.Node ] [server1] node name [server1], node ID [9S12s-a3S2qi65fxyzpvkQ], cluster name [elasticsearch]
- [2020-03-05T15:33:35,243][INFO ][o.e.n.Node ] [server1] version[7.6.1], pid[2453], build[default/deb/aa751e09be0a5072e8570670309b1f12348f023b/2020-02-29T00:15:25.529771Z], OS[Linux/4.15.0-88-generic/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/13.0.2/13.0.2+8]
- [2020-03-05T15:33:35,244][INFO ][o.e.n.Node ] [server1] JVM home [/usr/share/elasticsearch/jdk]
- [2020-03-05T15:33:35,244][INFO ][o.e.n.Node ] [server1] JVM arguments [-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=COMPAT, -Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.io.tmpdir=/tmp/elasticsearch-2088115445138386570, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=deb, -Des.bundled_jdk=true]
- [2020-03-05T15:33:44,907][INFO ][o.e.p.PluginsService ] [server1] loaded module [aggs-matrix-stats]
- [2020-03-05T15:33:44,911][INFO ][o.e.p.PluginsService ] [server1] loaded module [analysis-common]
- [2020-03-05T15:33:44,913][INFO ][o.e.p.PluginsService ] [server1] loaded module [flattened]
- [2020-03-05T15:33:44,913][INFO ][o.e.p.PluginsService ] [server1] loaded module [frozen-indices]
- [2020-03-05T15:33:44,913][INFO ][o.e.p.PluginsService ] [server1] loaded module [ingest-common]
- [2020-03-05T15:33:44,918][INFO ][o.e.p.PluginsService ] [server1] loaded module [ingest-geoip]
- [2020-03-05T15:33:44,919][INFO ][o.e.p.PluginsService ] [server1] loaded module [ingest-user-agent]
- [2020-03-05T15:33:44,919][INFO ][o.e.p.PluginsService ] [server1] loaded module [lang-expression]
- [2020-03-05T15:33:44,919][INFO ][o.e.p.PluginsService ] [server1] loaded module [lang-mustache]
- [2020-03-05T15:33:44,920][INFO ][o.e.p.PluginsService ] [server1] loaded module [lang-painless]
- [2020-03-05T15:33:44,921][INFO ][o.e.p.PluginsService ] [server1] loaded module [mapper-extras]
- [2020-03-05T15:33:44,922][INFO ][o.e.p.PluginsService ] [server1] loaded module [parent-join]
- [2020-03-05T15:33:44,928][INFO ][o.e.p.PluginsService ] [server1] loaded module [percolator]
- [2020-03-05T15:33:44,929][INFO ][o.e.p.PluginsService ] [server1] loaded module [rank-eval]
- [2020-03-05T15:33:44,929][INFO ][o.e.p.PluginsService ] [server1] loaded module [reindex]
- [2020-03-05T15:33:44,929][INFO ][o.e.p.PluginsService ] [server1] loaded module [repository-url]
- [2020-03-05T15:33:44,930][INFO ][o.e.p.PluginsService ] [server1] loaded module [search-business-rules]
- [2020-03-05T15:33:44,930][INFO ][o.e.p.PluginsService ] [server1] loaded module [spatial]
- [2020-03-05T15:33:44,930][INFO ][o.e.p.PluginsService ] [server1] loaded module [systemd]
- [2020-03-05T15:33:44,930][INFO ][o.e.p.PluginsService ] [server1] loaded module [transform]
- [2020-03-05T15:33:44,931][INFO ][o.e.p.PluginsService ] [server1] loaded module [transport-netty4]
- [2020-03-05T15:33:44,931][INFO ][o.e.p.PluginsService ] [server1] loaded module [vectors]
- [2020-03-05T15:33:44,938][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-analytics]
- [2020-03-05T15:33:44,938][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-ccr]
- [2020-03-05T15:33:44,940][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-core]
- [2020-03-05T15:33:44,940][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-deprecation]
- [2020-03-05T15:33:44,941][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-enrich]
- [2020-03-05T15:33:44,941][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-graph]
- [2020-03-05T15:33:44,942][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-ilm]
- [2020-03-05T15:33:44,942][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-logstash]
- [2020-03-05T15:33:44,942][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-ml]
- [2020-03-05T15:33:44,958][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-monitoring]
- [2020-03-05T15:33:44,959][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-rollup]
- [2020-03-05T15:33:44,959][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-security]
- [2020-03-05T15:33:44,959][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-sql]
- [2020-03-05T15:33:44,959][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-voting-only-node]
- [2020-03-05T15:33:44,961][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-watcher]
- [2020-03-05T15:33:44,964][INFO ][o.e.p.PluginsService ] [server1] no plugins loaded
- [2020-03-05T15:33:59,123][INFO ][o.e.x.s.a.s.FileRolesStore] [server1] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
- [2020-03-05T15:34:12,057][ERROR][o.e.b.Bootstrap ] [server1] Exception
- org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false].
- at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
- at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.1.jar:7.6.1]
- at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
- at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
- at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
- at org.elasticsearch.node.Node.<init>(Node.java:459) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.node.Node.<init>(Node.java:257) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:221) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) [elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) [elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) [elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) [elasticsearch-cli-7.6.1.jar:7.6.1]
- at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) [elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.6.1.jar:7.6.1]
- [2020-03-05T15:34:12,076][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [server1] uncaught exception in thread [main]
- org.elasticsearch.bootstrap.StartupException: ElasticsearchException[Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false].]
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) ~[elasticsearch-cli-7.6.1.jar:7.6.1]
- at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.6.1.jar:7.6.1]
- Caused by: org.elasticsearch.ElasticsearchException: Failure running machine learning native code. This could be due to running on an unsupported OS or distribution, missing OS libraries, or a problem with the temp directory. To bypass this problem by running Elasticsearch without machine learning functionality set [xpack.ml.enabled: false].
- at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
- at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.1.jar:7.6.1]
- at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
- at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
- at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
- at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
- at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
- at org.elasticsearch.node.Node.<init>(Node.java:459) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.node.Node.<init>(Node.java:257) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:221) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) ~[elasticsearch-7.6.1.jar:7.6.1]
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.6.1.jar:7.6.1]
Advertisement
Add Comment
Please, Sign In to add comment