Guest User

Untitled

a guest
Nov 7th, 2016
502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.89 KB | None | 0 0
  1. [mtops@localhost logs]$ cat elasticsearch.log
  2. [2016-11-07T09:13:42,501][ERROR][o.e.b.Bootstrap ] Exception
  3. java.lang.RuntimeException: can not run elasticsearch as root
  4. at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:96) ~[elasticsearch-5.0.0.jar:5.0.0]
  5. at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:155) ~[elasticsearch-5.0.0.jar:5.0.0]
  6. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) [elasticsearch-5.0.0.jar:5.0.0]
  7. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) [elasticsearch-5.0.0.jar:5.0.0]
  8. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:103) [elasticsearch-5.0.0.jar:5.0.0]
  9. at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) [elasticsearch-5.0.0.jar:5.0.0]
  10. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) [elasticsearch-5.0.0.jar:5.0.0]
  11. at org.elasticsearch.cli.Command.main(Command.java:62) [elasticsearch-5.0.0.jar:5.0.0]
  12. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) [elasticsearch-5.0.0.jar:5.0.0]
  13. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) [elasticsearch-5.0.0.jar:5.0.0]
  14. [2016-11-07T09:13:42,642][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
  15. org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root
  16. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:116) ~[elasticsearch-5.0.0.jar:5.0.0]
  17. at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:103) ~[elasticsearch-5.0.0.jar:5.0.0]
  18. at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) ~[elasticsearch-5.0.0.jar:5.0.0]
  19. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) ~[elasticsearch-5.0.0.jar:5.0.0]
  20. at org.elasticsearch.cli.Command.main(Command.java:62) ~[elasticsearch-5.0.0.jar:5.0.0]
  21. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) ~[elasticsearch-5.0.0.jar:5.0.0]
  22. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-5.0.0.jar:5.0.0]
  23. Caused by: java.lang.RuntimeException: can not run elasticsearch as root
  24. at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:96) ~[elasticsearch-5.0.0.jar:5.0.0]
  25. at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:155) ~[elasticsearch-5.0.0.jar:5.0.0]
  26. at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) ~[elasticsearch-5.0.0.jar:5.0.0]
  27. at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) ~[elasticsearch-5.0.0.jar:5.0.0]
  28. ... 6 more
  29. [2016-11-07T09:16:26,613][INFO ][o.e.n.Node ] [] initializing ...
  30. [2016-11-07T09:16:27,533][INFO ][o.e.e.NodeEnvironment ] [gRVH-wV] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [44.5gb], net total_space [47.4gb], spins? [unknown], types [rootfs]
  31. [2016-11-07T09:16:27,534][INFO ][o.e.e.NodeEnvironment ] [gRVH-wV] heap size [1.9gb], compressed ordinary object pointers [true]
  32. [2016-11-07T09:16:27,537][INFO ][o.e.n.Node ] [gRVH-wV] node name [gRVH-wV] derived from node ID; set [node.name] to override
  33. [2016-11-07T09:16:27,559][INFO ][o.e.n.Node ] [gRVH-wV] version[5.0.0], pid[5466], build[253032b/2016-10-26T04:37:51.531Z], OS[Linux/3.10.0-327.36.2.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_111/25.111-b14]
  34. [2016-11-07T09:16:32,827][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [aggs-matrix-stats]
  35. [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [ingest-common]
  36. [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-expression]
  37. [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-groovy]
  38. [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-mustache]
  39. [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-painless]
  40. [2016-11-07T09:16:32,830][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [percolator]
  41. [2016-11-07T09:16:32,830][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [reindex]
  42. [2016-11-07T09:16:32,830][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [transport-netty3]
  43. [2016-11-07T09:16:32,830][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [transport-netty4]
  44. [2016-11-07T09:16:32,831][INFO ][o.e.p.PluginsService ] [gRVH-wV] no plugins loaded
  45. [2016-11-07T09:16:39,070][INFO ][o.e.n.Node ] [gRVH-wV] initialized
  46. [2016-11-07T09:16:39,078][INFO ][o.e.n.Node ] [gRVH-wV] starting ...
  47. [2016-11-07T09:16:39,740][INFO ][o.e.t.TransportService ] [gRVH-wV] publish_address {10.0.20.178:9300}, bound_addresses {10.0.20.178:9300}
  48. [2016-11-07T09:16:39,748][INFO ][o.e.b.BootstrapCheck ] [gRVH-wV] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
  49. [2016-11-07T09:16:39,754][ERROR][o.e.b.Bootstrap ] [gRVH-wV] node validation exception
  50. bootstrap checks failed
  51. max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
  52. [2016-11-07T09:16:39,772][INFO ][o.e.n.Node ] [gRVH-wV] stopping ...
  53. [2016-11-07T09:16:39,878][INFO ][o.e.n.Node ] [gRVH-wV] stopped
  54. [2016-11-07T09:16:39,878][INFO ][o.e.n.Node ] [gRVH-wV] closing ...
  55. [2016-11-07T09:16:39,896][INFO ][o.e.n.Node ] [gRVH-wV] closed
  56. [2016-11-07T10:00:53,278][INFO ][o.e.n.Node ] [] initializing ...
  57. [2016-11-07T10:00:53,782][INFO ][o.e.e.NodeEnvironment ] [gRVH-wV] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [44.5gb], net total_space [47.4gb], spins? [unknown], types [rootfs]
  58. [2016-11-07T10:00:53,783][INFO ][o.e.e.NodeEnvironment ] [gRVH-wV] heap size [1.9gb], compressed ordinary object pointers [true]
  59. [2016-11-07T10:00:53,786][INFO ][o.e.n.Node ] [gRVH-wV] node name [gRVH-wV] derived from node ID; set [node.name] to override
  60. [2016-11-07T10:00:53,833][INFO ][o.e.n.Node ] [gRVH-wV] version[5.0.0], pid[5546], build[253032b/2016-10-26T04:37:51.531Z], OS[Linux/3.10.0-327.36.2.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_111/25.111-b14]
  61. [2016-11-07T10:00:58,477][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [aggs-matrix-stats]
  62. [2016-11-07T10:00:58,477][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [ingest-common]
  63. [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-expression]
  64. [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-groovy]
  65. [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-mustache]
  66. [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-painless]
  67. [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [percolator]
  68. [2016-11-07T10:00:58,479][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [reindex]
  69. [2016-11-07T10:00:58,479][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [transport-netty3]
  70. [2016-11-07T10:00:58,479][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [transport-netty4]
  71. [2016-11-07T10:00:58,480][INFO ][o.e.p.PluginsService ] [gRVH-wV] no plugins loaded
  72. [2016-11-07T10:01:05,720][INFO ][o.e.n.Node ] [gRVH-wV] initialized
  73. [2016-11-07T10:01:05,720][INFO ][o.e.n.Node ] [gRVH-wV] starting ...
  74. [2016-11-07T10:01:06,094][INFO ][o.e.t.TransportService ] [gRVH-wV] publish_address {10.0.20.178:9300}, bound_addresses {10.0.20.178:9300}
  75. [2016-11-07T10:01:06,102][INFO ][o.e.b.BootstrapCheck ] [gRVH-wV] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
  76. [2016-11-07T10:01:06,107][ERROR][o.e.b.Bootstrap ] [gRVH-wV] node validation exception
  77. bootstrap checks failed
  78. max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
  79. [2016-11-07T10:01:06,113][INFO ][o.e.n.Node ] [gRVH-wV] stopping ...
  80. [2016-11-07T10:01:06,164][INFO ][o.e.n.Node ] [gRVH-wV] stopped
  81. [2016-11-07T10:01:06,165][INFO ][o.e.n.Node ] [gRVH-wV] closing ...
  82. [2016-11-07T10:01:06,183][INFO ][o.e.n.Node ] [gRVH-wV] closed
  83. [mtops@localhost logs]$
Advertisement
Add Comment
Please, Sign In to add comment