# \[Solved\] Can't run ./elasticsearch

**URL:** <https://discuss.elastic.co/t/solved-cant-run-elasticsearch/92280>\
**Category:** Elasticsearch\
**Created:** [July 7, 2017, 2:05pm UTC](https://discuss.elastic.co/t/solved-cant-run-elasticsearch/92280 "2017-07-07T14:05:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meza](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Meza](https://discuss.elastic.co/u/Meza)\
**Post date:** [July 7, 2017, 2:05pm UTC](https://discuss.elastic.co/t/solved-cant-run-elasticsearch/92280/1 "2017-07-07T14:05:40Z")

</div>

Hi,

I run a Debian 7.11 virtual server (on a windows HyperV).  
java -version return is : " java version "1.8.0\_131" ".

I downloaded Elasticsearch 2.3.4 tar and unpacked it in /home/user/.

When I try to run ./elasticsearch (being in /home/user/elasticsearch-2.3.4/bin directory) I run into many java errors, the one that's probably at the source of the issue is "log4j:ERROR setFile(null,true) call failed." .

I'm lost here I just unpacked the source not sure what else I should do.

Thanks.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 7, 2017, 2:17pm UTC](https://discuss.elastic.co/t/solved-cant-run-elasticsearch/92280/2 "2017-07-07T14:17:59Z")

</div>

Did you download from [https://www.elastic.co/downloads](https://www.elastic.co/downloads) ?

---

<div class="post-metadata">

**Author:** ![Meza](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Meza](https://discuss.elastic.co/u/Meza)\
**Post date:** [July 7, 2017, 2:24pm UTC](https://discuss.elastic.co/t/solved-cant-run-elasticsearch/92280/3 "2017-07-07T14:24:22Z")

</div>

Downloaded Elasticsearch from [https://www.elastic.co/fr/downloads/past-releases/elasticsearch-2-3-4](https://www.elastic.co/fr/downloads/past-releases/elasticsearch-2-3-4)

---

<div class="post-metadata">

**Author:** ![Meza](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Meza](https://discuss.elastic.co/u/Meza)\
**Post date:** [July 7, 2017, 2:48pm UTC](https://discuss.elastic.co/t/solved-cant-run-elasticsearch/92280/4 "2017-07-07T14:48:54Z")

</div>

My bad, it was a right problem.

Solved it running : chmod -R a+rwx /

I know it's probably not a safe way to solve the problem but it did the job.

Thanks again.

Is there a way to mark this as solved?

---

<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:** [August 4, 2017, 2:49pm UTC](https://discuss.elastic.co/t/solved-cant-run-elasticsearch/92280/5 "2017-08-04T14:49:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
