# Problem starting elasticsearch 0.90.11

**URL:** <https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138>\
**Category:** Elasticsearch\
**Created:** [August 7, 2014, 2:34pm UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138 "2014-08-07T14:34:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_Adamson](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Jim\_Adamson](https://discuss.elastic.co/u/Jim_Adamson)\
**Post date:** [August 7, 2014, 2:34pm UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/1 "2014-08-07T14:34:13Z")

</div>

I am having a problem running elasticsearch-0.90.11.deb on Ubuntu 12.04.4  
LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs after I  
run `/etc/init.d/elasticsearch start`. Although ES appears to start  
successfully, grepping for the process shows it is not running.

Issuing the following:

cd /usr/share/elasticsearch/bin  
./elasticsearch -f

...gives:

log4j:WARN No appenders could be found for logger (node).  
log4j:WARN Please initialize the log4j system properly.  
log4j:WARN See [http://logging.apache.org/log4j/1.2/faq.html#noconfig](http://logging.apache.org/log4j/1.2/faq.html#noconfig) for  
more info.

With help from a developer colleague I have managed to get it to run by  
adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure why this  
would have been required in the first place and feel there must be  
something misconfigured that's resulting in the init.d script failing to  
start ES.

I have tried adding the following to /etc/elasticsearch/elasticsearch.yml  
but it doesn't make a difference:

path.conf: /etc/elasticsearch  
path.data: /var/lib/elasticsearch  
path.work: /tmp/elasticsearch  
path.logs: /var/log/elasticsearch

ES is one of the dependencies for some software we are running called atom,  
which only support ES \< v1. The install instructions are available at  
[https://www.accesstomemory.org/en/docs/2.0/admin-manual/installation/linux/#installation-linux](https://www.accesstomemory.org/en/docs/2.0/admin-manual/installation/linux/#installation-linux).

The version of Java is Oracle’s JVM distributed by Web Upd8:

java -version  
java version "1.8.0\_11"  
Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

Thanks for any help you can provide.

Jim

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 8, 2014, 12:21am UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/2 "2014-08-08T00:21:50Z")

</div>

I just tested this and didn't run into the same problem.

Have you changed something locally around your environment variables, or in  
the service defaults?

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 8 August 2014 00:34, Jim Adamson [jim.adamson@york.ac.uk](mailto:jim.adamson@york.ac.uk) wrote:

> I am having a problem running elasticsearch-0.90.11.deb on Ubuntu 12.04.4  
> LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs after I  
> run `/etc/init.d/elasticsearch start`. Although ES appears to start  
> successfully, grepping for the process shows it is not running.
> 
> Issuing the following:
> 
> cd /usr/share/elasticsearch/bin  
> ./elasticsearch -f
> 
> ...gives:
> 
> log4j:WARN No appenders could be found for logger (node).  
> log4j:WARN Please initialize the log4j system properly.  
> log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig) for  
> more info.
> 
> With help from a developer colleague I have managed to get it to run by  
> adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
> cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure why this  
> would have been required in the first place and feel there must be  
> something misconfigured that's resulting in the init.d script failing to  
> start ES.
> 
> I have tried adding the following to /etc/elasticsearch/elasticsearch.yml  
> but it doesn't make a difference:
> 
> path.conf: /etc/elasticsearch  
> path.data: /var/lib/elasticsearch  
> path.work: /tmp/elasticsearch  
> path.logs: /var/log/elasticsearch
> 
> ES is one of the dependencies for some software we are running called  
> atom, which only support ES \< v1. The install instructions are available at  
> [Linux | Documentation (Version 2.0) | AtoM: Open Source Archival Description Software](https://www.accesstomemory.org/en/docs/2.0/admin-manual/installation/linux/#installation-linux)  
> .
> 
> The version of Java is Oracle’s JVM distributed by Web Upd8:
> 
> java -version  
> java version "1.8.0\_11"  
> Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
> Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> 
> Thanks for any help you can provide.
> 
> Jim
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [August 8, 2014, 7:37am UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/3 "2014-08-08T07:37:32Z")

</div>

I do not use deb or rpm, but I remember this is an issue when running ES  
under superuser privilege.

ES should never (never) run as root, instead a user with minimal privilege  
should be created.

Jörg

On Fri, Aug 8, 2014 at 2:21 AM, Mark Walkom [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
wrote:

> I just tested this and didn't run into the same problem.
> 
> Have you changed something locally around your environment variables, or  
> in the service defaults?
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 8 August 2014 00:34, Jim Adamson [jim.adamson@york.ac.uk](mailto:jim.adamson@york.ac.uk) wrote:
> 
> > I am having a problem running elasticsearch-0.90.11.deb on Ubuntu 12.04.4  
> > LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs after I  
> > run `/etc/init.d/elasticsearch start`. Although ES appears to start  
> > successfully, grepping for the process shows it is not running.
> > 
> > Issuing the following:
> > 
> > cd /usr/share/elasticsearch/bin  
> > ./elasticsearch -f
> > 
> > ...gives:
> > 
> > log4j:WARN No appenders could be found for logger (node).  
> > log4j:WARN Please initialize the log4j system properly.  
> > log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig) for  
> > more info.
> > 
> > With help from a developer colleague I have managed to get it to run by  
> > adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
> > cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure why this  
> > would have been required in the first place and feel there must be  
> > something misconfigured that's resulting in the init.d script failing to  
> > start ES.
> > 
> > I have tried adding the following to /etc/elasticsearch/elasticsearch.yml  
> > but it doesn't make a difference:
> > 
> > path.conf: /etc/elasticsearch  
> > path.data: /var/lib/elasticsearch  
> > path.work: /tmp/elasticsearch  
> > path.logs: /var/log/elasticsearch
> > 
> > ES is one of the dependencies for some software we are running called  
> > atom, which only support ES \< v1. The install instructions are available at  
> > [Linux | Documentation (Version 2.0) | AtoM: Open Source Archival Description Software](https://www.accesstomemory.org/en/docs/2.0/admin-manual/installation/linux/#installation-linux)  
> > .
> > 
> > The version of Java is Oracle’s JVM distributed by Web Upd8:
> > 
> > java -version  
> > java version "1.8.0\_11"  
> > Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
> > Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> > 
> > Thanks for any help you can provide.
> > 
> > Jim
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHRvGQ%3DyxTMCROCkcgxk5gEAK2UGcJtnqANPxjMzNyx-A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHRvGQ%3DyxTMCROCkcgxk5gEAK2UGcJtnqANPxjMzNyx-A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![ShayneThill02](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@ShayneThill02](https://discuss.elastic.co/u/ShayneThill02)\
**Post date:** [August 8, 2014, 9:19am UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/4 "2014-08-08T09:19:27Z")

</div>

The activity of the animal beings has become acutely active everywhere on this earth. Bodies do not get time to booty a blow for a while. With the accretion use of altered gadgets of Gps Jammer, the possibilities of accepting the aboriginal of blow accept absolutely finished. The adaptable phones or the corpuscle phones are some of these accessories that accumulate the bodies consistently in blow with the alfresco world. The adaptable building are additionally accessible about everywhere these canicule and due to this the accessibility of the Cell Phone Jammer has become alike added quick and authentic. Today, you cannot break out of ability of these adaptable building as their signals can bolt your about anywhere. The bearings of bodies who accord to altered business professions has become actual analytical of **[car mobile phone blocker](http://www.jammerfromchina.com/categories/Mobile_Phone_Jammers/)** as their authorities bolt them anywhere any moment.

---

<div class="post-metadata">

**Author:** ![Jim\_Adamson](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Jim\_Adamson](https://discuss.elastic.co/u/Jim_Adamson)\
**Post date:** [August 8, 2014, 4:38pm UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/5 "2014-08-08T16:38:03Z")

</div>

Hello Jörg!

Thanks for the reply. I was indeed trying to start ES as superuser. I will  
try this in a week or so as I am off on leave at the moment.

Jim

On Friday, 8 August 2014 08:37:41 UTC+1, Jörg Prante wrote:

> I do not use deb or rpm, but I remember this is an issue when running ES  
> under superuser privilege.
> 
> ES should never (never) run as root, instead a user with minimal privilege  
> should be created.
> 
> Jörg
> 
> On Fri, Aug 8, 2014 at 2:21 AM, Mark Walkom \<[ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> \<javascript:\>\> wrote:
> 
> > I just tested this and didn't run into the same problem.
> > 
> > Have you changed something locally around your environment variables, or  
> > in the service defaults?
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 8 August 2014 00:34, Jim Adamson \<[jim.a...@york.ac.uk](mailto:jim.a...@york.ac.uk) \<javascript:\>\>  
> > wrote:
> > 
> > > I am having a problem running elasticsearch-0.90.11.deb on Ubuntu  
> > > 12.04.4 LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs  
> > > after I run `/etc/init.d/elasticsearch start`. Although ES appears to start  
> > > successfully, grepping for the process shows it is not running.
> > > 
> > > Issuing the following:
> > > 
> > > cd /usr/share/elasticsearch/bin  
> > > ./elasticsearch -f
> > > 
> > > ...gives:
> > > 
> > > log4j:WARN No appenders could be found for logger (node).  
> > > log4j:WARN Please initialize the log4j system properly.  
> > > log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig)  
> > > for more info.
> > > 
> > > With help from a developer colleague I have managed to get it to run by  
> > > adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
> > > cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure why this  
> > > would have been required in the first place and feel there must be  
> > > something misconfigured that's resulting in the init.d script failing to  
> > > start ES.
> > > 
> > > I have tried adding the following to  
> > > /etc/elasticsearch/elasticsearch.yml but it doesn't make a difference:
> > > 
> > > path.conf: /etc/elasticsearch  
> > > path.data: /var/lib/elasticsearch  
> > > path.work: /tmp/elasticsearch  
> > > path.logs: /var/log/elasticsearch
> > > 
> > > ES is one of the dependencies for some software we are running called  
> > > atom, which only support ES \< v1. The install instructions are available at  
> > > [Linux | Documentation (Version 2.0) | AtoM: Open Source Archival Description Software](https://www.accesstomemory.org/en/docs/2.0/admin-manual/installation/linux/#installation-linux)  
> > > .
> > > 
> > > The version of Java is Oracle’s JVM distributed by Web Upd8:
> > > 
> > > java -version  
> > > java version "1.8.0\_11"  
> > > Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
> > > Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> > > 
> > > Thanks for any help you can provide.
> > > 
> > > Jim
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1f185399-ce40-44cc-90f3-aa47b62a856c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1f185399-ce40-44cc-90f3-aa47b62a856c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jim\_Adamson](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Jim\_Adamson](https://discuss.elastic.co/u/Jim_Adamson)\
**Post date:** [August 8, 2014, 4:40pm UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/6 "2014-08-08T16:40:44Z")

</div>

Hello Mark,

Thanks for the reply. No I haven't but the VM was provisioned by our  
central IT so there may be something particular about the VM's  
configuration that's the cause of this. I'll try Jörg's suggestion and then  
if that doesn't work I'll pursue this line.

Jim

On Friday, 8 August 2014 01:22:26 UTC+1, Mark Walkom wrote:

> I just tested this and didn't run into the same problem.
> 
> Have you changed something locally around your environment variables, or  
> in the service defaults?
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 8 August 2014 00:34, Jim Adamson \<[jim.a...@york.ac.uk](mailto:jim.a...@york.ac.uk) \<javascript:\>\>  
> wrote:
> 
> > I am having a problem running elasticsearch-0.90.11.deb on Ubuntu 12.04.4  
> > LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs after I  
> > run `/etc/init.d/elasticsearch start`. Although ES appears to start  
> > successfully, grepping for the process shows it is not running.
> > 
> > Issuing the following:
> > 
> > cd /usr/share/elasticsearch/bin  
> > ./elasticsearch -f
> > 
> > ...gives:
> > 
> > log4j:WARN No appenders could be found for logger (node).  
> > log4j:WARN Please initialize the log4j system properly.  
> > log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig) for  
> > more info.
> > 
> > With help from a developer colleague I have managed to get it to run by  
> > adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
> > cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure why this  
> > would have been required in the first place and feel there must be  
> > something misconfigured that's resulting in the init.d script failing to  
> > start ES.
> > 
> > I have tried adding the following to /etc/elasticsearch/elasticsearch.yml  
> > but it doesn't make a difference:
> > 
> > path.conf: /etc/elasticsearch  
> > path.data: /var/lib/elasticsearch  
> > path.work: /tmp/elasticsearch  
> > path.logs: /var/log/elasticsearch
> > 
> > ES is one of the dependencies for some software we are running called  
> > atom, which only support ES \< v1. The install instructions are available at  
> > [Linux | Documentation (Version 2.0) | AtoM: Open Source Archival Description Software](https://www.accesstomemory.org/en/docs/2.0/admin-manual/installation/linux/#installation-linux)  
> > .
> > 
> > The version of Java is Oracle’s JVM distributed by Web Upd8:
> > 
> > java -version  
> > java version "1.8.0\_11"  
> > Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
> > Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> > 
> > Thanks for any help you can provide.
> > 
> > Jim
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d27fc22a-df18-4c98-998a-033a82545f95%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d27fc22a-df18-4c98-998a-033a82545f95%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jim\_Adamson](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Jim\_Adamson](https://discuss.elastic.co/u/Jim_Adamson)\
**Post date:** [August 19, 2014, 11:28am UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/7 "2014-08-19T11:28:01Z")

</div>

Hello again Jörg,

I had a look at this and contrary to what I said in my previous  
message /etc/init.d/elasticsearch _is_ configured to run ES as an  
unprivileged user:

ES\_USER=elasticsearch  
ES\_GROUP=elasticsearch

That user exists and is a member of that group.

Any further suggestions?

thanks,  
Jim

On Friday, 8 August 2014 17:38:03 UTC+1, Jim Adamson wrote:

> Hello Jörg!
> 
> Thanks for the reply. I was indeed trying to start ES as superuser. I will  
> try this in a week or so as I am off on leave at the moment.
> 
> Jim
> 
> On Friday, 8 August 2014 08:37:41 UTC+1, Jörg Prante wrote:
> 
> > I do not use deb or rpm, but I remember this is an issue when running ES  
> > under superuser privilege.
> > 
> > ES should never (never) run as root, instead a user with minimal  
> > privilege should be created.
> > 
> > Jörg
> > 
> > On Fri, Aug 8, 2014 at 2:21 AM, Mark Walkom [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > wrote:
> > 
> > > I just tested this and didn't run into the same problem.
> > > 
> > > Have you changed something locally around your environment variables, or  
> > > in the service defaults?
> > > 
> > > Regards,  
> > > Mark Walkom
> > > 
> > > Infrastructure Engineer  
> > > Campaign Monitor  
> > > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > 
> > > On 8 August 2014 00:34, Jim Adamson [jim.a...@york.ac.uk](mailto:jim.a...@york.ac.uk) wrote:
> > > 
> > > > I am having a problem running elasticsearch-0.90.11.deb on Ubuntu  
> > > > 12.04.4 LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs  
> > > > after I run `/etc/init.d/elasticsearch start`. Although ES appears to start  
> > > > successfully, grepping for the process shows it is not running.
> > > > 
> > > > Issuing the following:
> > > > 
> > > > cd /usr/share/elasticsearch/bin  
> > > > ./elasticsearch -f
> > > > 
> > > > ...gives:
> > > > 
> > > > log4j:WARN No appenders could be found for logger (node).  
> > > > log4j:WARN Please initialize the log4j system properly.  
> > > > log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig)  
> > > > for more info.
> > > > 
> > > > With help from a developer colleague I have managed to get it to run by  
> > > > adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
> > > > cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure why this  
> > > > would have been required in the first place and feel there must be  
> > > > something misconfigured that's resulting in the init.d script failing to  
> > > > start ES.
> > > > 
> > > > I have tried adding the following to  
> > > > /etc/elasticsearch/elasticsearch.yml but it doesn't make a difference:
> > > > 
> > > > path.conf: /etc/elasticsearch  
> > > > path.data: /var/lib/elasticsearch  
> > > > path.work: /tmp/elasticsearch  
> > > > path.logs: /var/log/elasticsearch
> > > > 
> > > > ES is one of the dependencies for some software we are running called  
> > > > atom, which only support ES \< v1. The install instructions are available at  
> > > > [Linux | Documentation (Version 2.0) | AtoM: Open Source Archival Description Software](https://www.accesstomemory.org/en/docs/2.0/admin-manual/installation/linux/#installation-linux)  
> > > > .
> > > > 
> > > > The version of Java is Oracle’s JVM distributed by Web Upd8:
> > > > 
> > > > java -version  
> > > > java version "1.8.0\_11"  
> > > > Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
> > > > Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> > > > 
> > > > Thanks for any help you can provide.
> > > > 
> > > > Jim
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > To view this discussion on the web visit  
> > > > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [August 19, 2014, 11:41am UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/8 "2014-08-19T11:41:33Z")

</div>

Check if the file permissions are set correctly. If logging system  
complains, it can not access files.

Jörg

On Tue, Aug 19, 2014 at 1:28 PM, Jim Adamson [jim.adamson@york.ac.uk](mailto:jim.adamson@york.ac.uk) wrote:

> Hello again Jörg,
> 
> I had a look at this and contrary to what I said in my previous  
> message /etc/init.d/elasticsearch _is_ configured to run ES as an  
> unprivileged user:
> 
> ES\_USER=elasticsearch  
> ES\_GROUP=elasticsearch
> 
> That user exists and is a member of that group.
> 
> Any further suggestions?
> 
> thanks,  
> Jim
> 
> On Friday, 8 August 2014 17:38:03 UTC+1, Jim Adamson wrote:
> 
> > Hello Jörg!
> > 
> > Thanks for the reply. I was indeed trying to start ES as superuser. I  
> > will try this in a week or so as I am off on leave at the moment.
> > 
> > Jim
> > 
> > On Friday, 8 August 2014 08:37:41 UTC+1, Jörg Prante wrote:
> > 
> > > I do not use deb or rpm, but I remember this is an issue when running ES  
> > > under superuser privilege.
> > > 
> > > ES should never (never) run as root, instead a user with minimal  
> > > privilege should be created.
> > > 
> > > Jörg
> > > 
> > > On Fri, Aug 8, 2014 at 2:21 AM, Mark Walkom [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > wrote:
> > > 
> > > > I just tested this and didn't run into the same problem.
> > > > 
> > > > Have you changed something locally around your environment variables,  
> > > > or in the service defaults?
> > > > 
> > > > Regards,  
> > > > Mark Walkom
> > > > 
> > > > Infrastructure Engineer  
> > > > Campaign Monitor  
> > > > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > 
> > > > On 8 August 2014 00:34, Jim Adamson [jim.a...@york.ac.uk](mailto:jim.a...@york.ac.uk) wrote:
> > > > 
> > > > > I am having a problem running elasticsearch-0.90.11.deb on Ubuntu  
> > > > > 12.04.4 LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs  
> > > > > after I run `/etc/init.d/elasticsearch start`. Although ES appears to start  
> > > > > successfully, grepping for the process shows it is not running.
> > > > > 
> > > > > Issuing the following:
> > > > > 
> > > > > cd /usr/share/elasticsearch/bin  
> > > > > ./elasticsearch -f
> > > > > 
> > > > > ...gives:
> > > > > 
> > > > > log4j:WARN No appenders could be found for logger (node).  
> > > > > log4j:WARN Please initialize the log4j system properly.  
> > > > > log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig)  
> > > > > for more info.
> > > > > 
> > > > > With help from a developer colleague I have managed to get it to run  
> > > > > by adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
> > > > > cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure why  
> > > > > this would have been required in the first place and feel there must be  
> > > > > something misconfigured that's resulting in the init.d script failing to  
> > > > > start ES.
> > > > > 
> > > > > I have tried adding the following to /etc/elasticsearch/elasticsearch.yml  
> > > > > but it doesn't make a difference:
> > > > > 
> > > > > path.conf: /etc/elasticsearch  
> > > > > path.data: /var/lib/elasticsearch  
> > > > > path.work: /tmp/elasticsearch  
> > > > > path.logs: /var/log/elasticsearch
> > > > > 
> > > > > ES is one of the dependencies for some software we are running called  
> > > > > atom, which only support ES \< v1. The install instructions are available at  
> > > > > [Administrator manual | Documentation (Version 2.0) | AtoM: Open Source Archival Description Software](https://www.accesstomemory.org/en/docs/2.0/admin-manual/)  
> > > > > installation/linux/#installation-linux.
> > > > > 
> > > > > The version of Java is Oracle’s JVM distributed by Web Upd8:
> > > > > 
> > > > > java -version  
> > > > > java version "1.8.0\_11"  
> > > > > Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
> > > > > Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> > > > > 
> > > > > Thanks for any help you can provide.
> > > > > 
> > > > > Jim
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to the Google  
> > > > > Groups "elasticsearch" group.  
> > > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%  
> > > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > .  
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq  
> > > > 6V7DtFks3Y%2BoYfQWEpLBQ%[40mail.gmail.com](http://40mail.gmail.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > .
> > > > 
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE9ujQsLw%3DT\_oKd3KJL6zWjzSGfHbaJjFo5gAF%2B861zpg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE9ujQsLw%3DT_oKd3KJL6zWjzSGfHbaJjFo5gAF%2B861zpg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jim\_Adamson](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Jim\_Adamson](https://discuss.elastic.co/u/Jim_Adamson)\
**Post date:** [August 19, 2014, 11:53am UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/9 "2014-08-19T11:53:04Z")

</div>

Permissions on the log directory /var/log/elasticsearch look okay:

drwxr-xr-x 2 elasticsearch elasticsearch 4096 Aug 19 12:50 elasticsearch

Jim

On Tuesday, 19 August 2014 12:41:42 UTC+1, Jörg Prante wrote:

> Check if the file permissions are set correctly. If logging system  
> complains, it can not access files.
> 
> Jörg
> 
> On Tue, Aug 19, 2014 at 1:28 PM, Jim Adamson \<[jim.a...@york.ac.uk](mailto:jim.a...@york.ac.uk)  
> \<javascript:\>\> wrote:
> 
> > Hello again Jörg,
> > 
> > I had a look at this and contrary to what I said in my previous  
> > message /etc/init.d/elasticsearch _is_ configured to run ES as an  
> > unprivileged user:
> > 
> > ES\_USER=elasticsearch  
> > ES\_GROUP=elasticsearch
> > 
> > That user exists and is a member of that group.
> > 
> > Any further suggestions?
> > 
> > thanks,  
> > Jim
> > 
> > On Friday, 8 August 2014 17:38:03 UTC+1, Jim Adamson wrote:
> > 
> > > Hello Jörg!
> > > 
> > > Thanks for the reply. I was indeed trying to start ES as superuser. I  
> > > will try this in a week or so as I am off on leave at the moment.
> > > 
> > > Jim
> > > 
> > > On Friday, 8 August 2014 08:37:41 UTC+1, Jörg Prante wrote:
> > > 
> > > > I do not use deb or rpm, but I remember this is an issue when running  
> > > > ES under superuser privilege.
> > > > 
> > > > ES should never (never) run as root, instead a user with minimal  
> > > > privilege should be created.
> > > > 
> > > > Jörg
> > > > 
> > > > On Fri, Aug 8, 2014 at 2:21 AM, Mark Walkom [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > > wrote:
> > > > 
> > > > > I just tested this and didn't run into the same problem.
> > > > > 
> > > > > Have you changed something locally around your environment variables,  
> > > > > or in the service defaults?
> > > > > 
> > > > > Regards,  
> > > > > Mark Walkom
> > > > > 
> > > > > Infrastructure Engineer  
> > > > > Campaign Monitor  
> > > > > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > 
> > > > > On 8 August 2014 00:34, Jim Adamson [jim.a...@york.ac.uk](mailto:jim.a...@york.ac.uk) wrote:
> > > > > 
> > > > > > I am having a problem running elasticsearch-0.90.11.deb on Ubuntu  
> > > > > > 12.04.4 LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs  
> > > > > > after I run `/etc/init.d/elasticsearch start`. Although ES appears to start  
> > > > > > successfully, grepping for the process shows it is not running.
> > > > > > 
> > > > > > Issuing the following:
> > > > > > 
> > > > > > cd /usr/share/elasticsearch/bin  
> > > > > > ./elasticsearch -f
> > > > > > 
> > > > > > ...gives:
> > > > > > 
> > > > > > log4j:WARN No appenders could be found for logger (node).  
> > > > > > log4j:WARN Please initialize the log4j system properly.  
> > > > > > log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig)  
> > > > > > for more info.
> > > > > > 
> > > > > > With help from a developer colleague I have managed to get it to run  
> > > > > > by adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
> > > > > > cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure why  
> > > > > > this would have been required in the first place and feel there must be  
> > > > > > something misconfigured that's resulting in the init.d script failing to  
> > > > > > start ES.
> > > > > > 
> > > > > > I have tried adding the following to /etc/elasticsearch/elasticsearch.yml  
> > > > > > but it doesn't make a difference:
> > > > > > 
> > > > > > path.conf: /etc/elasticsearch  
> > > > > > path.data: /var/lib/elasticsearch  
> > > > > > path.work: /tmp/elasticsearch  
> > > > > > path.logs: /var/log/elasticsearch
> > > > > > 
> > > > > > ES is one of the dependencies for some software we are running called  
> > > > > > atom, which only support ES \< v1. The install instructions are available at  
> > > > > > [Administrator manual | Documentation (Version 2.0) | AtoM: Open Source Archival Description Software](https://www.accesstomemory.org/en/docs/2.0/admin-manual/)  
> > > > > > installation/linux/#installation-linux.
> > > > > > 
> > > > > > The version of Java is Oracle’s JVM distributed by Web Upd8:
> > > > > > 
> > > > > > java -version  
> > > > > > java version "1.8.0\_11"  
> > > > > > Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
> > > > > > Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> > > > > > 
> > > > > > Thanks for any help you can provide.
> > > > > > 
> > > > > > Jim
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to the Google  
> > > > > > Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this group and stop receiving emails from it,  
> > > > > > send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > > msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%  
> > > > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > .  
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to the Google  
> > > > > Groups "elasticsearch" group.  
> > > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq  
> > > > > 6V7DtFks3Y%2BoYfQWEpLBQ%[40mail.gmail.com](http://40mail.gmail.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > > > 
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google Groups  
> > > > "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > > To view this discussion on the web visit  
> > > > [https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7c0b1818-2323-497b-8a5f-21112bc0ce5f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7c0b1818-2323-497b-8a5f-21112bc0ce5f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jim\_Adamson](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Jim\_Adamson](https://discuss.elastic.co/u/Jim_Adamson)\
**Post date:** [August 20, 2014, 10:19am UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/10 "2014-08-20T10:19:39Z")

</div>

Just to say it's all working now 🙂 The problem was a directive that was  
missing a space after the colon:

_script.disable\_dynamic:true_

Jim

On Tuesday, 19 August 2014 12:53:05 UTC+1, Jim Adamson wrote:

> Permissions on the log directory /var/log/elasticsearch look okay:
> 
> drwxr-xr-x 2 elasticsearch elasticsearch 4096 Aug 19 12:50  
> elasticsearch
> 
> Jim
> 
> On Tuesday, 19 August 2014 12:41:42 UTC+1, Jörg Prante wrote:
> 
> > Check if the file permissions are set correctly. If logging system  
> > complains, it can not access files.
> > 
> > Jörg
> > 
> > On Tue, Aug 19, 2014 at 1:28 PM, Jim Adamson [jim.a...@york.ac.uk](mailto:jim.a...@york.ac.uk) wrote:
> > 
> > > Hello again Jörg,
> > > 
> > > I had a look at this and contrary to what I said in my previous  
> > > message /etc/init.d/elasticsearch _is_ configured to run ES as an  
> > > unprivileged user:
> > > 
> > > ES\_USER=elasticsearch  
> > > ES\_GROUP=elasticsearch
> > > 
> > > That user exists and is a member of that group.
> > > 
> > > Any further suggestions?
> > > 
> > > thanks,  
> > > Jim
> > > 
> > > On Friday, 8 August 2014 17:38:03 UTC+1, Jim Adamson wrote:
> > > 
> > > > Hello Jörg!
> > > > 
> > > > Thanks for the reply. I was indeed trying to start ES as superuser. I  
> > > > will try this in a week or so as I am off on leave at the moment.
> > > > 
> > > > Jim
> > > > 
> > > > On Friday, 8 August 2014 08:37:41 UTC+1, Jörg Prante wrote:
> > > > 
> > > > > I do not use deb or rpm, but I remember this is an issue when running  
> > > > > ES under superuser privilege.
> > > > > 
> > > > > ES should never (never) run as root, instead a user with minimal  
> > > > > privilege should be created.
> > > > > 
> > > > > Jörg
> > > > > 
> > > > > On Fri, Aug 8, 2014 at 2:21 AM, Mark Walkom \<[ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)
> > > > > 
> > > > > > wrote:
> > > > > 
> > > > > > I just tested this and didn't run into the same problem.
> > > > > > 
> > > > > > Have you changed something locally around your environment variables,  
> > > > > > or in the service defaults?
> > > > > > 
> > > > > > Regards,  
> > > > > > Mark Walkom
> > > > > > 
> > > > > > Infrastructure Engineer  
> > > > > > Campaign Monitor  
> > > > > > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > > > > > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > > > > > 
> > > > > > On 8 August 2014 00:34, Jim Adamson [jim.a...@york.ac.uk](mailto:jim.a...@york.ac.uk) wrote:
> > > > > > 
> > > > > > > I am having a problem running elasticsearch-0.90.11.deb on Ubuntu  
> > > > > > > 12.04.4 LTS (VMWare VM, Intel Xeon @ 2.3Ghz, 2GB RAM). The problem occurs  
> > > > > > > after I run `/etc/init.d/elasticsearch start`. Although ES appears to start  
> > > > > > > successfully, grepping for the process shows it is not running.
> > > > > > > 
> > > > > > > Issuing the following:
> > > > > > > 
> > > > > > > cd /usr/share/elasticsearch/bin  
> > > > > > > ./elasticsearch -f
> > > > > > > 
> > > > > > > ...gives:
> > > > > > > 
> > > > > > > log4j:WARN No appenders could be found for logger (node).  
> > > > > > > log4j:WARN Please initialize the log4j system properly.  
> > > > > > > log4j:WARN See [Apache log4j 1.2 - Frequently Asked Technical Questions](http://logging.apache.org/log4j/1.2/faq.html#noconfig)  
> > > > > > > for more info.
> > > > > > > 
> > > > > > > With help from a developer colleague I have managed to get it to run  
> > > > > > > by adding a suitable log4j.properties file to /usr/share/elasticsearch/bin,  
> > > > > > > cd-ing to that directory and running `./elasticsearch -f -Dlog4j.configuration=./log4j.properties`. However, I'm not sure  
> > > > > > > why this would have been required in the first place and feel there must be  
> > > > > > > something misconfigured that's resulting in the init.d script failing to  
> > > > > > > start ES.
> > > > > > > 
> > > > > > > I have tried adding the following to /etc/elasticsearch/elasticsearch.yml  
> > > > > > > but it doesn't make a difference:
> > > > > > > 
> > > > > > > path.conf: /etc/elasticsearch  
> > > > > > > path.data: /var/lib/elasticsearch  
> > > > > > > path.work: /tmp/elasticsearch  
> > > > > > > path.logs: /var/log/elasticsearch
> > > > > > > 
> > > > > > > ES is one of the dependencies for some software we are running  
> > > > > > > called atom, which only support ES \< v1. The install instructions are  
> > > > > > > available at [https://www.accesstomemory](https://www.accesstomemory).  
> > > > > > > org/en/docs/2.0/admin-manual/installation/linux/#installation-linux.
> > > > > > > 
> > > > > > > The version of Java is Oracle’s JVM distributed by Web Upd8:
> > > > > > > 
> > > > > > > java -version  
> > > > > > > java version "1.8.0\_11"  
> > > > > > > Java(TM) SE Runtime Environment (build 1.8.0\_11-b12)  
> > > > > > > Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
> > > > > > > 
> > > > > > > Thanks for any help you can provide.
> > > > > > > 
> > > > > > > Jim
> > > > > > > 
> > > > > > > --  
> > > > > > > You received this message because you are subscribed to the Google  
> > > > > > > Groups "elasticsearch" group.  
> > > > > > > To unsubscribe from this group and stop receiving emails from it,  
> > > > > > > send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > > > To view this discussion on the web visit  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-](https://groups.google.com/d/msgid/elasticsearch/7a29f981-)  
> > > > > > > 232b-43c9-a60d-7306d1bfdf45%[40googlegroups.com](http://40googlegroups.com)  
> > > > > > > [https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a29f981-232b-43c9-a60d-7306d1bfdf45%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > > .  
> > > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to the Google  
> > > > > > Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this group and stop receiving emails from it,  
> > > > > > send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > > msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq  
> > > > > > 6V7DtFks3Y%2BoYfQWEpLBQ%[40mail.gmail.com](http://40mail.gmail.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAEM624YoNaXtdwCJXvxMcHRSWunaq6V7DtFks3Y%2BoYfQWEpLBQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > > > > > .
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to the Google  
> > > > > Groups "elasticsearch" group.  
> > > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > To view this discussion on the web visit  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/c48aaf92-0592-4987-8e51-cca65e7c354a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > .
> > > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/438b266f-5d35-49bc-8963-ffc8984f884e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/438b266f-5d35-49bc-8963-ffc8984f884e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:07am UTC](https://discuss.elastic.co/t/problem-starting-elasticsearch-0-90-11/19138/11 "2017-07-06T01:07:30Z")

</div>


