Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master | 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 wrapper.java.command 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

1 Answer 1

up vote 1 down vote accepted

Configuration problem. wrapper.java.command 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 at 9:47

Your Answer

 
discard

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.