Hello,
I am using the ES 5.5 reference guide to install ElasticSearch on RHEL 7. The issue I have is when I start the elasticsearch service it show success, but checking the service status shows failure.
When I run the command the service itself is running, /usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=/etc/elasticsearch, it fails to resolve the environment variables.
If I manually change the variables to the actual paths, it will start, but then it begins giving errors about the log4j2 paths, which I believe is also an issue with the environment variables not being read. I have tried exporting the variables above, as well as adding them to /etc/environment, but nothing helps.
Any ideas? Thanks in advance