Guest User

Untitled

a guest
Mar 5th, 2020
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.14 KB | None | 0 0
  1. user@server1:~$ sudo systemctl status elasticsearch.service
  2. ● elasticsearch.service - Elasticsearch
  3. Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
  4. Active: failed (Result: exit-code) since Thu 2020-03-05 15:34:12 UTC; 6min ago
  5. Docs: http://www.elastic.co
  6. Process: 2453 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
  7. Main PID: 2453 (code=exited, status=1/FAILURE)
  8.  
  9. Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
  10. Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
  11. Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)
  12. Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.cli.Command.main(Command.java:90)
  13. Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
  14. Mar 05 15:34:12 server1 elasticsearch[2453]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
  15. Mar 05 15:34:12 server1 elasticsearch[2453]: For complete error details, refer to the log at /var/log/elasticsearch/elasticsearch.log
  16. Mar 05 15:34:12 server1 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
  17. Mar 05 15:34:12 server1 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
  18. Mar 05 15:34:12 server1 systemd[1]: Failed to start Elasticsearch.
  19. user@server1:~$ sudo cat /var/log/elasticsearch/elasticsearch.log
  20. [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]
  21. [2020-03-05T15:33:35,068][INFO ][o.e.e.NodeEnvironment ] [server1] heap size [1007.3mb], compressed ordinary object pointers [true]
  22. [2020-03-05T15:33:35,243][INFO ][o.e.n.Node ] [server1] node name [server1], node ID [9S12s-a3S2qi65fxyzpvkQ], cluster name [elasticsearch]
  23. [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]
  24. [2020-03-05T15:33:35,244][INFO ][o.e.n.Node ] [server1] JVM home [/usr/share/elasticsearch/jdk]
  25. [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]
  26. [2020-03-05T15:33:44,907][INFO ][o.e.p.PluginsService ] [server1] loaded module [aggs-matrix-stats]
  27. [2020-03-05T15:33:44,911][INFO ][o.e.p.PluginsService ] [server1] loaded module [analysis-common]
  28. [2020-03-05T15:33:44,913][INFO ][o.e.p.PluginsService ] [server1] loaded module [flattened]
  29. [2020-03-05T15:33:44,913][INFO ][o.e.p.PluginsService ] [server1] loaded module [frozen-indices]
  30. [2020-03-05T15:33:44,913][INFO ][o.e.p.PluginsService ] [server1] loaded module [ingest-common]
  31. [2020-03-05T15:33:44,918][INFO ][o.e.p.PluginsService ] [server1] loaded module [ingest-geoip]
  32. [2020-03-05T15:33:44,919][INFO ][o.e.p.PluginsService ] [server1] loaded module [ingest-user-agent]
  33. [2020-03-05T15:33:44,919][INFO ][o.e.p.PluginsService ] [server1] loaded module [lang-expression]
  34. [2020-03-05T15:33:44,919][INFO ][o.e.p.PluginsService ] [server1] loaded module [lang-mustache]
  35. [2020-03-05T15:33:44,920][INFO ][o.e.p.PluginsService ] [server1] loaded module [lang-painless]
  36. [2020-03-05T15:33:44,921][INFO ][o.e.p.PluginsService ] [server1] loaded module [mapper-extras]
  37. [2020-03-05T15:33:44,922][INFO ][o.e.p.PluginsService ] [server1] loaded module [parent-join]
  38. [2020-03-05T15:33:44,928][INFO ][o.e.p.PluginsService ] [server1] loaded module [percolator]
  39. [2020-03-05T15:33:44,929][INFO ][o.e.p.PluginsService ] [server1] loaded module [rank-eval]
  40. [2020-03-05T15:33:44,929][INFO ][o.e.p.PluginsService ] [server1] loaded module [reindex]
  41. [2020-03-05T15:33:44,929][INFO ][o.e.p.PluginsService ] [server1] loaded module [repository-url]
  42. [2020-03-05T15:33:44,930][INFO ][o.e.p.PluginsService ] [server1] loaded module [search-business-rules]
  43. [2020-03-05T15:33:44,930][INFO ][o.e.p.PluginsService ] [server1] loaded module [spatial]
  44. [2020-03-05T15:33:44,930][INFO ][o.e.p.PluginsService ] [server1] loaded module [systemd]
  45. [2020-03-05T15:33:44,930][INFO ][o.e.p.PluginsService ] [server1] loaded module [transform]
  46. [2020-03-05T15:33:44,931][INFO ][o.e.p.PluginsService ] [server1] loaded module [transport-netty4]
  47. [2020-03-05T15:33:44,931][INFO ][o.e.p.PluginsService ] [server1] loaded module [vectors]
  48. [2020-03-05T15:33:44,938][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-analytics]
  49. [2020-03-05T15:33:44,938][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-ccr]
  50. [2020-03-05T15:33:44,940][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-core]
  51. [2020-03-05T15:33:44,940][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-deprecation]
  52. [2020-03-05T15:33:44,941][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-enrich]
  53. [2020-03-05T15:33:44,941][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-graph]
  54. [2020-03-05T15:33:44,942][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-ilm]
  55. [2020-03-05T15:33:44,942][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-logstash]
  56. [2020-03-05T15:33:44,942][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-ml]
  57. [2020-03-05T15:33:44,958][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-monitoring]
  58. [2020-03-05T15:33:44,959][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-rollup]
  59. [2020-03-05T15:33:44,959][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-security]
  60. [2020-03-05T15:33:44,959][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-sql]
  61. [2020-03-05T15:33:44,959][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-voting-only-node]
  62. [2020-03-05T15:33:44,961][INFO ][o.e.p.PluginsService ] [server1] loaded module [x-pack-watcher]
  63. [2020-03-05T15:33:44,964][INFO ][o.e.p.PluginsService ] [server1] no plugins loaded
  64. [2020-03-05T15:33:59,123][INFO ][o.e.x.s.a.s.FileRolesStore] [server1] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
  65. [2020-03-05T15:34:12,057][ERROR][o.e.b.Bootstrap ] [server1] Exception
  66. 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].
  67. at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
  68. at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.1.jar:7.6.1]
  69. at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
  70. at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
  71. at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
  72. at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
  73. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
  74. at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
  75. at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
  76. at org.elasticsearch.node.Node.<init>(Node.java:459) ~[elasticsearch-7.6.1.jar:7.6.1]
  77. at org.elasticsearch.node.Node.<init>(Node.java:257) ~[elasticsearch-7.6.1.jar:7.6.1]
  78. at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:221) ~[elasticsearch-7.6.1.jar:7.6.1]
  79. at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.1.jar:7.6.1]
  80. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) [elasticsearch-7.6.1.jar:7.6.1]
  81. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) [elasticsearch-7.6.1.jar:7.6.1]
  82. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) [elasticsearch-7.6.1.jar:7.6.1]
  83. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.6.1.jar:7.6.1]
  84. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) [elasticsearch-cli-7.6.1.jar:7.6.1]
  85. at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.6.1.jar:7.6.1]
  86. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) [elasticsearch-7.6.1.jar:7.6.1]
  87. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.6.1.jar:7.6.1]
  88. [2020-03-05T15:34:12,076][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [server1] uncaught exception in thread [main]
  89. 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].]
  90. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[elasticsearch-7.6.1.jar:7.6.1]
  91. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.6.1.jar:7.6.1]
  92. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.6.1.jar:7.6.1]
  93. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125) ~[elasticsearch-cli-7.6.1.jar:7.6.1]
  94. at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.6.1.jar:7.6.1]
  95. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.6.1.jar:7.6.1]
  96. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.6.1.jar:7.6.1]
  97. 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].
  98. at org.elasticsearch.xpack.ml.MachineLearning.createComponents(MachineLearning.java:587) ~[?:?]
  99. at org.elasticsearch.node.Node.lambda$new$9(Node.java:456) ~[elasticsearch-7.6.1.jar:7.6.1]
  100. at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ~[?:?]
  101. at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1621) ~[?:?]
  102. at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
  103. at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
  104. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
  105. at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
  106. at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ~[?:?]
  107. at org.elasticsearch.node.Node.<init>(Node.java:459) ~[elasticsearch-7.6.1.jar:7.6.1]
  108. at org.elasticsearch.node.Node.<init>(Node.java:257) ~[elasticsearch-7.6.1.jar:7.6.1]
  109. at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:221) ~[elasticsearch-7.6.1.jar:7.6.1]
  110. at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.6.1.jar:7.6.1]
  111. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) ~[elasticsearch-7.6.1.jar:7.6.1]
  112. 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