Getting the following systemd log entries when attempting to start ElasticSearch:
Dec 22 21:57:42 mydomain.com systemd[1]: Starting Elasticsearch...
Dec 22 21:57:42 mydomain.com systemd[1]: Started Elasticsearch.
Dec 22 21:57:54 mydomain.com systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Dec 22 21:57:54 mydomain.com systemd[1]: Unit elasticsearch.service entered failed state.
Dec 22 21:57:54 mydomain.com systemd[1]: elasticsearch.service failed.
how do I debug this to figure out what is causing the problem?
I was able to figure out the problem in my case. I was installing the eDirectory platform (edirectory.com), which calls for ElasticSearch, but I accidentally installed a newer version of ES that isn't yet supported by eDirectory, and when I uninstalled the newer ES and installed the older version, the /var/tmp/elasticsearch folder was giving me trouble. I was able to solve the problem by uninstalling ES, deleting the folder, and reinstalling.
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.