Listen on all interfaces(wirecard) fail

Hi,
I want to run elastic to listen on all interfaces.
I changed one config

network.host: 0.0.0.0

And get this error

[2016-12-10T18:38:47,511][INFO ][o.e.n.Node ] [1cpgZVE] starting ...
[2016-12-10T18:38:47,684][INFO ][o.e.t.TransportService ] [1cpgZVE] publish_address {173.24.21.81:9300}, bound_addresses {0.0.0.0:9300}
[2016-12-10T18:38:47,688][INFO ][o.e.b.BootstrapCheck ] [1cpgZVE] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: bootstrap checks failed

I've done this on old versions and everything was ok.
Im running ubuntu 14.04.5
Java version : 7

Elastic search starts if I comment this line 'network.host: 0.0.0.0'

Please help on this.

Thanks in advance.

ERROR: bootstrap checks failed

You need to read the log line that immediately follows this log line and consult the bootstrap check documentation if you need further guidance.

so full log is here

[2016-12-10T20:48:21,476][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [ingest-common]
[2016-12-10T20:48:21,476][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [lang-expression]
[2016-12-10T20:48:21,476][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [lang-groovy]
[2016-12-10T20:48:21,476][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [lang-mustache]
[2016-12-10T20:48:21,476][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [lang-painless]
[2016-12-10T20:48:21,476][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [percolator]
[2016-12-10T20:48:21,477][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [reindex]
[2016-12-10T20:48:21,477][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [transport-netty3]
[2016-12-10T20:48:21,477][INFO ][o.e.p.PluginsService ] [1cpgZVE] loaded module [transport-netty4]
[2016-12-10T20:48:21,477][INFO ][o.e.p.PluginsService ] [1cpgZVE] no plugins loaded
[2016-12-10T20:48:23,112][INFO ][o.e.n.Node ] initialized
[2016-12-10T20:48:23,112][INFO ][o.e.n.Node ] [1cpgZVE] starting ...
[2016-12-10T20:48:23,287][INFO ][o.e.t.TransportService ] [1cpgZVE] publish_address {173.24.21.89:9300}, bound_addresses {0.0.0.0:9300}
[2016-12-10T20:48:23,292][INFO ][o.e.b.BootstrapCheck ] [1cpgZVE] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: bootstrap checks failed
max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
[2016-12-10T20:48:23,298][INFO ][o.e.n.Node ] [1cpgZVE] stopping ...
[2016-12-10T20:48:23,323][INFO ][o.e.n.Node ] [1cpgZVE] stopped
[2016-12-10T20:48:23,323][INFO ][o.e.n.Node ] [1cpgZVE] closing ...
[2016-12-10T20:48:23,331][INFO ][o.e.n.Node ] [1cpgZVE] closed

Fix that

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

The think is that is not taking from system

root@ny-log2:~# cat /etc/security/limits.d/ELK.conf
elasticsearch soft nofile 1000000
elasticsearch hard nofile 1000000
root@ny-log2:~# su - elasticsearch
elasticsearch@ny-log2:/$ ulimit -n
100000

But i get same error

Not a ops guy here so I can't really tell.
Just recommending to carefully read https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html in case it helps.

Sorry fixed thank you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.