Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker run error #124

Closed
choman opened this issue Mar 23, 2017 · 2 comments
Closed

docker run error #124

choman opened this issue Mar 23, 2017 · 2 comments

Comments

@choman
Copy link

choman commented Mar 23, 2017

I hope you can help me through this rather quickly. the docker build process seems to go without issue
however during the docker run I receive this error

my build command: docker build -t elk .
my run command: docker run --restart always -p 5601:5601 -p 9200:9200
-p 5044:5044 -p 5000:5000 -it --name elk elk

 * Starting periodic command scheduler cron                                                          [ OK ] 
 * Starting Elasticsearch Server                                                                     [ OK ] 
waiting for Elasticsearch to be up (1/30)
waiting for Elasticsearch to be up (2/30)
waiting for Elasticsearch to be up (3/30)
...
waiting for Elasticsearch to be up (28/30)
waiting for Elasticsearch to be up (29/30)
waiting for Elasticsearch to be up (30/30)
Couln't start Elasticsearch. Exiting.
Elasticsearch log follows below.
[2017-03-23T23:30:01,715][INFO ][o.e.n.Node               ] [] initializing ...
[2017-03-23T23:30:01,805][INFO ][o.e.e.NodeEnvironment    ] [7Hh0wFl] using [1] data paths, mounts [[/var/lib/elasticsearch (/dev/sda1)]], net usable_space [15gb], net total_space [23.4gb], spins? [possibly], types [ext4]
[2017-03-23T23:30:01,806][INFO ][o.e.e.NodeEnvironment    ] [7Hh0wFl] heap size [1.9gb], compressed ordinary object pointers [true]
[2017-03-23T23:30:01,808][INFO ][o.e.n.Node               ] node name [7Hh0wFl] derived from node ID [7Hh0wFlkSHeEeB7QQRn4UA]; set [node.name] to override
[2017-03-23T23:30:01,810][INFO ][o.e.n.Node               ] version[5.2.1], pid[64], build[db0d481/2017-02-09T22:05:32.386Z], OS[Linux/4.8.0-41-generic/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_121/25.121-b13]
[2017-03-23T23:30:02,906][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [aggs-matrix-stats]
[2017-03-23T23:30:02,906][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [ingest-common]
[2017-03-23T23:30:02,906][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [lang-expression]
[2017-03-23T23:30:02,907][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [lang-groovy]
[2017-03-23T23:30:02,907][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [lang-mustache]
[2017-03-23T23:30:02,907][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [lang-painless]
[2017-03-23T23:30:02,907][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [percolator]
[2017-03-23T23:30:02,907][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [reindex]
[2017-03-23T23:30:02,907][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [transport-netty3]
[2017-03-23T23:30:02,907][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] loaded module [transport-netty4]
[2017-03-23T23:30:02,908][INFO ][o.e.p.PluginsService     ] [7Hh0wFl] no plugins loaded
[2017-03-23T23:30:05,620][INFO ][o.e.n.Node               ] initialized
[2017-03-23T23:30:05,620][INFO ][o.e.n.Node               ] [7Hh0wFl] starting ...
[2017-03-23T23:30:05,701][WARN ][i.n.u.i.MacAddressUtil   ] Failed to find a usable hardware address from the network interfaces; using random bytes: bf:04:56:7b:4e:d6:1e:47
[2017-03-23T23:30:05,775][INFO ][o.e.t.TransportService   ] [7Hh0wFl] publish_address {172.17.0.3:9300}, bound_addresses {[::]:9300}
[2017-03-23T23:30:05,783][INFO ][o.e.b.BootstrapChecks    ] [7Hh0wFl] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
[2017-03-23T23:30:05,786][ERROR][o.e.b.Bootstrap          ] [7Hh0wFl] node validation exception
bootstrap checks failed
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2017-03-23T23:30:05,790][INFO ][o.e.n.Node               ] [7Hh0wFl] stopping ...
[2017-03-23T23:30:05,855][INFO ][o.e.n.Node               ] [7Hh0wFl] stopped
[2017-03-23T23:30:05,856][INFO ][o.e.n.Node               ] [7Hh0wFl] closing ...
[2017-03-23T23:30:05,875][INFO ][o.e.n.Node               ] [7Hh0wFl] closed
@spujadas
Copy link
Owner

See http://elk-docker.readthedocs.io/#troubleshooting on increasing vm.max_map_count (dup. of #79, #89, #92, #99, #113, #118).

@choman
Copy link
Author

choman commented Mar 24, 2017

Thanks for the reference pointers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants