I have just installed elasticsearch 5.5.0 using RPM and I am not able to start the services, here is all the details, also I have uploaded the yml file.
[root@xxxxxx]# systemctl status elasticsearch.service
I have tried all documents step but no luck. receiving below error in #journalctl --unit elasticsearch
Mar 24 17:44:31 xxx.net systemd[1]: Starting Elasticsearch...
Mar 24 17:44:31 xxx.net systemd[1]: elasticsearch.service: control process exited, code=exited status=203
Mar 24 17:44:31 xxx.net systemd[1]: Failed to start Elasticsearch.
Mar 24 17:44:31 xxx.net systemd[1]: Unit elasticsearch.service entered failed state.
Mar 24 17:44:31 xxx.net systemd[1]: elasticsearch.service failed.
Please don't post unformatted code, logs, or configuration as it's very hard to read.
Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.
It would be great if you could update your post to solve this.
Application is not generating any logs. Journalctl -xe gives me below error.
Mar 25 15:55:40 xxxx.net systemd[4753]: Failed at step EXEC spawning /usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec: Permission Denied
Mar 25 15:55:40 xxxx.net systemd[1]: elasticsearch.service: control process exited, code=exited statu
Mar 25 15:55:40 xxxx.net systemd[1]: Failed to start Elasticsearch.
Mar 25 15:55:40 xxxx.net systemd[1]: Unit elasticsearch.service entered failed state.
Mar 25 15:55:40 xxxx.net systemd[1]: elasticsearch.service failed.
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.