Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 13:42:00 +0200
From:      Joachim Mathes <mathes@punkt.de>
To:        elastic@FreeBSD.org
Subject:   Problem with Elasticsearch 5 service script
Message-ID:  <393485b6-ece3-e6a5-48f6-dcb8af419619@punkt.de>

next in thread | raw e-mail | index | archive | help
Hello Elastic-Team,

we have problems with starting the elasticsearch service of package 
https://www.freshports.org/textproc/elasticsearch5/ (2018Q2).
When we try to start elasticsearch the rc.d-script fails with:

"""
Starting elasticsearch. Could not find any executable java binary. 
Please install java in your PATH or set JAVA_HOME
"""

We fixed this issue by extending the PATH variable in 
/usr/local/etc/rc.d/elasticsearch:

"""
export PATH=$PATH:/usr/local/openjdk8/bin
"""

Can you reproduce this?

Best
Jo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393485b6-ece3-e6a5-48f6-dcb8af419619>