Pages

Monday, January 21, 2013

./bin/elasticsearch: 122: exec: : Permission denied



On my local machine

bin/elasticsearch -f

Then go to the following URL http://localhost:9200/blog/post/_search?q=har

But the same is not working on the server!

Error
user@server:/home/ubuntu/elasticsearch-0.19.9# ./bin/elasticsearch -f

This is coming because Java is not installed

Solution
Install Java

./bin/elasticsearch: 122: exec: : Permission denied
The fist step was to install Java on the linux machine. Let's see if that solved the problem. 
Okay! Awesome elasticsearch is working now using the command bin/elasticsearch -f

1 comment: