Hi, everyone I'm trying to install elasticsearch 1.2.1 on a ubuntu 14.04 server.
I used the dpkg -i to install When I run 'sudo /etc/init.d/elasticsearch start', it says: "Starting Elasticsearch Server [ OK ]", but actually no process is ever started, and I couldn't find any errors or any logs in the log folder( /var/log/elasticsearch). I tried to run 'sudo /usr/share/elasticsearch/bin/elasticsearch start' directly, and it is able to start and i can get response when using curl, although it gives me the following warnning: log4j:WARN No appenders could be found for logger (node). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. I tried to edit settings in /etc/default/elasticsearch, uncommented the following lines: ES_HEAP_SIZE=2g MAX_LOCKED_MEMORY=unlimited # Elasticsearch log directory LOG_DIR=/var/log/elasticsearch # Elasticsearch data directory DATA_DIR=/home/data/elasticsearch # Elasticsearch work directory WORK_DIR=/home/tmp/elasticsearch # Elasticsearch configuration directory CONF_DIR=/etc/elasticsearch # Elasticsearch configuration file (elasticsearch.yml) CONF_FILE=/etc/elasticsearch/elasticsearch.yml When restart the service, I did see it created the folder, but still failed to run, even thought it says 'OK' Could anyone help me to figure out why and how to run it? Thanks -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5c4e3f7c-57d6-4932-bbe6-57aa5014f7c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
