Skip to content
Advertisement

ElasticSearch – Failed to obtain node locks

I have a single node ElasticSearch Cluster in local. I am unable to start elasticsearch service. Getting this error:

JavaScript

I have tried the answers of this and this post but couldn’t resolve. OS: RedHat 7.5

  1. All directories in elasticsearch have write permission
  2. There is no other elastic instance running , I have confirmed through ps -ef | grep java

Please help to resolve this.

Advertisement

Answer

Deleted the data folder and rebooted my machine. Now it is working.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement