I am trying to run Elasticsearch 5.4.0 on CentOS 7 on VM
in elasticsearch.yml i have added the below line
network.host: ["192.168.X.Y", "localhost"]
The above IP address belongs to VM not of host OS, without adding the above line it starts fine.
After adding the above link Elasticsearch is not starting and giving the below error.
[2017-05-26T18:06:59,848][INFO ][o.e.t.TransportService ] [node_uat_master] publish_address {192.168.X.Y:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}, {192.168.X.Y:9300}
[2017-05-26T18:06:59,865][INFO ][o.e.b.BootstrapChecks ] [node_uat_master] 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]
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Increase these params on OS and it resolve your problema
max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.