Modify the elasticsearch.yml configuration file to allow external network access.
vim config/elasticsearch.yml
# add
network.host: 0.0.0.0
Start failed, check did not pass, report error
[2018-05-18T17:44:59,658][INFO ][o.e.b.BootstrapChecks ] [gFOuNlS] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [2] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[1]: max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
Edit /etc/security/limits.conf and add the following content;
* soft nofile 65536
* hard nofile 65536 After
this file is modified, you need to log in to the user again to take effect
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Edit /etc/sysctl.conf and add the following content:
vm.max_map_count=655360
After saving, execute:
sysctl -p
Restart, success.
bin/elasticsearch
Read More:
- [Solved] Elasticsearch 7.10 Startup Error: bootstrap checks failed
- [Solved] Elasticsearch-7.2.1 startup error: ERROR: [1] bootstrap checks failed
- ES Startup error: ERROR: [2] bootstrap checks failed
- [Solved] Elasticsearch.service failed after enable elasticsearch security features
- How to Solve elasticsearch-7.15.1 operation errors
- [Solved] ElasticSearch Startup Error: error updating geoip database
- [Solved] Zabbix Error: Cannot parse list of active checks
- [Solved] elasticsearch Error: Failed: 1: this action would add [6] total shards, but this cluster currently has [2
- [Solved] Mycat Startup Error: ERROR Startup failed: Timed out waiting for a signal from the JVM
- How to Solve bootstrap.sh error during the construction of fabric environment
- [Solved] Elasticsearch error: cannot downgrade a node from version [7.xx.x] to version [7.xx.x]
- bazel Compile Error: absl/base/policy_checks.h:79:2: error: #error “C++ versions less than C++14 are not supported.”
- [Solved] JIRA startup error: JIRA startup failed, JIRA has been locked.
- How to Solve elasticsearch root user start Error
- [Elasticsearch Exception]Found interface org.elasticsearch.common.bytes.BytesReference
- [Solved] Elasticsearch Error: received plaintext http traffic on an https channel, closing connection…
- Elasticsearch 6.2.3 version executes aggregation error Fielddata is disabled on text fields by default
- How to Solve elasticSearch8.1.2 Install Error in Win10
- NFS startup error: restart failed [How to Solve]
- [Solved] Python Connect to ES Error: elasticsearch.ApiError: ApiError(406