Service wrapper failing with "eval: 1: /opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-64: not found"

Hi -- I've followed the instructions for installing elasticsearch on linux,
but when I try to run the elasticsearch service wrapper, I get this error:
"eval: 1: /opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-64:
not found"

The file /opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-64 is
definitely there, and is executable.
Can anyone offer any advice on how I might fix this?
I'm running Ubuntu (Hardy), and it's only 32 bit, which might be related to
the issue?
Cheers,
Doug.

Hi -- I'm investigating this, but I'm not really a bash shell
scripter, so any suggestions & advice would be very gratefully
received.
Or any pointers to anywhere else I could go to ask the question?
Thanks,
Doug.

On Oct 19, 11:13 am, doug livesey biot...@gmail.com wrote:

Hi -- I've followed the instructions for installing elasticsearch on linux,
but when I try to run the elasticsearch service wrapper, I get this error:
"eval: 1: /opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-64:
not found"

The file /opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-64 is
definitely there, and is executable.
Can anyone offer any advice on how I might fix this?
I'm running Ubuntu (Hardy), and it's only 32 bit, which might be related to
the issue?
Cheers,
Doug.

Okay, so hacking around (after installing the service), I've added the
following line (at line 483) to the service script to force the correct
behaviour:
WRAPPER_CMD="/opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-32"

I also made the corresponding file
(/opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-32) executable.

This is, obviously, a horrible hack, but it works, and that's the main
thing. :wink:
Cheers,
Doug.

On 21 October 2011 09:52, biot023 biot023@gmail.com wrote:

Hi -- I'm investigating this, but I'm not really a bash shell
scripter, so any suggestions & advice would be very gratefully
received.
Or any pointers to anywhere else I could go to ask the question?
Thanks,
Doug.

On Oct 19, 11:13 am, doug livesey biot...@gmail.com wrote:

Hi -- I've followed the instructions for installing elasticsearch on
linux,
but when I try to run the elasticsearch service wrapper, I get this
error:
"eval: 1:
/opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-64:
not found"

The file /opt/elasticsearch/bin/service/exec/elasticsearch-linux-x86-64
is
definitely there, and is executable.
Can anyone offer any advice on how I might fix this?
I'm running Ubuntu (Hardy), and it's only 32 bit, which might be related
to
the issue?
Cheers,
Doug.