External Access Failed

Hello, Experts.

I can't add network.host data or network.bind_host.
When I add below line, elasticsearch occur error.

How can I solve it?

This is my process,

1. Add line in elasticsearch.yml

network.host: 0.0.0.0
or
network.bind_host: 0.0.0.0

2. restart elasticsearch

sudo -i service elasticsearch restart
or
/etc/init.d/elasticsearch restart

3. status check

sudo -i service elasticsearch status
or
/etc/init.d/elasticsearch status

4. Occur Error
elasticsearch dead but subsys locked

The logs will probably tell you something.

And I'm pretty sure it's related to Bootstrap checks. https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html

Thanks, I'll check now.

Thanks a lot.

I was checked 3 Bootstraps problems.

how to solve it?

[3] bootstrap checks failed
[1]: memory locking requested for elasticsearch process but memory is not locked
[2]: max number of threads [1024] for user [elasticsearch] is too low, increase to at least [4096]
[3]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk

Pro.1
I was set like this for [1]

bootstrap.memory_lock: true

already I set memory_lock true

Pro.2
I was check like this for [2]

ulimit -u
4096

already threads are over the 4096

Pro.3
What am i need to check for ?

How to Solve these problems?

https://www.elastic.co/guide/en/elasticsearch/reference/6.1/_system_call_filter_check.html

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