I've installed X-pack on a working Elastic/Kibana build for ElasticSearch 6.1.2
However, I have no file called setup-passwords so I am unable to run bin/x-pack/setup-passwords auto. Both kibana and elastic search now require passwords to run, which I do not know what they are.
My x-pack folder is in /usr/local/etc/elasticsearch/x-pack and the only files in there are:
log4j2.properties
roles.yml
users_roles
role_mapping.yml
users
I initially installed Elastic Search and Kibana via homebrew, and I'm not sure if this disrupted my install. Everything was working fine before x-pack and I'm not sure how to move forward.
That's the configuration directory, not the bin directory. I can't remember exactly where homebrew puts the bin directory for Elasticsearch, but can you try running
type elasticsearch
And then do ls -l on that file to find where your Elasticsearch bin directory is located. There should be a x-pack directory under that.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.