Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
add comment

1 Answer

up vote 1 down vote accepted

Configuration problem. wrapper.java.command should point to a valid java binary.

share|improve this answer
add comment

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.