I am new to ElasticSearch, I tried to create a new VM with version 5.2 of ES. I did so with an rpm file.
After all the process i try to start ES by "service elasticsearch start" and it works fine!
After checking status for a few second i get a result as following:
I have JRE 1.8.0_112 and did not change any config. except the name of the host and port number.
Thanks for the notice will try not to post them,
Now I found the logs and found this (didnt know how to open logs until now):
"[2017-02-12T10:24:34,155][WARN ][o.e.b.BootstrapChecks ] [mNBvEp6] max number of threads [1024] for user [elasticsearch] is too low, increase to at least [2048]
[2017-02-12T10:24:34,156][WARN ][o.e.b.BootstrapChecks ] [mNBvEp6] system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk"
After a check on the net I got this option:
"When using the RPM or Debian packages on systems that use systemd, system limits must be specified via systemd.
The systemd service file (/usr/lib/systemd/system/elasticsearch.service) contains the limits that are applied by default.
To override these, add a file called /etc/systemd/system/elasticsearch.service.d/elasticsearch.conf and specify any changes in that file, such as:
Actually I did a dumb mistake... I dont have systemd at all since I am working on CentOs 6...
On CentOs 6 i saw that I have to set bootstrap.memory_lock: to false, but also this crashes ElasticSearch and gives me:
system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
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.