ore.MemorySegmentIndexInputProvider <init>[2023-05-27T05:40:45,356][ERROR][o.e.b.Elasticsearch

ore.MemorySegmentIndexInputProvider
[2023-05-27T05:40:45,356][ERROR][o.e.b.Elasticsearch      ] [localhost.localdomain] fatal exception while booting Elasticsearchjava.lang.IllegalStateException: failed to obtain node locks, tried [/var/lib/elasticsearch]; maybe these locations are not writable or multiple nodes were started on the same data path?
    at [email protected]/org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:291)
    at [email protected]/org.elasticsearch.node.Node.(Node.java:483)
    at [email protected]/org.elasticsearch.node.Node.(Node.java:327)
    at [email protected]/org.elasticsearch.bootstrap.Elasticsearch$2.(Elasticsearch.java:216)
    at [email protected]/org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:216)

出现这个问题是因为,我之前安装的是8.7的版本,安装了新版本的kibana 配置的时候不兼容

直接升级的上来的。

所以我怀疑有些进程没被干掉导致启动es报错,直接重启服务器,重启之后 再次启动正常

kibana 配置

生成token

bin/elasticsearch-create-enrollment-token -s kibana

生成验证码

cd /usr/share/kibana/bin
./kibana-verification-code 
Your verification code is:  890 791

输入验证码即可完成配置

ore.MemorySegmentIndexInputProvider <init>[2023-05-27T05:40:45,356][ERROR][o.e.b.Elasticsearch_第1张图片

输入账户密码,登录成功

ore.MemorySegmentIndexInputProvider <init>[2023-05-27T05:40:45,356][ERROR][o.e.b.Elasticsearch_第2张图片

 

如果忘记密码可以重置密码

重置密码
./elasticsearch-reset-password -u elastic

你可能感兴趣的:(es,elasticsearch,大数据)