(I am new to elasticsearch)
I want to start elastic search as a service (sudo service elasticsearch start), but it wont start, and not tell anything about why it wont start either, just says -
Starting Elasticsearch Server [fail]
I tried following changes without success!
Changed
es.logger.level: INFO to es.logger.level: DEBUG and es.logger.level: TRACE
respectively without seeing anything in the log files in var/log/elasticsearch!Added
ES_HEAP_SIZE= 1024 and ES_HEAP_SIZE= 512
respectively inusr/share/elasticsearch/bin/elasticsearch
text file, still -
Starting Elasticsearch Server [fail]
I have not tried changing anything in the configuration file at etc/elasticsearch/elasticsearch.yml
- is it required to change the settings of this file to make elasticsearch work as a service in ubuntu?