We recently tried to upgrade Elasticsearch from 6.1-6.3 and we ran into an issue starting the service.
We got the error " Starting elasticsearch: /usr/share/elasticsearch/bin/elasticsearch-env: line 70: /etc/sysconfig/elasticsearch: Permission denied
[FAILED]"
It seems from some research that this was a common issue but there seems to be no fix for this. Any idea what can be causing this. We had to revert the upgrade since we were unable to to start the service. Any help would be greatly appreciated.
the issue lied in the elasticsearch-env bash script under /usr/share/elasticsearch/bin/ .... The script contaned source /etc/sysconfig/elasticsearch rather than do an " if " statement like it was in 6.1. We changed this to match 6.1 and it started no problem.
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.