Node.max_local_storage_nodes error ruuning elasticsearch

i installed elasticsearch5.5.0 ,i did run it and evrything was ok i did't change anything about its configuration but i rerun it and something is wrong ,this error apeared to me ,i don(t know how to fix it

[WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to obtain node locks, tried [[/opt/elasticsearch-5.5.0/data/elasticsearch]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?

i know it's a warn but it stops elasticsearch from running
i changed the node.max_local_storage_nodes in elasticsearch.yml ,i tryed to put it 3 but teh same error reappeared

please any help !!!

You already have an elasticsearch instance running more likely.

2 Likes

thank you , i figured out infact ,i killed the process java then it worked

2 Likes

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