failed to obtain node locks, tried [[/usr/local/elasticsearch-6.3.2/data/my-application]] with lock

failed to obtain node locks, tried [[/usr/local/elasticsearch-6.3.2/data/my-application]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?

 

原因是已经有一个elastic进程在启动了   杀掉重启即可

 

ps aux | grep elasticsearch

 

kill - 9 进程ID

你可能感兴趣的:(Linux)