Permission Problem About Starting Elasticserach


(Ahmet DAL) #1

When I try to start elasticsearch with bin/elasticsearch -f command on
commandline, Ubuntu gives me exec: 177: : Permission denied. I've also
tried it as root but same. There is no info about that I could'nt find
the solution to fix this


(Clinton Gormley) #2

Hiya

On Fri, 2012-04-27 at 10:22 -0700, Ahmet DAL wrote:

When I try to start elasticsearch with bin/elasticsearch -f command on
commandline, Ubuntu gives me exec: 177: : Permission denied. I've also
tried it as root but same. There is no info about that I could'nt find
the solution to fix this

You're not providing enough information about what you're doing, or how
you've got elasticsearch installed and configured.

Try this:
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.2.tar.gz
tar -xzf elasticsearch-0.19.2.tar.gz
cd elasticsearch-0.19.2/
./bin/elasticsearch -f

That should show elasticsearch starting up.

If it doesn't then gist the output.

If it does, then figure out what is different in your current environment

clint


(Karel Minarik) #3

The exec: 177: : Permission denied error is almost certainly caused by
Java not available on your machine.

Try running java -version.

Karel

On Saturday, April 28, 2012 11:16:32 AM UTC+2, Clinton Gormley wrote:

Hiya

On Fri, 2012-04-27 at 10:22 -0700, Ahmet DAL wrote:

When I try to start elasticsearch with bin/elasticsearch -f command on
commandline, Ubuntu gives me exec: 177: : Permission denied. I've also
tried it as root but same. There is no info about that I could'nt find
the solution to fix this

You're not providing enough information about what you're doing, or how
you've got elasticsearch installed and configured.

Try this:
wget
https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.2.tar.gz
tar -xzf elasticsearch-0.19.2.tar.gz
cd elasticsearch-0.19.2/
./bin/elasticsearch -f

That should show elasticsearch starting up.

If it doesn't then gist the output.

If it does, then figure out what is different in your current environment

clint


(system) #4