# Permission Problem About Starting Elasticserach

**URL:** <https://discuss.elastic.co/t/permission-problem-about-starting-elasticserach/7498>\
**Category:** Elasticsearch\
**Created:** [April 27, 2012, 5:22pm UTC](https://discuss.elastic.co/t/permission-problem-about-starting-elasticserach/7498 "2012-04-27T17:22:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmet\_DAL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahmet_dal/32/2516_2.png) [@Ahmet\_DAL](https://discuss.elastic.co/u/Ahmet_DAL)\
**Post date:** [April 27, 2012, 5:22pm UTC](https://discuss.elastic.co/t/permission-problem-about-starting-elasticserach/7498/1 "2012-04-27T17:22:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [April 28, 2012, 9:16am UTC](https://discuss.elastic.co/t/permission-problem-about-starting-elasticserach/7498/2 "2012-04-28T09:16:32Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![karmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karmi/32/44951_2.png) [@karmi](https://discuss.elastic.co/u/karmi)\
**Post date:** [April 29, 2012, 6:13am UTC](https://discuss.elastic.co/t/permission-problem-about-starting-elasticserach/7498/3 "2012-04-29T06:13:44Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:30am UTC](https://discuss.elastic.co/t/permission-problem-about-starting-elasticserach/7498/4 "2017-07-06T03:30:46Z")

</div>


