gpt4 book ai didi

elasticsearch - Elasticsearch-5.0.0和5.0.1无法启动服务

转载 作者:行者123 更新时间:2023-12-03 00:11:09 28 4
gpt4 key购买 nike

java_home

jvm.options:

-Xms20g
-Xmx20g
-Xss1m

installation screen

日志:
[2016-11-16 13:18:20] [info] [ 7892] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-11-16 13:18:20] [info] [ 7892] Starting service 'ES' ...
[2016-11-16 13:18:20] [warn] [ 7892] Failed to obtain service description
[2016-11-16 13:18:21] [error] [ 7892] Failed to start 'ES' service
[2016-11-16 13:18:21] [error] [ 7892] The data area passed to a system call is too small.
[2016-11-16 13:18:21] [info] [ 7892] Start service finished.
[2016-11-16 13:18:21] [error] [ 7892] Commons Daemon procrun failed with exit value: 5 (Failed to start service)
[2016-11-16 13:18:21] [error] [ 7892] The data area passed to a system call is too small.


The data area passed to a system call is too small.
Failed to start service

但是elasticsearch.bat完美地工作

最佳答案

转到config文件夹并打开elasticsearch.yml文件,然后执行以下更改。

取消注释cluster.name中的node.nameelasticsearch.yml,如下所示

cluster.name: ESCluster

node.name: ESNode

在jvm.options中更改堆大小
-Xms1g
-Xmx1g

转到 bin文件夹,然后运行 elasticsearch.bat Server Startup

关于elasticsearch - Elasticsearch-5.0.0和5.0.1无法启动服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40644154/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com