Answers for "["org.elasticsearch.bootstrap.startupexception: java.lang.illegalstateexception: failed to obtain node locks,"

0

["org.elasticsearch.bootstrap.startupexception: java.lang.illegalstateexception: failed to obtain node locks,

sudo chown 1000:1000 <directory you wish to mount>
# With docker
sudo chown 1000:1000 /data/elasticsearch/ 
OR
# With VM
sudo chown elasticsearch:elasticsearch /data/elasticsearch/
Posted by: Guest on February-24-2021

Code answers related to "["org.elasticsearch.bootstrap.startupexception: java.lang.illegalstateexception: failed to obtain node locks,"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language