"unable to start elasticsearch"

(Satish Kumar Yadav) #1

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 .

(Christoph) #2

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

(system) #3

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