# New version 20.5 elastic runs on usb

**URL:** <https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127>\
**Category:** Elasticsearch\
**Created:** [March 13, 2013, 8:26am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127 "2013-03-13T08:26:18Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![steam](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@steam](https://discuss.elastic.co/u/steam)\
**Post date:** [March 13, 2013, 8:26am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/1 "2013-03-13T08:26:18Z")

</div>

- deleted -

---

<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:** [March 13, 2013, 9:05am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/2 "2013-03-13T09:05:12Z")

</div>

Hmmm. Are the same guy that opened this issue? [ES doesn't start up on OpenVZ · Issue #2768 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2768)

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 13 mars 2013 à 09:26, steam [grandebuzon@gmail.com](mailto:grandebuzon@gmail.com) a écrit :

> Hello.  
> I have some question about new version 20.5 elastic. I worked with a version  
> 18.2 and was able to run it on the usb pen drive (for development reasons)  
> but new version when i start it fails with NullPointerException. Here server  
> trace:
> 
> [2013-03-13 09:07:44,775][WARN][bootstrap] jvm uses the  
> client  
> vm, make sure to run `java` with the server vm for best performance by  
> adding `- server` to the command line  
> [2013-03-13 09:07:45,243][INFO][node] [MasterNode]  
> {0.20.5  
> }[4780]: initializing ...  
> [2013-03-13 09:07:45,290][INFO][plugins] [MasterNode]  
> loaded  
> , sites   
> [2013-03-13 09:08:02,915][ERROR][bootstrap] {0.20.5}:  
> Initializa  
> tion Failed ...
> 
> 1. NullPointerException[null]
> 
> New version 20.5 runs from usb on Windows XP. I test with java home 6 and 7  
> The version 18.2 works fine with same conditions.
> 
> I also tested version 20.5 directly in windows and it boots without problem  
> and works well, only fails when I try to boot from usb, or have data folder  
> in usb.
> 
> Thanks in advance.
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![steam](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@steam](https://discuss.elastic.co/u/steam)\
**Post date:** [March 13, 2013, 9:10am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/3 "2013-03-13T09:10:42Z")

</div>

- deleted -

---

<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:** [March 13, 2013, 9:23am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/4 "2013-03-13T09:23:26Z")

</div>

Looks like a permission problem, but I would love to reproduce...  
without stacktrace, not really easy.

Is it possible to patch 0.20.5 in org.elasticsearch.bootstrap.Bootstrap  
to log the stack trace to the console? Thanks!

--- a/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java  
+++ b/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java  
@@ -234,7 +234,7 @@ public class Bootstrap {  
}  
String errorMessage = buildErrorMessage(stage, e);  
if (foreground) {

- 

```
           logger.error(errorMessage);

```

- 

```
           logger.error(errorMessage, e);
        } else {
            System.err.println(errorMessage);
            System.err.flush();

```

Jörg

Am 13.03.13 10:10, schrieb steam:

> I'm not sure if he has the same problem as me.
> 
> 2013/3/13 dadoonet [via Elasticsearch Users]  
> \<[hidden email]\>:
> 
> > Hmmm. Are the same guy that opened this issue?  
> > [ES doesn't start up on OpenVZ · Issue #2768 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2768)
> > 
> > --  
> > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > @dadoonet | @elasticsearchfr | @scrutmydocs
> > 
> > Le 13 mars 2013 à 09:26, steam \<[hidden email]\> a écrit :
> > 
> > Hello.  
> > I have some question about new version 20.5 elastic. I worked with a  
> > version  
> > 18.2 and was able to run it on the usb pen drive (for development  
> > reasons)  
> > but new version when i start it fails with NullPointerException.  
> > Here server  
> > trace:
> > 
> > [2013-03-13 09:07:44,775][WARN][bootstrap] jvm uses  
> > the  
> > client  
> > vm, make sure to run `java` with the server vm for best performance by  
> > adding `- server` to the command line  
> > [2013-03-13 09:07:45,243][INFO][node]  
> > [MasterNode]  
> > {0.20.5  
> > }[4780]: initializing ...  
> > [2013-03-13 09:07:45,290][INFO][plugins]  
> > [MasterNode]  
> > loaded  
> > , sites   
> > [2013-03-13 09:08:02,915][ERROR][bootstrap] {0.20.5}:  
> > Initializa  
> > tion Failed ...
> > 
> > 1. NullPointerException[null]
> > 
> > New version 20.5 runs from usb on Windows XP. I test with java home  
> > 6 and 7  
> > The version 18.2 works fine with same conditions.
> > 
> > I also tested version 20.5 directly in windows and it boots without  
> > problem  
> > and works well, only fails when I try to boot from usb, or have data  
> > folder  
> > in usb.
> > 
> > Thanks in advance.
> > 
> > --  
> > View this message in context:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html)
> 
> > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> > 
> > --  
> > 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 [hidden email].  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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 [hidden email].  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > * * *
> > 
> > If you reply to this email, your message will be added to the  
> > discussion  
> > below:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html)
> 
> > To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> > NAML
> 
> * * *
> 
> ## View this message in context: Re: new version 20.5 elastic runs on usb [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html) Sent from the Elasticsearch Users mailing list archive [http://elasticsearch-users.115913.n3.nabble.com/](http://elasticsearch-users.115913.n3.nabble.com/) at [Nabble.com](http://Nabble.com).
> 
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [March 13, 2013, 9:39am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/5 "2013-03-13T09:39:19Z")

</div>

Hey,

setting the general loglevel in logging.yml to DEBUG should be sufficient,  
judging from the code (line 243). No need to recompile but being able to  
see the exception anyway...

--Alex

On Wed, Mar 13, 2013 at 10:23 AM, Jörg Prante [joergprante@gmail.com](mailto:joergprante@gmail.com) wrote:

> Looks like a permission problem, but I would love to reproduce... without  
> stacktrace, not really easy.
> 
> Is it possible to patch 0.20.5 in org.elasticsearch.bootstrap.\*\*Bootstrap  
> to log the stack trace to the console? Thanks!
> 
> --- a/src/main/java/org/\*\*elasticsearch/bootstrap/\*\*Bootstrap.java  
> +++ b/src/main/java/org/\*\*elasticsearch/bootstrap/\*\*Bootstrap.java  
> @@ -234,7 +234,7 @@ public class Bootstrap {  
> }  
> String errorMessage = buildErrorMessage(stage, e);  
> if (foreground) {
> 
> - 
> 
> ```
> logger.error(errorMessage);
> 
> ```
> 
> - 
> 
> ```
> logger.error(errorMessage, e);
> } else {
> System.err.println(**errorMessage);
> System.err.flush();
> 
> ```
> 
> Jörg
> 
> Am 13.03.13 10:10, schrieb steam:
> 
> > I'm not sure if he has the same problem as me.
> > 
> > 2013/3/13 dadoonet [via Elasticsearch Users]  
> > \<[hidden email]\>:
> > 
> > > Hmmm. Are the same guy that opened this issue?  
> > > [https://github.com/\*\*elasticsearch/elasticsearch/\*\*issues/2768](https://github.com/ **elasticsearch/elasticsearch/** issues/2768)[https://github.com/elasticsearch/elasticsearch/issues/2768](https://github.com/elasticsearch/elasticsearch/issues/2768)
> > > 
> > > --  
> > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > @dadoonet | @elasticsearchfr | @scrutmydocs
> > > 
> > > Le 13 mars 2013 à 09:26, steam \<[hidden email]\> a écrit :
> > > 
> > > Hello.  
> > > I have some question about new version 20.5 elastic. I worked with a  
> > > version  
> > > 18.2 and was able to run it on the usb pen drive (for development  
> > > reasons)  
> > > but new version when i start it fails with NullPointerException. Here  
> > > server  
> > > trace:
> > > 
> > > [2013-03-13 09:07:44,775][WARN][bootstrap] jvm uses the  
> > > client  
> > > vm, make sure to run `java` with the server vm for best performance by  
> > > adding `- server` to the command line  
> > > [2013-03-13 09:07:45,243][INFO][node] [MasterNode]  
> > > {0.20.5  
> > > }[4780]: initializing ...  
> > > [2013-03-13 09:07:45,290][INFO][plugins] [MasterNode]  
> > > loaded  
> > > , sites   
> > > [2013-03-13 09:08:02,915][ERROR][bootstrap] {0.20.5}:  
> > > Initializa  
> > > tion Failed ...
> > > 
> > > 1. NullPointerException[null]
> > > 
> > > New version 20.5 runs from usb on Windows XP. I test with java home 6  
> > > and 7  
> > > The version 18.2 works fine with same conditions.
> > > 
> > > I also tested version 20.5 directly in windows and it boots without  
> > > problem  
> > > and works well, only fails when I try to boot from usb, or have data  
> > > folder  
> > > in usb.
> > > 
> > > Thanks in advance.
> > > 
> > > --  
> > > View this message in context:  
> > > [http://elasticsearch-users](http://elasticsearch-users).**[115913.n3.nabble.com/new-](http://115913.n3.nabble.com/new-)**  
> > > version-20-5-elastic-runs-on-\*\*usb-tp4031555.html[http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html)  
> > > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> > > 
> > > --  
> > > 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 [hidden email].  
> > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> > > .
> > > 
> > > --  
> > > 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 [hidden email].  
> > > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> > > .
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ **\*\***  
> > > If you reply to this email, your message will be added to the discussion  
> > > below:  
> > > [http://elasticsearch-users](http://elasticsearch-users).**[115913.n3.nabble.com/new-](http://115913.n3.nabble.com/new-)**  
> > > version-20-5-elastic-runs-on-\*\*usb-tp4031555p4031567.html[http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html)  
> > > To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> > > NAML
> > 
> > ## ------------------------------ **------------------------------**
> > 
> > View this message in context: Re: new version 20.5 elastic runs on usb \<  
> > [http://elasticsearch-users](http://elasticsearch-users).**[115913.n3.nabble.com/new-](http://115913.n3.nabble.com/new-)**  
> > version-20-5-elastic-runs-on-\*\*usb-tp4031555p4031568.html[http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html)
> > 
> > > 
> > 
> > Sent from the Elasticsearch Users mailing list archive \<  
> > [http://elasticsearch-users](http://elasticsearch-users).\*\*[115913.n3.nabble.com/](http://115913.n3.nabble.com/)[http://elasticsearch-users.115913.n3.nabble.com/](http://elasticsearch-users.115913.n3.nabble.com/)\>  
> > at [Nabble.com](http://Nabble.com).
> > 
> > --  
> > 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](http://googlegroups.com)[elasticsearch%2Bunsubscribe@googlegroups.com](mailto:elasticsearch%2Bunsubscribe@googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> > .
> 
> --  
> 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](http://googlegroups.com)[elasticsearch%2Bunsubscribe@googlegroups.com](mailto:elasticsearch%2Bunsubscribe@googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/\*\*groups/opt\_out](https://groups.google.com/**groups/opt_out)[https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out)  
> .

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![steam](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@steam](https://discuss.elastic.co/u/steam)\
**Post date:** [March 13, 2013, 9:52am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/6 "2013-03-13T09:52:05Z")

</div>

- deleted -

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [March 13, 2013, 10:49am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/7 "2013-03-13T10:49:59Z")

</div>

Hey,

unfortunately the trace is ending, where the interesting data is about to  
be seen. A little question: Have copied and pasted the trace from the  
console output or did you take a look at the logfile? If you havent done  
the latter, please take a look there, possibly the stack trace is only  
listed in the file (judging roughly from the source).

Thanks!

On Wed, Mar 13, 2013 at 10:52 AM, steam [grandebuzon@gmail.com](mailto:grandebuzon@gmail.com) wrote:

> Here is the trace in debug mode.
> 
> [2013-03-13 10:49:41,477][WARN][bootstrap] jvm uses the  
> client  
> vm, make sure to run `java` with the server vm for best performance by  
> adding `- server` to the command line  
> [2013-03-13 10:49:41,524][INFO][node] [MasterNode]  
> {0.20.5  
> }[964]: initializing ...  
> [2013-03-13 10:49:41,540][DEBUG][node] [MasterNode]  
> using h  
> ome [v:\DESARROLLO\elasticsearch-0.20.5], config  
> [v:\DESARROLLO\elasticsearch-0.  
> 20.5\config], data [[v:\DESARROLLO\elasticsearch-0.20.5\data]], logs  
> [v:\DESARRO  
> LLO\elasticsearch-0.20.5\logs], work  
> [v:\DESARROLLO\elasticsearch-0.20.5\work],  
> plugins [v:\DESARROLLO\elasticsearch-0.20.5\plugins]  
> [2013-03-13 10:49:41,571][INFO][plugins] [MasterNode]  
> loaded  
> , sites   
> [2013-03-13 10:49:41,649][DEBUG][common.compress.lzf] using  
> [UnsafeChunkDe  
> coder] decoder  
> [2013-03-13 10:49:41,962][DEBUG][env] [MasterNode]  
> using n  
> ode location  
> [[v:\DESARROLLO\elasticsearch-0.20.5\data\MyClaster\nodes\0]], loca  
> l\_node\_id [0]  
> [2013-03-13 10:49:47,540][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [generic], type [cached], keep\_alive [30s]  
> [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [index], type [cached], keep\_alive [5m]  
> [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [bulk], type [cached], keep\_alive [5m]  
> [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [get], type [cached], keep\_alive [5m]  
> [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [search], type [cached], keep\_alive [5m]  
> [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [percolate], type [cached], keep\_alive [5m]  
> [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [management], type [scaling], min [1], size [5], keep\_alive  
> [5m]  
> [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [flush], type [scaling], min [1], size [10], keep\_alive [5m]  
> [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [merge], type [scaling], min [1], size [20], keep\_alive [5m]  
> [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [refresh], type [scaling], min [1], size [10], keep\_alive  
> [5m]  
> [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [cache], type [scaling], min [1], size [4], keep\_alive [5m]  
> [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> creatin  
> g thread\_pool [snapshot], type [scaling], min [1], size [5], keep\_alive  
> [5m]  
> [2013-03-13 10:49:47,712][DEBUG][transport.netty] [MasterNode]  
> using w  
> orker\_count[4], port[9233], bind\_host[null], publish\_host[null],  
> compress[false]  
> , connect\_timeout[30s], connections\_per\_node[2/6/1],  
> receive\_predictor[512kb-\>51  
> 2kb]  
> [2013-03-13 10:49:47,743][DEBUG][discovery.zen.ping.multicast]  
> [MasterNode] usin  
> g group [224.2.2.4], with port [54328], ttl [3], and address [null]  
> [2013-03-13 10:49:47,759][DEBUG][discovery.zen.ping.unicast] [MasterNode]  
> using  
> initial hosts , with concurrent\_connects [10]  
> [2013-03-13 10:49:47,759][DEBUG][discovery.zen] [MasterNode]  
> using p  
> ing.timeout [3s], master\_election.filter\_client [true],  
> master\_election.filter\_d  
> ata [false]  
> [2013-03-13 10:49:47,774][DEBUG][discovery.zen.elect] [MasterNode]  
> using m  
> inimum\_master\_nodes [-1]  
> [2013-03-13 10:49:47,774][DEBUG][discovery.zen.fd] [MasterNode]  
> [master  
> ] uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> [2013-03-13 10:49:47,806][DEBUG][discovery.zen.fd] [MasterNode]  
> [node  
> ] uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> [2013-03-13 10:49:47,931][DEBUG][monitor.jvm] [MasterNode]  
> enabled  
> [true], last\_gc\_enabled [false], interval [1s], gc\_threshold  
> [{default=GcThresh  
> old{name='default', warnThreshold=10000, infoThreshold=5000,  
> debugThreshold=2000  
> }, ParNew=GcThreshold{name='ParNew', warnThreshold=1000,  
> infoThreshold=700, debu  
> gThreshold=400},  
> ConcurrentMarkSweep=GcThreshold{name='ConcurrentMarkSweep', war  
> nThreshold=10000, infoThreshold=5000, debugThreshold=2000}}]  
> [2013-03-13 10:49:48,477][DEBUG][monitor.os] [MasterNode]  
> Using p  
> robe [org.elasticsearch.monitor.os.SigarOsProbe@e1666] with  
> refresh\_interval [1s  
> ]  
> [2013-03-13 10:49:48,509][DEBUG][monitor.process] [MasterNode]  
> Using p  
> robe [org.elasticsearch.monitor.process.SigarProcessProbe@111ae04] with  
> refresh\_  
> interval [1s]  
> [2013-03-13 10:49:48,540][DEBUG][monitor.jvm] [MasterNode]  
> Using r  
> efresh\_interval [1s]  
> [2013-03-13 10:49:48,540][DEBUG][monitor.network] [MasterNode]  
> Using p  
> robe [org.elasticsearch.monitor.network.SigarNetworkProbe@11a9310] with  
> refresh\_  
> interval [5s]  
> [2013-03-13 10:49:48,727][DEBUG][monitor.network] [MasterNode]  
> net\_inf  
> o  
> host [pc-aneverenchuk]  
> lo display\_name [MS TCP Loopback interface]  
> address [/127.0.0.1]  
> mtu [1520] multicast [true] ptp [false] loopback [true] up  
> [true  
> ] virtual [false]  
> eth0 display\_name [Broadcom NetXtreme 57xx Gigabit Controller -  
> Deterministic  
> Network Enhancer Miniport]  
> address [/192.168.4.242]  
> mtu [1500] multicast [true] ptp [false] loopback [false]  
> up [tru  
> e] virtual [false]
> 
> [2013-03-13 10:49:49,649][DEBUG][indices.store] [MasterNode]  
> using i  
> ndices.store.throttle.type [none], with  
> index.store.throttle.max\_bytes\_per\_sec [  
> 0b]  
> [2013-03-13 10:49:49,696][DEBUG][cache.memory] [MasterNode]  
> using b  
> ytebuffer cache with small\_buffer\_size [1kb], large\_buffer\_size [1mb],  
> small\_cac  
> he\_size [10mb], large\_cache\_size [500mb], direct [true]  
> [2013-03-13 10:49:49,727][DEBUG][script] [MasterNode]  
> using s  
> cript cache with max\_size [500], expire [null]  
> [2013-03-13 10:49:49,899][DEBUG][cluster.routing.allocation.decider]  
> [MasterNode  
> ] using node\_concurrent\_recoveries [2], node\_initial\_primaries\_recoveries  
> [4]  
> [2013-03-13 10:49:49,915][DEBUG][cluster.routing.allocation.decider]  
> [MasterNode  
> ] using [cluster.routing.allocation.allow\_rebalance] with  
> [indices\_all\_active]  
> [2013-03-13 10:49:49,915][DEBUG][cluster.routing.allocation.decider]  
> [MasterNode  
> ] using [cluster\_concurrent\_rebalance] with [2]  
> [2013-03-13 10:49:49,946][DEBUG][gateway.local] [MasterNode]  
> using i  
> nitial\_shards [quorum], list\_timeout [30s]  
> [2013-03-13 10:49:54,118][DEBUG][http.netty] [MasterNode]  
> using m  
> ax\_chunk\_size[8kb], max\_header\_size[8kb], max\_initial\_line\_length[4kb],  
> max\_cont  
> ent\_length[100mb], receive\_predictor[512kb-\>512kb]  
> [2013-03-13 10:49:54,352][DEBUG][indices.recovery] [MasterNode]  
> using m  
> ax\_size\_per\_sec[0b], concurrent\_streams [3], file\_chunk\_size [512kb],  
> translog\_s  
> ize [512kb], translog\_ops [1000], and compress [true]  
> [2013-03-13 10:49:54,399][DEBUG][indices.memory] [MasterNode]  
> using i  
> ndex\_buffer\_size [102mb], with min\_shard\_index\_buffer\_size [4mb],  
> max\_shard\_inde  
> x\_buffer\_size [512mb], shard\_inactive\_time [30m]  
> [2013-03-13 10:49:54,415][DEBUG][indices.cache.filter] [MasterNode]  
> using [  
> node] weighted filter cache with size [20%], actual\_size [204.1mb], expire  
> [null  
> ], clean\_interval [1m]  
> [2013-03-13 10:49:54,821][DEBUG][gateway.local.state.meta] [MasterNode]  
> using g  
> ateway.local.auto\_import\_dangled [YES], with  
> gateway.local.dangling\_timeout [2h]
> 
> [2013-03-13 10:49:54,821][DEBUG][gateway.local.state.meta] [MasterNode]  
> took 0s  
> to load state  
> [2013-03-13 10:49:54,837][DEBUG][gateway.local.state.shards] [MasterNode]  
> took 1  
> 6ms to load started shards state  
> [2013-03-13 10:49:55,102][ERROR][bootstrap] {0.20.5}:  
> Initializa  
> tion Failed ...
> 
> 1. NullPointerException[null]  
> Presione una tecla para continuar . . .
> 
> 2013/3/13 Alexander Reelsen-2 [via Elasticsearch Users]  
> \<[hidden email] [http://user/SendEmail.jtp?type=node&node=4031575&i=0](http://user/SendEmail.jtp?type=node&node=4031575&i=0)\>:
> 
> > Hey,
> > 
> > setting the general loglevel in logging.yml to DEBUG should be  
> > sufficient,  
> > judging from the code (line 243). No need to recompile but being able to  
> > see  
> > the exception anyway...
> > 
> > --Alex
> > 
> > On Wed, Mar 13, 2013 at 10:23 AM, Jörg Prante \<[hidden email]\> wrote:
> > 
> > > Looks like a permission problem, but I would love to reproduce...  
> > > without  
> > > stacktrace, not really easy.
> > > 
> > > Is it possible to patch 0.20.5 in org.elasticsearch.bootstrap.Bootstrap  
> > > to  
> > > log the stack trace to the console? Thanks!
> > > 
> > > --- a/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java  
> > > +++ b/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java  
> > > @@ -234,7 +234,7 @@ public class Bootstrap {  
> > > }  
> > > String errorMessage = buildErrorMessage(stage, e);  
> > > if (foreground) {
> > > 
> > > - 
> > > 
> > > ```
> > > logger.error(errorMessage);
> > > 
> > > ```
> > > 
> > > - 
> > > 
> > > ```
> > > logger.error(errorMessage, e);
> > > } else {
> > > System.err.println(errorMessage);
> > > System.err.flush();
> > > 
> > > ```
> > > 
> > > Jörg
> > > 
> > > Am 13.03.13 10:10, schrieb steam:
> > > 
> > > > I'm not sure if he has the same problem as me.
> > > > 
> > > > 2013/3/13 dadoonet [via Elasticsearch Users]  
> > > > \<[hidden email]\>:
> > > > 
> > > > > Hmmm. Are the same guy that opened this issue?  
> > > > > [ES doesn't start up on OpenVZ · Issue #2768 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2768)
> > > > > 
> > > > > --  
> > > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > > @dadoonet | @elasticsearchfr | @scrutmydocs
> > > > > 
> > > > > Le 13 mars 2013 à 09:26, steam \<[hidden email]\> a écrit :
> > > > > 
> > > > > Hello.  
> > > > > I have some question about new version 20.5 elastic. I worked with a  
> > > > > version  
> > > > > 18.2 and was able to run it on the usb pen drive (for development  
> > > > > reasons)  
> > > > > but new version when i start it fails with NullPointerException.  
> > > > > Here  
> > > > > server  
> > > > > trace:
> > > > > 
> > > > > [2013-03-13 09:07:44,775][WARN][bootstrap] jvm uses  
> > > > > the  
> > > > > client  
> > > > > vm, make sure to run `java` with the server vm for best performance  
> > > > > by  
> > > > > adding `- server` to the command line  
> > > > > [2013-03-13 09:07:45,243][INFO][node]  
> > > > > [MasterNode]  
> > > > > {0.20.5  
> > > > > }[4780]: initializing ...  
> > > > > [2013-03-13 09:07:45,290][INFO][plugins]  
> > > > > [MasterNode]  
> > > > > loaded  
> > > > > , sites   
> > > > > [2013-03-13 09:08:02,915][ERROR][bootstrap]  
> > > > > {0.20.5}:  
> > > > > Initializa  
> > > > > tion Failed ...
> > > > > 
> > > > > 1. NullPointerException[null]
> > > > > 
> > > > > New version 20.5 runs from usb on Windows XP. I test with java home  
> > > > > 6  
> > > > > and 7  
> > > > > The version 18.2 works fine with same conditions.
> > > > > 
> > > > > I also tested version 20.5 directly in windows and it boots without  
> > > > > problem  
> > > > > and works well, only fails when I try to boot from usb, or have data  
> > > > > folder  
> > > > > in usb.
> > > > > 
> > > > > Thanks in advance.
> > > > > 
> > > > > --  
> > > > > View this message in context:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html)
> 
> > > > > Sent from the Elasticsearch Users mailing list archive at  
> > > > > [Nabble.com](http://Nabble.com).
> > > > > 
> > > > > --  
> > > > > 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 [hidden email].  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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 [hidden email].  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > * * *
> > > > > 
> > > > > If you reply to this email, your message will be added to the  
> > > > > discussion  
> > > > > below:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html)
> 
> > > > > To unsubscribe from new version 20.5 elastic runs on usb, click  
> > > > > here.  
> > > > > NAML
> 
> * * *
> 
> > > > View this message in context: Re: new version 20.5 elastic runs on usb  
> > > > \<  
> > > > [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html)\>
> 
> > > > Sent from the Elasticsearch Users mailing list archive  
> > > > [http://elasticsearch-users.115913.n3.nabble.com/](http://elasticsearch-users.115913.n3.nabble.com/) at [Nabble.com](http://Nabble.com).
> > > > 
> > > > --  
> > > > 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 [hidden email].  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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 [hidden email].  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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 [hidden email].  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > * * *
> > 
> > If you reply to this email, your message will be added to the discussion  
> > below:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031571.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031571.html)
> 
> > To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> > NAML
> 
> * * *
> 
> View this message in context: Re: new version 20.5 elastic runs on usb[http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031575.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031575.html)  
> Sent from the Elasticsearch Users mailing list archive[http://elasticsearch-users.115913.n3.nabble.com/](http://elasticsearch-users.115913.n3.nabble.com/)at [Nabble.com](http://Nabble.com).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![steam](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@steam](https://discuss.elastic.co/u/steam)\
**Post date:** [March 13, 2013, 10:59am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/8 "2013-03-13T10:59:01Z")

</div>

Logs from the beginning...

[2013-03-13 10:48:08,291][DEBUG][monitor.jvm]  
[MasterNode] Using refresh\_interval [1s]  
[2013-03-13 10:48:08,291][DEBUG][monitor.network]  
[MasterNode] Using probe  
[org.elasticsearch.monitor.network.SigarNetworkProbe@1ad093c] with  
refresh\_interval [5s]  
[2013-03-13 10:48:09,104][DEBUG][monitor.network]  
[MasterNode] net\_info  
host [pc-steam]  
lo display\_name [MS TCP Loopback interface]  
address [/127.0.0.1]  
mtu [1520] multicast [true] ptp [false] loopback [true] up [true]  
virtual [false]  
eth0 display\_name [Broadcom NetXtreme 57xx Gigabit Controller -  
Deterministic Network Enhancer Miniport]  
address [/192.168.4.242]  
mtu [1500] multicast [true] ptp [false] loopback [false] up [true]  
virtual [false]

[2013-03-13 10:48:10,354][DEBUG][indices.store]  
[MasterNode] using indices.store.throttle.type [none], with  
index.store.throttle.max\_bytes\_per\_sec [0b]  
[2013-03-13 10:48:10,401][DEBUG][cache.memory]  
[MasterNode] using bytebuffer cache with small\_buffer\_size [1kb],  
large\_buffer\_size [1mb], small\_cache\_size [10mb], large\_cache\_size  
[500mb], direct [true]  
[2013-03-13 10:48:10,447][DEBUG][script]  
[MasterNode] using script cache with max\_size [500], expire [null]  
[2013-03-13 10:48:10,651][DEBUG][cluster.routing.allocation.decider]  
[MasterNode] using node\_concurrent\_recoveries [2],  
node\_initial\_primaries\_recoveries [4]  
[2013-03-13 10:48:10,651][DEBUG][cluster.routing.allocation.decider]  
[MasterNode] using [cluster.routing.allocation.allow\_rebalance] with  
[indices\_all\_active]  
[2013-03-13 10:48:10,666][DEBUG][cluster.routing.allocation.decider]  
[MasterNode] using [cluster\_concurrent\_rebalance] with [2]  
[2013-03-13 10:48:10,697][DEBUG][gateway.local]  
[MasterNode] using initial\_shards [quorum], list\_timeout [30s]  
[2013-03-13 10:48:14,963][DEBUG][http.netty]  
[MasterNode] using max\_chunk\_size[8kb], max\_header\_size[8kb],  
max\_initial\_line\_length[4kb], max\_content\_length[100mb],  
receive\_predictor[512kb-\>512kb]  
[2013-03-13 10:48:15,494][DEBUG][indices.recovery]  
[MasterNode] using max\_size\_per\_sec[0b], concurrent\_streams [3],  
file\_chunk\_size [512kb], translog\_size [512kb], translog\_ops [1000],  
and compress [true]  
[2013-03-13 10:48:15,541][DEBUG][indices.memory]  
[MasterNode] using index\_buffer\_size [102mb], with  
min\_shard\_index\_buffer\_size [4mb], max\_shard\_index\_buffer\_size  
[512mb], shard\_inactive\_time [30m]  
[2013-03-13 10:48:15,557][DEBUG][indices.cache.filter]  
[MasterNode] using [node] weighted filter cache with size [20%],  
actual\_size [204.1mb], expire [null], clean\_interval [1m]  
[2013-03-13 10:48:15,994][DEBUG][gateway.local.state.meta]  
[MasterNode] using gateway.local.auto\_import\_dangled [YES], with  
gateway.local.dangling\_timeout [2h]  
[2013-03-13 10:48:15,994][DEBUG][gateway.local.state.meta]  
[MasterNode] took 0s to load state  
[2013-03-13 10:48:15,994][DEBUG][gateway.local.state.shards]  
[MasterNode] took 0s to load started shards state  
[2013-03-13 10:48:16,666][ERROR][bootstrap] {0.20.5}:  
Initialization Failed ...

1. NullPointerException[null]  
[2013-03-13 10:48:16,666][DEBUG][bootstrap] Exception  
org.elasticsearch.common.inject.CreationException: Guice creation errors:

2. Error injecting constructor, java.lang.NullPointerException  
at org.elasticsearch.monitor.fs.FsService.(Unknown Source)  
while locating org.elasticsearch.monitor.fs.FsService  
for parameter 6 at  
org.elasticsearch.monitor.MonitorService.(Unknown Source)  
while locating org.elasticsearch.monitor.MonitorService  
for parameter 2 at  
org.elasticsearch.node.service.NodeService.(Unknown Source)  
while locating org.elasticsearch.node.service.NodeService  
Caused by: java.lang.NullPointerException  
at org.elasticsearch.monitor.fs.SigarFsProbe.stats(SigarFsProbe.java:72)  
at org.elasticsearch.monitor.fs.FsService.(FsService.java:41)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)  
at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)  
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)  
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)  
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)  
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)  
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)  
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)  
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)  
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:200)  
at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)  
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:812)  
at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)  
at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)  
at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)  
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)  
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)  
at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)  
at org.elasticsearch.node.internal.InternalNode.(InternalNode.java:167)  
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:67)  
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:200)  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)

3. Error injecting constructor, java.lang.NullPointerException  
at org.elasticsearch.monitor.fs.FsService.(Unknown Source)  
while locating org.elasticsearch.monitor.fs.FsService  
for parameter 6 at  
org.elasticsearch.monitor.MonitorService.(Unknown Source)  
while locating org.elasticsearch.monitor.MonitorService  
for parameter 2 at  
org.elasticsearch.node.service.NodeService.(Unknown Source)  
while locating org.elasticsearch.node.service.NodeService  
for parameter 5 at  
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.(Unknown  
Source)  
while locating  
org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction  
while locating org.elasticsearch.action.support.TransportAction  
annotated with @org.elasticsearch.common.inject.multibindings.Element(setName=,uniqueId=214)  
at org.elasticsearch.action.ActionModule.configure(ActionModule.java:241)  
while locating java.util.Map\<org.elasticsearch.action.GenericAction,  
org.elasticsearch.action.support.TransportAction\>  
for parameter 2 at  
org.elasticsearch.client.node.NodeClusterAdminClient.(Unknown  
Source)  
while locating org.elasticsearch.client.node.NodeClusterAdminClient  
for parameter 1 at  
org.elasticsearch.client.node.NodeAdminClient.(Unknown Source)  
while locating org.elasticsearch.client.node.NodeAdminClient  
for parameter 2 at  
org.elasticsearch.client.node.NodeClient.(Unknown Source)  
while locating org.elasticsearch.client.node.NodeClient  
while locating org.elasticsearch.client.Client  
for parameter 1 at  
org.elasticsearch.rest.action.main.RestMainAction.(Unknown  
Source)  
while locating org.elasticsearch.rest.action.main.RestMainAction  
Caused by: java.lang.NullPointerException  
at org.elasticsearch.monitor.fs.SigarFsProbe.stats(SigarFsProbe.java:72)  
at org.elasticsearch.monitor.fs.FsService.(FsService.java:41)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)  
at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)  
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)

2013/3/13 - [grandebuzon@gmail.com](mailto:grandebuzon@gmail.com):

> Error at line 72, SigarFsProbe.java
> 
> org.elasticsearch.monitor.fs.SigarFsProbe.stats(SigarFsProbe.java:72)
> 
> This is a log file:
> 
> 1. Error injecting constructor, java.lang.NullPointerException  
> at org.elasticsearch.monitor.fs.FsService.(Unknown Source)  
> while locating org.elasticsearch.monitor.fs.FsService  
> for parameter 6 at  
> org.elasticsearch.monitor.MonitorService.(Unknown Source)  
> while locating org.elasticsearch.monitor.MonitorService  
> for parameter 2 at  
> org.elasticsearch.node.service.NodeService.(Unknown Source)  
> while locating org.elasticsearch.node.service.NodeService  
> for parameter 5 at  
> org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.(Unknown  
> Source)  
> while locating  
> org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction  
> while locating org.elasticsearch.action.support.TransportAction  
> annotated with @org.elasticsearch.common.inject.multibindings.Element(setName=,uniqueId=214)  
> at org.elasticsearch.action.ActionModule.configure(ActionModule.java:241)  
> while locating java.util.Map\<org.elasticsearch.action.GenericAction,  
> org.elasticsearch.action.support.TransportAction\>  
> for parameter 2 at  
> org.elasticsearch.client.node.NodeClusterAdminClient.(Unknown  
> Source)  
> while locating org.elasticsearch.client.node.NodeClusterAdminClient  
> for parameter 1 at  
> org.elasticsearch.client.node.NodeAdminClient.(Unknown Source)  
> while locating org.elasticsearch.client.node.NodeAdminClient  
> for parameter 2 at  
> org.elasticsearch.client.node.NodeClient.(Unknown Source)  
> while locating org.elasticsearch.client.node.NodeClient  
> while locating org.elasticsearch.client.Client  
> for parameter 0 at  
> org.elasticsearch.index.search.shape.ShapeFetchService.(Unknown  
> Source)  
> while locating org.elasticsearch.index.search.shape.ShapeFetchService  
> Caused by: java.lang.NullPointerException  
> at org.elasticsearch.monitor.fs.SigarFsProbe.stats(SigarFsProbe.java:72)  
> at org.elasticsearch.monitor.fs.FsService.(FsService.java:41)  
> at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)  
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)  
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)  
> at org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)  
> at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)  
> at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)  
> at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)  
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)  
> at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
> at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
> at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
> at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
> at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
> at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
> at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
> at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
> at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)  
> at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)  
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)  
> at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
> at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
> at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
> at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
> at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)  
> at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)  
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)  
> at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
> at org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)  
> at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)  
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)  
> at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
> at org.elasticsearch.common.inject.InjectorImpl$4$1.call(InjectorImpl.java:763)  
> at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
> at org.elasticsearch.common.inject.InjectorImpl$4.get(InjectorImpl.java:759)  
> at org.elasticsearch.common.inject.spi.ProviderLookup$1.get(ProviderLookup.java:90)  
> at org.elasticsearch.common.inject.multibindings.MapBinder$RealMapBinder$2.get(MapBinder.java:304)  
> at org.elasticsearch.common.inject.multibindings.MapBinder$RealMapBinder$2.get(MapBinder.java:300)  
> at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
> at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
> at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
> at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
> at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
> at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
> at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
> at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
> at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
> at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
> at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
> at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
> at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
> at org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)  
> at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)  
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)  
> at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
> at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)  
> at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)  
> at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)  
> at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)  
> at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)  
> at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)  
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)  
> at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)  
> at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:200)  
> at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)  
> at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:812)  
> at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)  
> at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)  
> at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)  
> at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)  
> at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)  
> at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)  
> at org.elasticsearch.node.internal.InternalNode.(InternalNode.java:167)  
> at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)  
> at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:67)  
> at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:200)  
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
> 
> 2013/3/13 Alexander Reelsen-2 [via Elasticsearch Users]  
> [ml-node+s115913n4031577h81@n3.nabble.com](mailto:ml-node+s115913n4031577h81@n3.nabble.com):
> 
> > Hey,
> > 
> > unfortunately the trace is ending, where the interesting data is about to be  
> > seen. A little question: Have copied and pasted the trace from the console  
> > output or did you take a look at the logfile? If you havent done the latter,  
> > please take a look there, possibly the stack trace is only listed in the  
> > file (judging roughly from the source).
> > 
> > Thanks!
> > 
> > On Wed, Mar 13, 2013 at 10:52 AM, steam \<[hidden email]\> wrote:
> > 
> > > Here is the trace in debug mode.
> > > 
> > > [2013-03-13 10:49:41,477][WARN][bootstrap] jvm uses the  
> > > client  
> > > vm, make sure to run `java` with the server vm for best performance by  
> > > adding `- server` to the command line  
> > > [2013-03-13 10:49:41,524][INFO][node] [MasterNode]  
> > > {0.20.5  
> > > }[964]: initializing ...  
> > > [2013-03-13 10:49:41,540][DEBUG][node] [MasterNode]  
> > > using h  
> > > ome [v:\DESARROLLO\elasticsearch-0.20.5], config  
> > > [v:\DESARROLLO\elasticsearch-0.  
> > > 20.5\config], data [[v:\DESARROLLO\elasticsearch-0.20.5\data]], logs  
> > > [v:\DESARRO  
> > > LLO\elasticsearch-0.20.5\logs], work  
> > > [v:\DESARROLLO\elasticsearch-0.20.5\work],  
> > > plugins [v:\DESARROLLO\elasticsearch-0.20.5\plugins]  
> > > [2013-03-13 10:49:41,571][INFO][plugins] [MasterNode]  
> > > loaded  
> > > , sites   
> > > [2013-03-13 10:49:41,649][DEBUG][common.compress.lzf] using  
> > > [UnsafeChunkDe  
> > > coder] decoder  
> > > [2013-03-13 10:49:41,962][DEBUG][env] [MasterNode]  
> > > using n  
> > > ode location  
> > > [[v:\DESARROLLO\elasticsearch-0.20.5\data\MyClaster\nodes\0]], loca  
> > > l\_node\_id [0]  
> > > [2013-03-13 10:49:47,540][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [generic], type [cached], keep\_alive [30s]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [index], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [bulk], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [get], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [search], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [percolate], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [management], type [scaling], min [1], size [5], keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [flush], type [scaling], min [1], size [10], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [merge], type [scaling], min [1], size [20], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [refresh], type [scaling], min [1], size [10], keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [cache], type [scaling], min [1], size [4], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool] [MasterNode]  
> > > creatin  
> > > g thread\_pool [snapshot], type [scaling], min [1], size [5], keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,712][DEBUG][transport.netty] [MasterNode]  
> > > using w  
> > > orker\_count[4], port[9233], bind\_host[null], publish\_host[null],  
> > > compress[false]  
> > > , connect\_timeout[30s], connections\_per\_node[2/6/1],  
> > > receive\_predictor[512kb-\>51  
> > > 2kb]  
> > > [2013-03-13 10:49:47,743][DEBUG][discovery.zen.ping.multicast]  
> > > [MasterNode] usin  
> > > g group [224.2.2.4], with port [54328], ttl [3], and address [null]  
> > > [2013-03-13 10:49:47,759][DEBUG][discovery.zen.ping.unicast] [MasterNode]  
> > > using  
> > > initial hosts , with concurrent\_connects [10]  
> > > [2013-03-13 10:49:47,759][DEBUG][discovery.zen] [MasterNode]  
> > > using p  
> > > ing.timeout [3s], master\_election.filter\_client [true],  
> > > master\_election.filter\_d  
> > > ata [false]  
> > > [2013-03-13 10:49:47,774][DEBUG][discovery.zen.elect] [MasterNode]  
> > > using m  
> > > inimum\_master\_nodes [-1]  
> > > [2013-03-13 10:49:47,774][DEBUG][discovery.zen.fd] [MasterNode]  
> > > [master  
> > > ] uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> > > [2013-03-13 10:49:47,806][DEBUG][discovery.zen.fd] [MasterNode]  
> > > [node  
> > > ] uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> > > [2013-03-13 10:49:47,931][DEBUG][monitor.jvm] [MasterNode]  
> > > enabled  
> > > [true], last\_gc\_enabled [false], interval [1s], gc\_threshold  
> > > [{default=GcThresh  
> > > old{name='default', warnThreshold=10000, infoThreshold=5000,  
> > > debugThreshold=2000  
> > > }, ParNew=GcThreshold{name='ParNew', warnThreshold=1000,  
> > > infoThreshold=700, debu  
> > > gThreshold=400},  
> > > ConcurrentMarkSweep=GcThreshold{name='ConcurrentMarkSweep', war  
> > > nThreshold=10000, infoThreshold=5000, debugThreshold=2000}}]  
> > > [2013-03-13 10:49:48,477][DEBUG][monitor.os] [MasterNode]  
> > > Using p  
> > > robe [org.elasticsearch.monitor.os.SigarOsProbe@e1666] with  
> > > refresh\_interval [1s  
> > > ]  
> > > [2013-03-13 10:49:48,509][DEBUG][monitor.process] [MasterNode]  
> > > Using p  
> > > robe [org.elasticsearch.monitor.process.SigarProcessProbe@111ae04] with  
> > > refresh\_  
> > > interval [1s]  
> > > [2013-03-13 10:49:48,540][DEBUG][monitor.jvm] [MasterNode]  
> > > Using r  
> > > efresh\_interval [1s]  
> > > [2013-03-13 10:49:48,540][DEBUG][monitor.network] [MasterNode]  
> > > Using p  
> > > robe [org.elasticsearch.monitor.network.SigarNetworkProbe@11a9310] with  
> > > refresh\_  
> > > interval [5s]  
> > > [2013-03-13 10:49:48,727][DEBUG][monitor.network] [MasterNode]  
> > > net\_inf  
> > > o  
> > > host [pc-aneverenchuk]  
> > > lo display\_name [MS TCP Loopback interface]  
> > > address [/127.0.0.1]  
> > > mtu [1520] multicast [true] ptp [false] loopback [true] up  
> > > [true  
> > > ] virtual [false]  
> > > eth0 display\_name [Broadcom NetXtreme 57xx Gigabit Controller -  
> > > Deterministic  
> > > Network Enhancer Miniport]  
> > > address [/192.168.4.242]  
> > > mtu [1500] multicast [true] ptp [false] loopback [false]  
> > > up [tru  
> > > e] virtual [false]
> > > 
> > > [2013-03-13 10:49:49,649][DEBUG][indices.store] [MasterNode]  
> > > using i  
> > > ndices.store.throttle.type [none], with  
> > > index.store.throttle.max\_bytes\_per\_sec [  
> > > 0b]  
> > > [2013-03-13 10:49:49,696][DEBUG][cache.memory] [MasterNode]  
> > > using b  
> > > ytebuffer cache with small\_buffer\_size [1kb], large\_buffer\_size [1mb],  
> > > small\_cac  
> > > he\_size [10mb], large\_cache\_size [500mb], direct [true]  
> > > [2013-03-13 10:49:49,727][DEBUG][script] [MasterNode]  
> > > using s  
> > > cript cache with max\_size [500], expire [null]  
> > > [2013-03-13 10:49:49,899][DEBUG][cluster.routing.allocation.decider]  
> > > [MasterNode  
> > > ] using node\_concurrent\_recoveries [2], node\_initial\_primaries\_recoveries  
> > > [4]  
> > > [2013-03-13 10:49:49,915][DEBUG][cluster.routing.allocation.decider]  
> > > [MasterNode  
> > > ] using [cluster.routing.allocation.allow\_rebalance] with  
> > > [indices\_all\_active]  
> > > [2013-03-13 10:49:49,915][DEBUG][cluster.routing.allocation.decider]  
> > > [MasterNode  
> > > ] using [cluster\_concurrent\_rebalance] with [2]  
> > > [2013-03-13 10:49:49,946][DEBUG][gateway.local] [MasterNode]  
> > > using i  
> > > nitial\_shards [quorum], list\_timeout [30s]  
> > > [2013-03-13 10:49:54,118][DEBUG][http.netty] [MasterNode]  
> > > using m  
> > > ax\_chunk\_size[8kb], max\_header\_size[8kb], max\_initial\_line\_length[4kb],  
> > > max\_cont  
> > > ent\_length[100mb], receive\_predictor[512kb-\>512kb]  
> > > [2013-03-13 10:49:54,352][DEBUG][indices.recovery] [MasterNode]  
> > > using m  
> > > ax\_size\_per\_sec[0b], concurrent\_streams [3], file\_chunk\_size [512kb],  
> > > translog\_s  
> > > ize [512kb], translog\_ops [1000], and compress [true]  
> > > [2013-03-13 10:49:54,399][DEBUG][indices.memory] [MasterNode]  
> > > using i  
> > > ndex\_buffer\_size [102mb], with min\_shard\_index\_buffer\_size [4mb],  
> > > max\_shard\_inde  
> > > x\_buffer\_size [512mb], shard\_inactive\_time [30m]  
> > > [2013-03-13 10:49:54,415][DEBUG][indices.cache.filter] [MasterNode]  
> > > using [  
> > > node] weighted filter cache with size [20%], actual\_size [204.1mb], expire  
> > > [null  
> > > ], clean\_interval [1m]  
> > > [2013-03-13 10:49:54,821][DEBUG][gateway.local.state.meta] [MasterNode]  
> > > using g  
> > > ateway.local.auto\_import\_dangled [YES], with  
> > > gateway.local.dangling\_timeout [2h]
> > > 
> > > [2013-03-13 10:49:54,821][DEBUG][gateway.local.state.meta] [MasterNode]  
> > > took 0s  
> > > to load state  
> > > [2013-03-13 10:49:54,837][DEBUG][gateway.local.state.shards] [MasterNode]  
> > > took 1  
> > > 6ms to load started shards state  
> > > [2013-03-13 10:49:55,102][ERROR][bootstrap] {0.20.5}:  
> > > Initializa  
> > > tion Failed ...
> > > 
> > > 1. NullPointerException[null]  
> > > Presione una tecla para continuar . . .
> > > 
> > > 2013/3/13 Alexander Reelsen-2 [via Elasticsearch Users]  
> > > \<[hidden email]\>:
> > > 
> > > > Hey,
> > > > 
> > > > setting the general loglevel in logging.yml to DEBUG should be  
> > > > sufficient,  
> > > > judging from the code (line 243). No need to recompile but being able to  
> > > > see  
> > > > the exception anyway...
> > > > 
> > > > --Alex
> > > > 
> > > > On Wed, Mar 13, 2013 at 10:23 AM, Jörg Prante \<[hidden email]\> wrote:
> > > 
> > > > > Looks like a permission problem, but I would love to reproduce...  
> > > > > without  
> > > > > stacktrace, not really easy.
> > > > > 
> > > > > Is it possible to patch 0.20.5 in org.elasticsearch.bootstrap.Bootstrap  
> > > > > to  
> > > > > log the stack trace to the console? Thanks!
> > > > > 
> > > > > --- a/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java  
> > > > > +++ b/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java  
> > > > > @@ -234,7 +234,7 @@ public class Bootstrap {  
> > > > > }  
> > > > > String errorMessage = buildErrorMessage(stage, e);  
> > > > > if (foreground) {
> > > > > 
> > > > > - 
> > > > > 
> > > > > ```
> > > > > logger.error(errorMessage);
> > > > > 
> > > > > ```
> > > > > 
> > > > > - 
> > > > > 
> > > > > ```
> > > > > logger.error(errorMessage, e);
> > > > > } else {
> > > > > System.err.println(errorMessage);
> > > > > System.err.flush();
> > > > > 
> > > > > ```
> > > > > 
> > > > > Jörg
> > > > > 
> > > > > Am 13.03.13 10:10, schrieb steam:
> > > > > 
> > > > > > I'm not sure if he has the same problem as me.
> > > > > > 
> > > > > > 2013/3/13 dadoonet [via Elasticsearch Users]  
> > > > > > \<[hidden email]\>:
> > > > > > 
> > > > > > > Hmmm. Are the same guy that opened this issue?  
> > > > > > > [ES doesn't start up on OpenVZ · Issue #2768 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2768)
> > > > > > > 
> > > > > > > --  
> > > > > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > > > > @dadoonet | @elasticsearchfr | @scrutmydocs
> > > > > > > 
> > > > > > > Le 13 mars 2013 à 09:26, steam \<[hidden email]\> a écrit :
> > > > > > > 
> > > > > > > Hello.  
> > > > > > > I have some question about new version 20.5 elastic. I worked with a  
> > > > > > > version  
> > > > > > > 18.2 and was able to run it on the usb pen drive (for development  
> > > > > > > reasons)  
> > > > > > > but new version when i start it fails with NullPointerException.  
> > > > > > > Here  
> > > > > > > server  
> > > > > > > trace:
> > > > > > > 
> > > > > > > [2013-03-13 09:07:44,775][WARN][bootstrap] jvm uses  
> > > > > > > the  
> > > > > > > client  
> > > > > > > vm, make sure to run `java` with the server vm for best performance  
> > > > > > > by  
> > > > > > > adding `- server` to the command line  
> > > > > > > [2013-03-13 09:07:45,243][INFO][node]  
> > > > > > > [MasterNode]  
> > > > > > > {0.20.5  
> > > > > > > }[4780]: initializing ...  
> > > > > > > [2013-03-13 09:07:45,290][INFO][plugins]  
> > > > > > > [MasterNode]  
> > > > > > > loaded  
> > > > > > > , sites   
> > > > > > > [2013-03-13 09:08:02,915][ERROR][bootstrap]  
> > > > > > > {0.20.5}:  
> > > > > > > Initializa  
> > > > > > > tion Failed ...
> > > > > > > 
> > > > > > > 1. NullPointerException[null]
> > > > > > > 
> > > > > > > New version 20.5 runs from usb on Windows XP. I test with java home  
> > > > > > > 6  
> > > > > > > and 7  
> > > > > > > The version 18.2 works fine with same conditions.
> > > > > > > 
> > > > > > > I also tested version 20.5 directly in windows and it boots without  
> > > > > > > problem  
> > > > > > > and works well, only fails when I try to boot from usb, or have data  
> > > > > > > folder  
> > > > > > > in usb.
> > > > > > > 
> > > > > > > Thanks in advance.
> > > > > > > 
> > > > > > > --  
> > > > > > > View this message in context:
> > > > > > > 
> > > > > > > [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html)  
> > > > > > > Sent from the Elasticsearch Users mailing list archive at  
> > > > > > > [Nabble.com](http://Nabble.com).
> > > 
> > > > > > > --  
> > > > > > > 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 [hidden email].  
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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 [hidden email].  
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > > 
> > > > > > > * * *
> > > > > > > 
> > > > > > > If you reply to this email, your message will be added to the  
> > > > > > > discussion  
> > > > > > > below:
> > > > > > > 
> > > > > > > [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html)  
> > > > > > > To unsubscribe from new version 20.5 elastic runs on usb, click  
> > > > > > > here.
> > > 
> > > > > > > NAML
> > > > > > 
> > > > > > * * *
> > > > > > 
> > > > > > View this message in context: Re: new version 20.5 elastic runs on usb
> > > > > > 
> > > > > > [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html)  
> > > > > > Sent from the Elasticsearch Users mailing list archive  
> > > > > > [http://elasticsearch-users.115913.n3.nabble.com/](http://elasticsearch-users.115913.n3.nabble.com/) at [Nabble.com](http://Nabble.com).
> > > > > > 
> > > > > > --  
> > > > > > 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 [hidden email].  
> > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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 [hidden email].  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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 [hidden email].  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > * * *
> > > > 
> > > > If you reply to this email, your message will be added to the discussion  
> > > > below:
> > > > 
> > > > [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031571.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031571.html)
> > > 
> > > > To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> > > > NAML
> > > 
> > > * * *
> > > 
> > > View this message in context: Re: new version 20.5 elastic runs on usb  
> > > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> > > 
> > > --  
> > > 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 [hidden email].  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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 [hidden email].  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > * * *
> > 
> > If you reply to this email, your message will be added to the discussion  
> > below:  
> > [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031577.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031577.html)  
> > To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> > NAML

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [March 13, 2013, 11:36am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/9 "2013-03-13T11:36:00Z")

</div>

Hey,

this looks weird. Can you set the log level to TRACE and check the logfile.  
Either "sigar loaded successfully" or "failed to load sigar" should occur.  
If the latter occurs, is there an exception, after that line?

Sorry, I dont have any windows for testing...

--Alex

On Wed, Mar 13, 2013 at 11:55 AM, steam [grandebuzon@gmail.com](mailto:grandebuzon@gmail.com) wrote:

> Error at line 72, SigarFsProbe.java
> 
> org.elasticsearch.monitor.fs.SigarFsProbe.stats(SigarFsProbe.java:72)
> 
> This is a log file:
> 
> 1. Error injecting constructor, java.lang.NullPointerException  
> at org.elasticsearch.monitor.fs.FsService.(Unknown Source)  
> while locating org.elasticsearch.monitor.fs.FsService  
> for parameter 6 at  
> org.elasticsearch.monitor.MonitorService.(Unknown Source)  
> while locating org.elasticsearch.monitor.MonitorService  
> for parameter 2 at  
> org.elasticsearch.node.service.NodeService.(Unknown Source)  
> while locating org.elasticsearch.node.service.NodeService  
> for parameter 5 at  
> org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction.(Unknown
> 
> Source)  
> while locating  
> org.elasticsearch.action.admin.cluster.node.info.TransportNodesInfoAction  
> while locating org.elasticsearch.action.support.TransportAction  
> annotated with  
> @org.elasticsearch.common.inject.multibindings.Element(setName=,uniqueId=214)
> 
> at  
> org.elasticsearch.action.ActionModule.configure(ActionModule.java:241)  
> while locating java.util.Map\<org.elasticsearch.action.GenericAction,  
> org.elasticsearch.action.support.TransportAction\>  
> for parameter 2 at  
> org.elasticsearch.client.node.NodeClusterAdminClient.(Unknown  
> Source)  
> while locating org.elasticsearch.client.node.NodeClusterAdminClient  
> for parameter 1 at  
> org.elasticsearch.client.node.NodeAdminClient.(Unknown Source)  
> while locating org.elasticsearch.client.node.NodeAdminClient  
> for parameter 2 at  
> org.elasticsearch.client.node.NodeClient.(Unknown Source)  
> while locating org.elasticsearch.client.node.NodeClient  
> while locating org.elasticsearch.client.Client  
> for parameter 0 at  
> org.elasticsearch.index.search.shape.ShapeFetchService.(Unknown  
> Source)  
> while locating org.elasticsearch.index.search.shape.ShapeFetchService  
> Caused by: java.lang.NullPointerException  
> at  
> org.elasticsearch.monitor.fs.SigarFsProbe.stats(SigarFsProbe.java:72)  
> at  
> org.elasticsearch.monitor.fs.FsService.(FsService.java:41)  
> at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown  
> Source)  
> at  
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 
> ```
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at
> 
> ```
> 
> org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
> 
> ```
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
> 
> ```
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
> 
> ```
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)  
> at  
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
> 
> ```
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl$4$1.call(InjectorImpl.java:763)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl$4.get(InjectorImpl.java:759)  
> at  
> org.elasticsearch.common.inject.spi.ProviderLookup$1.get(ProviderLookup.java:90)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.multibindings.MapBinder$RealMapBinder$2.get(MapBinder.java:304)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.multibindings.MapBinder$RealMapBinder$2.get(MapBinder.java:300)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.FactoryProxy.get(FactoryProxy.java:52)  
> at  
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
> 
> ```
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:819)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
> 
> ```
> at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:56)
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:200)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:812)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)  
> at  
> org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)  
> at  
> org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
> 
> ```
> at
> 
> ```
> 
> org.elasticsearch.node.internal.InternalNode.(InternalNode.java:167)  
> at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)  
> at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:67)  
> at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:200)  
> at  
> org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
> 
> 2013/3/13 Alexander Reelsen-2 [via Elasticsearch Users]  
> \<[hidden email] [http://user/SendEmail.jtp?type=node&node=4031578&i=0](http://user/SendEmail.jtp?type=node&node=4031578&i=0)\>:
> 
> > Hey,
> > 
> > unfortunately the trace is ending, where the interesting data is about  
> > to be  
> > seen. A little question: Have copied and pasted the trace from the  
> > console  
> > output or did you take a look at the logfile? If you havent done the  
> > latter,  
> > please take a look there, possibly the stack trace is only listed in the  
> > file (judging roughly from the source).
> > 
> > Thanks!
> > 
> > On Wed, Mar 13, 2013 at 10:52 AM, steam \<[hidden email]\> wrote:
> > 
> > > Here is the trace in debug mode.
> > > 
> > > [2013-03-13 10:49:41,477][WARN][bootstrap] jvm uses  
> > > the  
> > > client  
> > > vm, make sure to run `java` with the server vm for best performance by  
> > > adding `- server` to the command line  
> > > [2013-03-13 10:49:41,524][INFO][node]  
> > > [MasterNode]  
> > > {0.20.5  
> > > }[964]: initializing ...  
> > > [2013-03-13 10:49:41,540][DEBUG][node]  
> > > [MasterNode]  
> > > using h  
> > > ome [v:\DESARROLLO\elasticsearch-0.20.5], config  
> > > [v:\DESARROLLO\elasticsearch-0.  
> > > 20.5\config], data [[v:\DESARROLLO\elasticsearch-0.20.5\data]], logs  
> > > [v:\DESARRO  
> > > LLO\elasticsearch-0.20.5\logs], work  
> > > [v:\DESARROLLO\elasticsearch-0.20.5\work],  
> > > plugins [v:\DESARROLLO\elasticsearch-0.20.5\plugins]  
> > > [2013-03-13 10:49:41,571][INFO][plugins]  
> > > [MasterNode]  
> > > loaded  
> > > , sites   
> > > [2013-03-13 10:49:41,649][DEBUG][common.compress.lzf] using  
> > > [UnsafeChunkDe  
> > > coder] decoder  
> > > [2013-03-13 10:49:41,962][DEBUG][env]  
> > > [MasterNode]  
> > > using n  
> > > ode location  
> > > [[v:\DESARROLLO\elasticsearch-0.20.5\data\MyClaster\nodes\0]], loca  
> > > l\_node\_id [0]  
> > > [2013-03-13 10:49:47,540][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [generic], type [cached], keep\_alive [30s]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [index], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [bulk], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [get], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [search], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [percolate], type [cached], keep\_alive [5m]  
> > > [2013-03-13 10:49:47,571][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [management], type [scaling], min [1], size [5],  
> > > keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [flush], type [scaling], min [1], size [10], keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [merge], type [scaling], min [1], size [20], keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [refresh], type [scaling], min [1], size [10], keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [cache], type [scaling], min [1], size [4], keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,602][DEBUG][threadpool]  
> > > [MasterNode]  
> > > creatin  
> > > g thread\_pool [snapshot], type [scaling], min [1], size [5], keep\_alive  
> > > [5m]  
> > > [2013-03-13 10:49:47,712][DEBUG][transport.netty]  
> > > [MasterNode]  
> > > using w  
> > > orker\_count[4], port[9233], bind\_host[null], publish\_host[null],  
> > > compress[false]  
> > > , connect\_timeout[30s], connections\_per\_node[2/6/1],  
> > > receive\_predictor[512kb-\>51  
> > > 2kb]  
> > > [2013-03-13 10:49:47,743][DEBUG][discovery.zen.ping.multicast]  
> > > [MasterNode] usin  
> > > g group [224.2.2.4], with port [54328], ttl [3], and address [null]  
> > > [2013-03-13 10:49:47,759][DEBUG][discovery.zen.ping.unicast]  
> > > [MasterNode]  
> > > using  
> > > initial hosts , with concurrent\_connects [10]  
> > > [2013-03-13 10:49:47,759][DEBUG][discovery.zen]  
> > > [MasterNode]  
> > > using p  
> > > ing.timeout [3s], master\_election.filter\_client [true],  
> > > master\_election.filter\_d  
> > > ata [false]  
> > > [2013-03-13 10:49:47,774][DEBUG][discovery.zen.elect]  
> > > [MasterNode]  
> > > using m  
> > > inimum\_master\_nodes [-1]  
> > > [2013-03-13 10:49:47,774][DEBUG][discovery.zen.fd]  
> > > [MasterNode]  
> > > [master  
> > > ] uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> > > [2013-03-13 10:49:47,806][DEBUG][discovery.zen.fd]  
> > > [MasterNode]  
> > > [node  
> > > ] uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> > > [2013-03-13 10:49:47,931][DEBUG][monitor.jvm]  
> > > [MasterNode]  
> > > enabled  
> > > [true], last\_gc\_enabled [false], interval [1s], gc\_threshold  
> > > [{default=GcThresh  
> > > old{name='default', warnThreshold=10000, infoThreshold=5000,  
> > > debugThreshold=2000  
> > > }, ParNew=GcThreshold{name='ParNew', warnThreshold=1000,  
> > > infoThreshold=700, debu  
> > > gThreshold=400},  
> > > ConcurrentMarkSweep=GcThreshold{name='ConcurrentMarkSweep', war  
> > > nThreshold=10000, infoThreshold=5000, debugThreshold=2000}}]  
> > > [2013-03-13 10:49:48,477][DEBUG][monitor.os]  
> > > [MasterNode]  
> > > Using p  
> > > robe [org.elasticsearch.monitor.os.SigarOsProbe@e1666] with  
> > > refresh\_interval [1s  
> > > ]  
> > > [2013-03-13 10:49:48,509][DEBUG][monitor.process]  
> > > [MasterNode]  
> > > Using p  
> > > robe [org.elasticsearch.monitor.process.SigarProcessProbe@111ae04]  
> > > with  
> > > refresh\_  
> > > interval [1s]  
> > > [2013-03-13 10:49:48,540][DEBUG][monitor.jvm]  
> > > [MasterNode]  
> > > Using r  
> > > efresh\_interval [1s]  
> > > [2013-03-13 10:49:48,540][DEBUG][monitor.network]  
> > > [MasterNode]  
> > > Using p  
> > > robe [org.elasticsearch.monitor.network.SigarNetworkProbe@11a9310]  
> > > with  
> > > refresh\_  
> > > interval [5s]  
> > > [2013-03-13 10:49:48,727][DEBUG][monitor.network]  
> > > [MasterNode]  
> > > net\_inf  
> > > o  
> > > host [pc-aneverenchuk]  
> > > lo display\_name [MS TCP Loopback interface]  
> > > address [/127.0.0.1]  
> > > mtu [1520] multicast [true] ptp [false] loopback [true]  
> > > up  
> > > [true  
> > > ] virtual [false]  
> > > eth0 display\_name [Broadcom NetXtreme 57xx Gigabit Controller -  
> > > Deterministic  
> > > Network Enhancer Miniport]  
> > > address [/192.168.4.242]  
> > > mtu [1500] multicast [true] ptp [false] loopback  
> > > [false]  
> > > up [tru  
> > > e] virtual [false]
> > > 
> > > [2013-03-13 10:49:49,649][DEBUG][indices.store]  
> > > [MasterNode]  
> > > using i  
> > > ndices.store.throttle.type [none], with  
> > > index.store.throttle.max\_bytes\_per\_sec [  
> > > 0b]  
> > > [2013-03-13 10:49:49,696][DEBUG][cache.memory]  
> > > [MasterNode]  
> > > using b  
> > > ytebuffer cache with small\_buffer\_size [1kb], large\_buffer\_size [1mb],  
> > > small\_cac  
> > > he\_size [10mb], large\_cache\_size [500mb], direct [true]  
> > > [2013-03-13 10:49:49,727][DEBUG][script]  
> > > [MasterNode]  
> > > using s  
> > > cript cache with max\_size [500], expire [null]  
> > > [2013-03-13 10:49:49,899][DEBUG][cluster.routing.allocation.decider]  
> > > [MasterNode  
> > > ] using node\_concurrent\_recoveries [2],  
> > > node\_initial\_primaries\_recoveries  
> > > [4]  
> > > [2013-03-13 10:49:49,915][DEBUG][cluster.routing.allocation.decider]  
> > > [MasterNode  
> > > ] using [cluster.routing.allocation.allow\_rebalance] with  
> > > [indices\_all\_active]  
> > > [2013-03-13 10:49:49,915][DEBUG][cluster.routing.allocation.decider]  
> > > [MasterNode  
> > > ] using [cluster\_concurrent\_rebalance] with [2]  
> > > [2013-03-13 10:49:49,946][DEBUG][gateway.local]  
> > > [MasterNode]  
> > > using i  
> > > nitial\_shards [quorum], list\_timeout [30s]  
> > > [2013-03-13 10:49:54,118][DEBUG][http.netty]  
> > > [MasterNode]  
> > > using m  
> > > ax\_chunk\_size[8kb], max\_header\_size[8kb], max\_initial\_line\_length[4kb],  
> > > max\_cont  
> > > ent\_length[100mb], receive\_predictor[512kb-\>512kb]  
> > > [2013-03-13 10:49:54,352][DEBUG][indices.recovery]  
> > > [MasterNode]  
> > > using m  
> > > ax\_size\_per\_sec[0b], concurrent\_streams [3], file\_chunk\_size [512kb],  
> > > translog\_s  
> > > ize [512kb], translog\_ops [1000], and compress [true]  
> > > [2013-03-13 10:49:54,399][DEBUG][indices.memory]  
> > > [MasterNode]  
> > > using i  
> > > ndex\_buffer\_size [102mb], with min\_shard\_index\_buffer\_size [4mb],  
> > > max\_shard\_inde  
> > > x\_buffer\_size [512mb], shard\_inactive\_time [30m]  
> > > [2013-03-13 10:49:54,415][DEBUG][indices.cache.filter]  
> > > [MasterNode]  
> > > using [  
> > > node] weighted filter cache with size [20%], actual\_size [204.1mb],  
> > > expire  
> > > [null  
> > > ], clean\_interval [1m]  
> > > [2013-03-13 10:49:54,821][DEBUG][gateway.local.state.meta]  
> > > [MasterNode]  
> > > using g  
> > > ateway.local.auto\_import\_dangled [YES], with  
> > > gateway.local.dangling\_timeout [2h]
> > > 
> > > [2013-03-13 10:49:54,821][DEBUG][gateway.local.state.meta]  
> > > [MasterNode]  
> > > took 0s  
> > > to load state  
> > > [2013-03-13 10:49:54,837][DEBUG][gateway.local.state.shards]  
> > > [MasterNode]  
> > > took 1  
> > > 6ms to load started shards state  
> > > [2013-03-13 10:49:55,102][ERROR][bootstrap] {0.20.5}:  
> > > Initializa  
> > > tion Failed ...
> > > 
> > > 1. NullPointerException[null]  
> > > Presione una tecla para continuar . . .
> > > 
> > > 2013/3/13 Alexander Reelsen-2 [via Elasticsearch Users]  
> > > \<[hidden email]\>:
> > > 
> > > > Hey,
> > > > 
> > > > setting the general loglevel in logging.yml to DEBUG should be  
> > > > sufficient,  
> > > > judging from the code (line 243). No need to recompile but being able  
> > > > to  
> > > > see  
> > > > the exception anyway...
> > > > 
> > > > --Alex
> > > > 
> > > > On Wed, Mar 13, 2013 at 10:23 AM, Jörg Prante \<[hidden email]\> wrote:
> > > 
> > > > > Looks like a permission problem, but I would love to reproduce...  
> > > > > without  
> > > > > stacktrace, not really easy.
> > > > > 
> > > > > Is it possible to patch 0.20.5 in  
> > > > > org.elasticsearch.bootstrap.Bootstrap  
> > > > > to  
> > > > > log the stack trace to the console? Thanks!
> > > > > 
> > > > > --- a/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java  
> > > > > +++ b/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java  
> > > > > @@ -234,7 +234,7 @@ public class Bootstrap {  
> > > > > }  
> > > > > String errorMessage = buildErrorMessage(stage, e);  
> > > > > if (foreground) {
> > > > > 
> > > > > - 
> > > > > 
> > > > > ```
> > > > > logger.error(errorMessage);
> > > > > 
> > > > > ```
> > > > > 
> > > > > - 
> > > > > 
> > > > > ```
> > > > > logger.error(errorMessage, e);
> > > > > } else {
> > > > > System.err.println(errorMessage);
> > > > > System.err.flush();
> > > > > 
> > > > > ```
> > > > > 
> > > > > Jörg
> > > > > 
> > > > > Am 13.03.13 10:10, schrieb steam:
> > > > > 
> > > > > > I'm not sure if he has the same problem as me.
> > > > > > 
> > > > > > 2013/3/13 dadoonet [via Elasticsearch Users]  
> > > > > > \<[hidden email]\>:
> > > > > > 
> > > > > > > Hmmm. Are the same guy that opened this issue?  
> > > > > > > [ES doesn't start up on OpenVZ · Issue #2768 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2768)
> > > > > > > 
> > > > > > > --  
> > > > > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > > > > @dadoonet | @elasticsearchfr | @scrutmydocs
> > > > > > > 
> > > > > > > Le 13 mars 2013 à 09:26, steam \<[hidden email]\> a écrit :
> > > > > > > 
> > > > > > > Hello.  
> > > > > > > I have some question about new version 20.5 elastic. I worked  
> > > > > > > with a  
> > > > > > > version  
> > > > > > > 18.2 and was able to run it on the usb pen drive (for development  
> > > > > > > reasons)  
> > > > > > > but new version when i start it fails with NullPointerException.  
> > > > > > > Here  
> > > > > > > server  
> > > > > > > trace:
> > > > > > > 
> > > > > > > [2013-03-13 09:07:44,775][WARN][bootstrap] jvm  
> > > > > > > uses  
> > > > > > > the  
> > > > > > > client  
> > > > > > > vm, make sure to run `java` with the server vm for best  
> > > > > > > performance  
> > > > > > > by  
> > > > > > > adding `- server` to the command line  
> > > > > > > [2013-03-13 09:07:45,243][INFO][node]  
> > > > > > > [MasterNode]  
> > > > > > > {0.20.5  
> > > > > > > }[4780]: initializing ...  
> > > > > > > [2013-03-13 09:07:45,290][INFO][plugins]  
> > > > > > > [MasterNode]  
> > > > > > > loaded  
> > > > > > > , sites   
> > > > > > > [2013-03-13 09:08:02,915][ERROR][bootstrap]  
> > > > > > > {0.20.5}:  
> > > > > > > Initializa  
> > > > > > > tion Failed ...
> > > > > > > 
> > > > > > > 1. NullPointerException[null]
> > > > > > > 
> > > > > > > New version 20.5 runs from usb on Windows XP. I test with java  
> > > > > > > home  
> > > > > > > 6  
> > > > > > > and 7  
> > > > > > > The version 18.2 works fine with same conditions.
> > > > > > > 
> > > > > > > I also tested version 20.5 directly in windows and it boots  
> > > > > > > without  
> > > > > > > problem  
> > > > > > > and works well, only fails when I try to boot from usb, or have  
> > > > > > > data  
> > > > > > > folder  
> > > > > > > in usb.
> > > > > > > 
> > > > > > > Thanks in advance.
> > > > > > > 
> > > > > > > --  
> > > > > > > View this message in context:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555.html)
> 
> > > > > > > Sent from the Elasticsearch Users mailing list archive at  
> > > > > > > [Nabble.com](http://Nabble.com).
> > > 
> > > > > > > --  
> > > > > > > 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 [hidden email].  
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> > > > > > > --  
> > > > > > > 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 [hidden email].  
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> > > > > > > * * *
> > > > > > > 
> > > > > > > If you reply to this email, your message will be added to the  
> > > > > > > discussion  
> > > > > > > below:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031567.html)
> 
> > > > > > > To unsubscribe from new version 20.5 elastic runs on usb, click  
> > > > > > > here.
> > > 
> > > > > > > NAML
> 
> * * *
> 
> > > > > > View this message in context: Re: new version 20.5 elastic runs on  
> > > > > > usb
> > > > > > 
> > > > > > \<  
> > > > > > [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031568.html)\>
> 
> > > > > > Sent from the Elasticsearch Users mailing list archive  
> > > > > > [http://elasticsearch-users.115913.n3.nabble.com/](http://elasticsearch-users.115913.n3.nabble.com/) at [Nabble.com](http://Nabble.com).
> > > > > > 
> > > > > > --  
> > > > > > 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 [hidden email].  
> > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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 [hidden email].  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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 [hidden email].  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > * * *
> > > > 
> > > > If you reply to this email, your message will be added to the  
> > > > discussion  
> > > > below:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031571.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031571.html)
> 
> > > > To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> > > > NAML
> > > 
> > > * * *
> > > 
> > > View this message in context: Re: new version 20.5 elastic runs on usb  
> > > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> > > 
> > > --  
> > > 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 [hidden email].  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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 [hidden email].  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > * * *
> > 
> > If you reply to this email, your message will be added to the discussion  
> > below:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031577.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031577.html)
> 
> > To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> > NAML
> 
> * * *
> 
> View this message in context: Re: new version 20.5 elastic runs on usb[http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031578.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031578.html)  
> Sent from the Elasticsearch Users mailing list archive[http://elasticsearch-users.115913.n3.nabble.com/](http://elasticsearch-users.115913.n3.nabble.com/)at [Nabble.com](http://Nabble.com).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [March 13, 2013, 12:40pm UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/10 "2013-03-13T12:40:13Z")

</div>

On your system, sigar could not be installed successfully. Have you  
checked if the sigar libs in $ES\_HOME/lib/sigar for your architecture  
are in the right place and if the \*.so files have the right permissions?

Are you installing on a virtual machine? Maybe sigar can't run, and  
removing the complete folder $ES\_HOME/lib/sigar helps.

Jörg

Am 13.03.13 11:55, schrieb steam:

> Error at line 72, SigarFsProbe.java
> 
> org.elasticsearch.monitor.fs.SigarFsProbe.stats(SigarFsProbe.java:72)

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [March 13, 2013, 12:43pm UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/11 "2013-03-13T12:43:21Z")

</div>

Also note, on some OS, loading shared lbraries from removable media is  
not allowed by default, to prevent malicious code attacks.

Jörg

Am 13.03.13 13:40, schrieb Jörg Prante:

> Are you installing on a virtual machine? Maybe sigar can't run, and  
> removing the complete folder $ES\_HOME/lib/sigar helps.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![steam](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@steam](https://discuss.elastic.co/u/steam)\
**Post date:** [March 13, 2013, 1:01pm UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/12 "2013-03-13T13:01:24Z")

</div>

Version 18.2 works fine from usb. Something has changed in version 20.5...

2013/3/13 Jörg Prante [via Elasticsearch Users]  
[ml-node+s115913n4031590h84@n3.nabble.com](mailto:ml-node+s115913n4031590h84@n3.nabble.com):

> Also note, on some OS, loading shared lbraries from removable media is  
> not allowed by default, to prevent malicious code attacks.
> 
> Jörg
> 
> Am 13.03.13 13:40, schrieb Jörg Prante:
> 
> > Are you installing on a virtual machine? Maybe sigar can't run, and  
> > removing the complete folder $ES\_HOME/lib/sigar helps.
> 
> --  
> 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 [hidden email].  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> * * *
> 
> If you reply to this email, your message will be added to the discussion  
> below:  
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031590.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031590.html)  
> To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> NAML

---

<div class="post-metadata">

**Author:** ![steam](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@steam](https://discuss.elastic.co/u/steam)\
**Post date:** [March 13, 2013, 1:09pm UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/13 "2013-03-13T13:09:56Z")

</div>

Ok. Deleting the folder cigar from elastic the server starts.  
Can I use elastic without a cigar for development?

2013/3/13 - [grandebuzon@gmail.com](mailto:grandebuzon@gmail.com):

> Version 18.2 works fine from usb. Something has changed in version 20.5...
> 
> 2013/3/13 Jörg Prante [via Elasticsearch Users]  
> [ml-node+s115913n4031590h84@n3.nabble.com](mailto:ml-node+s115913n4031590h84@n3.nabble.com):
> 
> > Also note, on some OS, loading shared lbraries from removable media is  
> > not allowed by default, to prevent malicious code attacks.
> > 
> > Jörg
> > 
> > Am 13.03.13 13:40, schrieb Jörg Prante:
> > 
> > > Are you installing on a virtual machine? Maybe sigar can't run, and  
> > > removing the complete folder $ES\_HOME/lib/sigar helps.
> > 
> > --  
> > 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 [hidden email].  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > * * *
> > 
> > If you reply to this email, your message will be added to the discussion  
> > below:  
> > [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031590.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031590.html)  
> > To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> > NAML

---

<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:** [March 13, 2013, 1:13pm UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/14 "2013-03-13T13:13:07Z")

</div>

The sigar libs are optional, unless you depend on monitoring CPU, OS,  
and network interfaces.

Jörg

Am 13.03.13 14:10, schrieb steam:

> Ok. Deleting the folder cigar from elastic the server starts.  
> Can I use elastic without a cigar for development?

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![steam](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@steam](https://discuss.elastic.co/u/steam)\
**Post date:** [March 13, 2013, 1:14pm UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/15 "2013-03-13T13:14:56Z")

</div>

Ok. Thank you very much for help.

2013/3/13 Jörg Prante [via Elasticsearch Users]  
[ml-node+s115913n4031599h63@n3.nabble.com](mailto:ml-node+s115913n4031599h63@n3.nabble.com):

> The sigar libs are optional, unless you depend on monitoring CPU, OS,  
> and network interfaces.
> 
> Jörg
> 
> Am 13.03.13 14:10, schrieb steam:
> 
> > Ok. Deleting the folder cigar from elastic the server starts.  
> > Can I use elastic without a cigar for development?
> 
> --  
> 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 [hidden email].  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> * * *
> 
> If you reply to this email, your message will be added to the discussion  
> below:  
> [http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031599.html](http://elasticsearch-users.115913.n3.nabble.com/new-version-20-5-elastic-runs-on-usb-tp4031555p4031599.html)  
> To unsubscribe from new version 20.5 elastic runs on usb, click here.  
> NAML

---

<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, 2:46am UTC](https://discuss.elastic.co/t/new-version-20-5-elastic-runs-on-usb/11127/16 "2017-07-06T02:46:41Z")

</div>


