You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elasticsearch 에서 reset-password, setup-password 가 es 주소를 못 찾는 경우
상황
local es 의 elastic 계정 password 를 변경하고자 아래와 같이 스크립트를 실행했으나 es 주소를 제대로 찾지 못함
# Reset password 시도
./bin/elasticsearch-reset-password -u elastic -i
# ERROR: Failed to determine the health of the cluster.# setup passwords 시도
./bin/elasticsearch-setup-passwords interactive
# Connection failure to: http://100.64.0.1:9200/_security/_authenticate?pretty failed: Read timed out# ERROR: Failed to connect to elasticsearch at http://100.64.0.1:9200/_security/_authenticate?pretty. Is the URL correct and elasticsearch running?
해결
--url 옵션으로 localhost 를 직접 지정
./bin/elasticsearch-reset-password -u elastic -i --url http://localhost:9200
# This tool will reset the password of the [elastic] user.# You will be prompted to enter the password.# Please confirm that you would like to continue [y/N]y# Enter password for [elastic]:# Re-enter password for [elastic]:# Password for the [elastic] user successfully reset.
참고
elastic 계정 비밀번호 변경할 때, kibana_system 계정 비밀번호도 reset 같이 해주는게 나중에 연동하기 편함
The text was updated successfully, but these errors were encountered:
Elasticsearch 에서 reset-password, setup-password 가 es 주소를 못 찾는 경우
상황
해결
--url
옵션으로 localhost 를 직접 지정참고
The text was updated successfully, but these errors were encountered: