启动Elasticsearch服务,提示如下错误信息:maybe these locations are not writable or multiple nodes were started

解决

后台已经启动了一个es进程

  1. 查看后台es进程号
ps -ef | grep elasticsearch
  1. 杀掉es进程
kill -9 进程号
  1. 重启es
./elasticsearch -d

不加-d 可以看到启动过程

  1. 测试是否启动成功
curl http://localhost:9200

返回数据表示成功

猜你喜欢

转载自blog.csdn.net/weixin_42043407/article/details/116148797