kbas
Member
Hello.
I'm trying to get Elasticsearch v.8 to work but I'm getting the error:
My elasticsearch.yml:
Any help would be appreciated.
Thank you.
I'm trying to get Elasticsearch v.8 to work but I'm getting the error:
[root@hst /usr/share/elasticsearch]$ bin/elasticsearch-cli
Exception in thread "main" java.lang.AssertionError: CliToolProvider [cli] not found, available names are [node, shard]
at org.elasticsearch.cli.CliToolProvider.load(CliToolProvider.java:69)
at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:60)
My elasticsearch.yml:
cluster.name: node-1
node.name: node-1
node.attr.rack: r1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: localhost
http.port: 9202
#action.destructive_requires_name: false
xpack.security.enabled: true
xpack.security.enrollment.enabled: true
xpack.security.http.ssl:
enabled: true
keystore.path: certs/http.p12
xpack.security.transport.ssl:
enabled: true
verification_mode: certificate
keystore.path: certs/transport.p12
truststore.path: certs/transport.p12
http.host: 0.0.0.0
cluster.initial_master_nodes: ["hostname"]
Any help would be appreciated.
Thank you.