Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have elasticsearch installed and working in /opt/elasticsearch. I want to install a service wrapper for it to start/stop/restart it as a service. Elasticsearch recommends using java-service-wrapper:

curl -L | tar -xz
mv *servicewrapper*/service elasticsearch/bin/

# Setup ElasticSearch as a service:
elasticsearch/bin/service/elasticsearch install

However, the start of a service fails with the following message: the value of does not appear to be a java binary. I don't really know where to start debugging and would appreciate any ideas.

share|improve this question
up vote 1 down vote accepted

Configuration problem. should point to a valid java binary.

share|improve this answer
if you are on gentoo -only the true path, not script nor symbolic link to java binary – konradkg Jul 25 '14 at 9:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.