Elasticsearch启动报错

Posted 小小菜_v

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Elasticsearch启动报错相关的知识,希望对你有一定的参考价值。

Elasticsearch - Bootstrap checks failed

ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
ERROR: Elasticsearch did not exit normally - check the logs at /home/elastic/logs/my-application.log

解决方案如下:

ulimit -n 65536 
ulimit -u 2048

# 修改配置
vi /etc/sysctl.conf
network.host: 0.0.0.0
http.port: 9200
transport.host: localhost
transport.tcp.port: 9300

# 保存配置
sysctl -p

# 重新切换用户连接即可
su - elastic
nohup ./bin/elasticsearch &
curl -l http://180.80.80.199:9200

以上是关于Elasticsearch启动报错的主要内容,如果未能解决你的问题,请参考以下文章

ElasticSearch学习问题记录——Invalid shift value in prefixCoded bytes (is encoded value really an INT?)(代码片段

SpringBoot启动报错“Consider defining a bean of type ‘xxx.mapper.UserMapper‘ in your configuration.“(代码片段

ElasticSearch启动报错 ERROR

Nginx——Nginx启动报错Job for nginx.service failed because the control process exited with error code(代码片段

elk中elasticsearch安装启动报错

项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde(代码片段