Continue with installation? [y/N]y
-> Installed x-pack
The i have resrted the elastic
[root@ptktl-elk elasticsearch]# service elasticsearch stop
Stopping elasticsearch: [ OK ]
[root@ptktl-elk elasticsearch]# service elasticsearch start
Starting elasticsearch: [ OK ]
[root@ptktl-elk elasticsearch]# curl -XGET 'localhost:9200/?pretty'
curl: (7) couldn't connect to host
[root@ptktl-elk elasticsearch]#
Trying to change elastic user password:
[root@ptktl-elk]# curl -XPUT -u elastic 'localhost:9200/_xpack/security/user/elastic/_password' -d '{
"password" : "elasticdevpass"
}'
Enter host password for user 'elastic':
{"error":{"root_cause":[{"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}}],"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}},"status":401}
Enter host password for user 'elastic':
{"error":{"root_cause":[{"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}],"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}},"status":401}
Questions:
Why i am still getting the security exception ?
Say , i want to set a NEW password , can i use the curl above or this another method to set new password for elastic user ?
I have installed Xpack on Elasticsearch and Kibana. on testing elastic search on 9200 i see response. but when i am trying to access Kibana 5601, i get system red and
ui settings Elasticsearch plugin is red
plugin:kibana@5.1.1 Ready
plugin:elasticsearch@5.1.1 Authentication Exception
plugin:console@5.1.1 Ready
plugin:timelion@5.1.1 Ready
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.