Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 centos6.X....(rpm) 中安装了 elasticsearch,但是 service elasticsearch start 命令出现错误
如何解决这个问题
我的 Java 版本 1.7.0 我的弹性搜索版本 2.3.3
在此处输入图像描述
您对 /var/lib/elasticsearch 文件夹有权限问题。Elasticsearch 无法写入此文件夹。您需要重新检查弹性搜索在哪个用户下工作:
ps aux | grep elasticsearch
和他的权限:
ls -lah /var/lib/elasticsearch