Hi,
Can someone help me resolve this issue please. Thanks in advance ! so Weird !!! graylog server (version 2.5, os centos7) has been in production for a year !! I I didn’t understand this error !!!
Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.
Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.
It would be great if you could update your post to solve this.
you are right @TimV ^^
################################
# Elasticsearch
################################
# Elasticsearch home directory
#ES_HOME=/usr/share/elasticsearch
# Elasticsearch Java path
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
# Elasticsearch configuration directory
ES_PATH_CONF=/etc/elasticsearch
# Elasticsearch PID directory
#PID_DIR=/var/run/elasticsearch
# Additional Java OPTS
#ES_JAVA_OPTS=
elasticsearch[2856] : which: no java in ( /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
elasticsearch[2856]: warning: Falling back to jaba on path. This behavior is deprecated. Specify JAVA_HOME
elasticsearch[2856]: could not fin java; set JAVA_HOME
systemd [1]: elasticsearch.service: main process exited , code=exited, status=1/FAILURE
systemd[1]: Unit elasticsearch.service entered failed state.
systemd[1]: elasticsearch.service failed
# export | grep JAVA_HOME
declare -x JAVA_HOME="/usr/java/jdk1.8.0/"
# export | grep JRE_HOME
declare -x JRE_HOME="/usr/java/jdk1.8.0_/jre"
YES !!! Problem solved , thnaks a lot @TimV
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.