Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mtops@localhost logs]$ cat elasticsearch.log
- [2016-11-07T09:13:42,501][ERROR][o.e.b.Bootstrap ] Exception
- java.lang.RuntimeException: can not run elasticsearch as root
- at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:96) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:155) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) [elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) [elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:103) [elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) [elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) [elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.cli.Command.main(Command.java:62) [elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) [elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) [elasticsearch-5.0.0.jar:5.0.0]
- [2016-11-07T09:13:42,642][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
- org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:116) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:103) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.cli.Command.main(Command.java:62) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-5.0.0.jar:5.0.0]
- Caused by: java.lang.RuntimeException: can not run elasticsearch as root
- at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:96) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:155) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286) ~[elasticsearch-5.0.0.jar:5.0.0]
- at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:112) ~[elasticsearch-5.0.0.jar:5.0.0]
- ... 6 more
- [2016-11-07T09:16:26,613][INFO ][o.e.n.Node ] [] initializing ...
- [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]
- [2016-11-07T09:16:27,534][INFO ][o.e.e.NodeEnvironment ] [gRVH-wV] heap size [1.9gb], compressed ordinary object pointers [true]
- [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
- [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]
- [2016-11-07T09:16:32,827][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [aggs-matrix-stats]
- [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [ingest-common]
- [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-expression]
- [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-groovy]
- [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-mustache]
- [2016-11-07T09:16:32,829][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-painless]
- [2016-11-07T09:16:32,830][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [percolator]
- [2016-11-07T09:16:32,830][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [reindex]
- [2016-11-07T09:16:32,830][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [transport-netty3]
- [2016-11-07T09:16:32,830][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [transport-netty4]
- [2016-11-07T09:16:32,831][INFO ][o.e.p.PluginsService ] [gRVH-wV] no plugins loaded
- [2016-11-07T09:16:39,070][INFO ][o.e.n.Node ] [gRVH-wV] initialized
- [2016-11-07T09:16:39,078][INFO ][o.e.n.Node ] [gRVH-wV] starting ...
- [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}
- [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
- [2016-11-07T09:16:39,754][ERROR][o.e.b.Bootstrap ] [gRVH-wV] node validation exception
- bootstrap checks failed
- max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
- [2016-11-07T09:16:39,772][INFO ][o.e.n.Node ] [gRVH-wV] stopping ...
- [2016-11-07T09:16:39,878][INFO ][o.e.n.Node ] [gRVH-wV] stopped
- [2016-11-07T09:16:39,878][INFO ][o.e.n.Node ] [gRVH-wV] closing ...
- [2016-11-07T09:16:39,896][INFO ][o.e.n.Node ] [gRVH-wV] closed
- [2016-11-07T10:00:53,278][INFO ][o.e.n.Node ] [] initializing ...
- [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]
- [2016-11-07T10:00:53,783][INFO ][o.e.e.NodeEnvironment ] [gRVH-wV] heap size [1.9gb], compressed ordinary object pointers [true]
- [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
- [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]
- [2016-11-07T10:00:58,477][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [aggs-matrix-stats]
- [2016-11-07T10:00:58,477][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [ingest-common]
- [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-expression]
- [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-groovy]
- [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-mustache]
- [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [lang-painless]
- [2016-11-07T10:00:58,478][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [percolator]
- [2016-11-07T10:00:58,479][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [reindex]
- [2016-11-07T10:00:58,479][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [transport-netty3]
- [2016-11-07T10:00:58,479][INFO ][o.e.p.PluginsService ] [gRVH-wV] loaded module [transport-netty4]
- [2016-11-07T10:00:58,480][INFO ][o.e.p.PluginsService ] [gRVH-wV] no plugins loaded
- [2016-11-07T10:01:05,720][INFO ][o.e.n.Node ] [gRVH-wV] initialized
- [2016-11-07T10:01:05,720][INFO ][o.e.n.Node ] [gRVH-wV] starting ...
- [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}
- [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
- [2016-11-07T10:01:06,107][ERROR][o.e.b.Bootstrap ] [gRVH-wV] node validation exception
- bootstrap checks failed
- max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
- [2016-11-07T10:01:06,113][INFO ][o.e.n.Node ] [gRVH-wV] stopping ...
- [2016-11-07T10:01:06,164][INFO ][o.e.n.Node ] [gRVH-wV] stopped
- [2016-11-07T10:01:06,165][INFO ][o.e.n.Node ] [gRVH-wV] closing ...
- [2016-11-07T10:01:06,183][INFO ][o.e.n.Node ] [gRVH-wV] closed
- [mtops@localhost logs]$
Advertisement
Add Comment
Please, Sign In to add comment