"unable to start elasticsearch"

error /usr/share/elasticsearch/bin/elasticsearch-env: line 70: /etc/default/elasticsearch: Permission denied

Note : Line 70 is "source /etc/default/elasticsearch " in elasticsearch-env

ls -dl /etc/default/
drw-r--r-- 2 root root 4096 Jun 21 11:52 /etc/default/

ls -l /etc/default/elasticsearch
-rw-r--r-- 1 elasticsearch elasticsearch 101 Jun 21 11:52 /etc/default/elasticsearch

but when i am giving chown o+x /etc/default/ it start working .

Might be this issue https://github.com/elastic/ansible-elasticsearch/issues/424 which seems to be fixed in 6.2.2?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.