Problem with Elasticsearch 5 service script

Joachim Mathes mathes at punkt.de
Wed Apr 18 11:42:23 UTC 2018


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


More information about the freebsd-elastic mailing list