这是我的elasticsearch.yml
cluster.name: cluster
node.name: esn1
path.conf: "/etc/elasticsearch"
path.data: "/var/lib/elasticsearch"
path.logs: "/var/log/elasticsearch"
network.host: 0.0.0.0
http.port: 9201
bootstrap.memory_lock: false
discovery.zen.minimum_master_nodes: 1
xpack.monitoring.enabled: false
xpack.graph.enabled: false
xpack.watcher.enabled: false我还安装了x-pack
# sudo /usr/share/elasticsearch/bin/elasticsearch-plugin list
repository-s3
x-pack尽管如此:
curl -XPUT 'http://localhost:9200/_xpack/security/user/elastic/_password' -d '
> {
> "password": "L5ngDgtl00?"
> }
> '
No handler found for uri [/_xpack/security/user/elastic/_password] and method [PUT][有什么想法吗?
发布于 2017-02-22 00:47:59
您就快到了,但是我猜您在curl的命令中犯了一些错误。缺少-u弹性选项。
查看此处:https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html
此外,请尝试按照上述链接中的步骤1重新安装一次x-pack。
https://stackoverflow.com/questions/42371978
复制相似问题