the fourth last logging line states that you should refer to the log for complete error details. Have you checked the elasticsearch log in /var/log/elasticsearch? Is there any additional info available that might help to debug this issue further?
ok, then it is likely that using journalctl you can get far more information than just the few lines above... can you try using it? You can also run journalctl -f (IIRC) and then try to start Elasticsearch.
I was finally able to get this information from the logs
Aug 05 15:52:13 ctl elasticsearch[22288]: Exception in thread "main" org.elasticsearch.bootstrap.BootstrapException: org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource BufferedChecksumIndexInput(SimpleFSIndexInput(path="/etc/elasticsearch/elasticsearch.keystore"))): 3 (needs to be between 1 and 2)
I deleted and recreated the keystore file and now receive the following from
service elasticsearch status
Aug 05 16:24:21 ctl systemd[1]: Starting Elasticsearch...
Aug 05 16:24:21 ctl systemd[1]: Started Elasticsearch.
Aug 05 16:24:26 ctl systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Aug 05 16:24:26 ctl systemd[1]: Unit elasticsearch.service entered failed state.
Aug 05 16:24:26 ctl systemd[1]: elasticsearch.service failed.
There is nothing in the elasticsearch.log file nor anything pointing to the error using journalctl
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.