Elasticsearch won\'t start using ./bin/elasticsearch. It raises the following exception:
./bin/elasticsearch
- ElasticsearchIllegalStateException[Failed to obtain n
I had an another ElasticSearch running on the same machine.
Command to check : netstat -nlp | grep 9200 (9200 - Elastic Port) Result : tcp 0 0 :::9210 :::* LISTEN 27462/java
Kill the process by, kill -9 27462 27462 - PID of ElasticSearch instance
Start the elastic search and it may run now.