在新安装Ubuntu16.04时,我将使用接下来的步骤安装ElasticSearch 5.0.1或5.0.2,而ES无法启动。有人知道如何在Ubuntu16.04或14.04上运行ES 5.x吗?
ElasticSearch5.x未能在Ubuntu16.04上启动。有人知道如何在Ubuntu16.04或14.04上运行ES 5.x吗?
我还尝试使用新版本的ElasticSearch5.1.1使用以下几个步骤
-安装了新版本elasticsearch 5.1.1
服务弹性搜索状态
加载弹性搜索:已加载(/usr/lib/systemd/system/elasticsearch.service;禁用;供应商预置:已启用)
活动:不活动(死亡)
Docs: http : / / www.elastic.co12月09 22:49:49 :49弹性系统1:停止弹性搜索。
发布于 2016-12-28 03:29:20
我对此持怀疑态度,并认为我无法找到这个问题的答案,但你的建议(@ answer 305883)证明是个不错的建议。谢谢你帮忙。
运行此命令后,我将/etc/elasticsearch/jvm.option -Xms2g和-Xmx2g改为#-Xms2g和#-Xmx2g,并在ubuntu终端上更改
我们在Ubuntu 16.04上跑得很好。
这是正确的答案。再次感谢@user305883。堆栈过流
发布于 2017-03-26 23:36:28
为我工作过。我的jvm.options文件:
## JVM configuration
################################################################
## IMPORTANT: JVM heap size
################################################################
##
## You should always set the min and max JVM heap
## size to the same value. For example, to set
## the heap to 4 GB, set:
##
## -Xms4g
## -Xmx4g
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html
## for more information
##
################################################################
# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space-评论
#-Xms2g
#-Xmx2g-评论
像上面一样为我工作过。谢谢。
发布于 2016-11-29 21:41:48
确保/etc/elasticsearch/log4j2.属性存在,否则创建它:
appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %marker%m%n
rootLogger.level = info
rootLogger.appenderRef.console.ref = consolehttps://askubuntu.com/questions/853100
复制相似问题