您当前的位置:首页 > 计算机 > 服务器 > 网络服务

es集群相关报错信息

时间:03-07来源:作者:点击数:

给es集群添加用户密码的时候,会自动弹出相关的账户信息,这个时候,只需要设置对应密码就可以了

[esuser@jky-test1 bin]$ ./elasticsearch-setup-passwords interactive
future versions of Elasticsearch will require Java 11; your Java version from [/usr/java/jdk1.8/jre] does not meet this requirement

Unexpected response code [500] from calling GET http://192.168.0.29:9200/_security/_authenticate?pretty
It doesn't look like the X-Pack security feature is enabled on this Elasticsearch node.
Please check if you have enabled X-Pack security in your elasticsearch.yml configuration file.

ERROR: X-Pack Security is disabled by configuration.
[esuser@jky-test1 bin]$ ./elasticsearch-setup-passwords interactive
future versions of Elasticsearch will require Java 11; your Java version from [/usr/java/jdk1.8/jre] does not meet this requirement
Initiating the setup of passwords for reserved users elastic,apm_system,kibana,kibana_system,logstash_system,beats_system,remote_monitoring_user.
You will be prompted to enter passwords as the process progresses.
Please confirm that you would like to continue [y/N]y


Enter password for [elastic]: 
Reenter password for [elastic]: 
Enter password for [apm_system]: 
Reenter password for [apm_system]: 
Enter password for [kibana_system]: 
Reenter password for [kibana_system]: 
Enter password for [logstash_system]: 
Reenter password for [logstash_system]: 
Enter password for [beats_system]: 
Reenter password for [beats_system]: 
Enter password for [remote_monitoring_user]: 
Reenter password for [remote_monitoring_user]: 
Changed password for user [apm_system]
Changed password for user [kibana_system]
Changed password for user [kibana]
Changed password for user [logstash_system]
Changed password for user [beats_system]
Changed password for user [remote_monitoring_user]
Changed password for user [elastic]
[esuser@jky-test1 bin]$ pwd
/usr/local/soft/elasticsearch-7.10.2/bin

设置好账户、密码以后,再次访问es就需要账户密码登录了

没有设置密码前的访问

在这里插入图片描述

设置密码后的访问

在这里插入图片描述
kibana报错{"statusCode":503,"error":"Service Unavailable","message":"License is not av

修改了docker的内存,然后又报错

Kibana server is not ready yet

这个错误是因为在docker内部,kibana连接es的IP地址变了,去kibana的配置文件中将IP地址改到现在es的地址即可

方便获取更多学习、工作、生活信息请关注本站微信公众号城东书院 微信服务号城东书院 微信订阅号
推荐内容
相关内容
栏目更新
栏目热门