Elasticsearch won\'t start using ./bin/elasticsearch. It raises the following exception:
./bin/elasticsearch
- ElasticsearchIllegalStateException[Failed to obtain n
the reason is another instance is running! first find the id of running elastic.
ps aux | grep 'elastic'
then kill using kill -9 . There were some answers to remove node.lock file but that didn't help since the running instance will make it again!
kill -9