ElasticsearchException[failed to bind service]; nested: AccessDeniedException[/usr/share/elasticsearch/data/nodes];",
# 权限问题
sudo chown -R 1000:1000 /home/es/node1/data
sudo chown -R 1000:1000 /home/es/node2/data
 

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 virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
ERROR: Elasticsearch did not exit normally - check the logs at /usr/share/elasticsearch/logs/auth-cluster.log

# 解决办法:
# 执行以下命令,查看当前的值:
sysctl vm.max_map_count

sudo vi /etc/sysctl.cof
#在文件末尾添加或修改下面这行:
vm.max_map_count=262144
# 执行以下命令使配置立即生效(无需重启):
sudo sysctl -p
# 重启
docker restart es-node1
docker restart es-node2

"message": "error updating geoip database [GeoLite2-ASN.mmdb]"
# 确保docker-compose.yml文件中有配置:
- ingest.geoip.downloader.enabled=false

"message": "failed to retrieve password hash for reserved user [elastic]"
# 小问题,不需要管,只要9200端口能正常访问就行

Logo

中国智能体开发者社区,聚焦智能体与大模型开发,提供前沿资讯、实用工具链、开源项目及行业案例。通过技术沙龙、开发者大赛等活动,促进经验交流与协作,助力开发者快速构建创新智能应用。

更多推荐