# ES fails to start

**URL:** <https://discuss.elastic.co/t/es-fails-to-start/11531>\
**Category:** Elasticsearch\
**Created:** [April 10, 2013, 2:13pm UTC](https://discuss.elastic.co/t/es-fails-to-start/11531 "2013-04-10T14:13:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tetlika](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tetlika](https://discuss.elastic.co/u/tetlika)\
**Post date:** [April 10, 2013, 2:13pm UTC](https://discuss.elastic.co/t/es-fails-to-start/11531/1 "2013-04-10T14:13:54Z")

</div>

hi, my ES fails to start saying:  
why it fails to start?

[14:10:35,388][WARN][common.jna] Unknown mlockall error 0  
[14:10:35,394][INFO][node] [Marvel Boy]  
{0.20.5}[999]: initializing ...  
[14:10:35,395][DEBUG][node] [Marvel Boy] using home  
[/usr/share/java/elasticsearch], config [/etc/elasticsearch], data  
[[/tmp]], logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins  
[/usr/share/java/elasticsearch/plugins]  
[14:10:35,401][INFO][plugins] [Marvel Boy] loaded [],  
sites []  
[14:10:35,414][DEBUG][common.compress.lzf] using [UnsafeChunkDecoder]  
decoder  
[14:10:35,652][DEBUG][env] [Marvel Boy] using node  
location [[/tmp/nimble\_live/nodes/0]], local\_node\_id [0]  
[14:10:36,689][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [generic], type [cached], keep\_alive [30s]  
[14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [index], type [cached], keep\_alive [5m]  
[14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [bulk], type [cached], keep\_alive [5m]  
[14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [get], type [cached], keep\_alive [5m]  
[14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [search], type [cached], keep\_alive [5m]  
[14:10:36,697][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [percolate], type [cached], keep\_alive [5m]  
[14:10:36,697][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [management], type [scaling], min [1], size [5], keep\_alive [5m]  
[14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [flush], type [scaling], min [1], size [10], keep\_alive [5m]  
[14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [merge], type [scaling], min [1], size [20], keep\_alive [5m]  
[14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [refresh], type [scaling], min [1], size [10], keep\_alive [5m]  
[14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [cache], type [scaling], min [1], size [4], keep\_alive [5m]  
[14:10:36,701][DEBUG][threadpool] [Marvel Boy] creating  
thread\_pool [snapshot], type [scaling], min [1], size [5], keep\_alive [5m]  
[14:10:36,720][DEBUG][transport.netty] [Marvel Boy] using  
worker\_count[8], port[9300-9400], bind\_host[null], publish\_host[null],  
compress[true], connect\_timeout[30s], connections\_per\_node[2/6/1],  
receive\_predictor[512kb-\>512kb]  
[14:10:36,729][DEBUG][discovery.zen.ping.multicast] [Marvel Boy] using  
group [224.2.2.4], with port [54328], ttl [3], and address [null]  
[14:10:36,733][DEBUG][discovery.zen.ping.unicast] [Marvel Boy] using  
initial hosts [10.0.102.151], with concurrent\_connects [10]  
[14:10:36,743][DEBUG][discovery.zen] [Marvel Boy] using  
ping.timeout [3s], master\_election.filter\_client [true],  
master\_election.filter\_data [false]  
[14:10:36,743][DEBUG][discovery.zen.elect] [Marvel Boy] using  
minimum\_master\_nodes [-1]  
[14:10:36,744][DEBUG][discovery.zen.fd] [Marvel Boy] [master] uses  
ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
[14:10:36,748][DEBUG][discovery.zen.fd] [Marvel Boy] [node] uses  
ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
[14:10:36,779][DEBUG][monitor.jvm] [Marvel Boy] enabled  
[true], last\_gc\_enabled [false], interval [1s], gc\_threshold  
[{default=GcThreshold{name='default', warnThreshold=10000,  
infoThreshold=5000, debugThreshold=2000}, ParNew=GcThreshold{name='ParNew',  
warnThreshold=1000, infoThreshold=700, debugThreshold=400},  
ConcurrentMarkSweep=GcThreshold{name='ConcurrentMarkSweep',  
warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}]  
[14:10:37,287][DEBUG][monitor.os] [Marvel Boy] Using probe  
[org.elasticsearch.monitor.os.SigarOsProbe@20b00ec2] with refresh\_interval  
[1s]  
[14:10:37,290][DEBUG][monitor.process] [Marvel Boy] Using probe  
[org.elasticsearch.monitor.process.SigarProcessProbe@14ee3dee] with  
refresh\_interval [1s]  
[14:10:37,293][DEBUG][monitor.jvm] [Marvel Boy] Using  
refresh\_interval [1s]  
[14:10:37,293][DEBUG][monitor.network] [Marvel Boy] Using probe  
[org.elasticsearch.monitor.network.SigarNetworkProbe@2dabcea] with  
refresh\_interval [5s]  
[14:10:37,298][DEBUG][monitor.network] [Marvel Boy] net\_info  
host [[app.devnimble.com](http://app.devnimble.com)]  
venet0 display\_name [venet0]  
address [/10.0.102.151] [/127.0.0.1]  
mtu [1500] multicast [false] ptp [true] loopback [false] up  
[true] virtual [false]  
sub interfaces:  
venet0:0 display\_name [venet0:0]  
address [/10.0.102.151]  
mtu [1500] multicast [false] ptp  
[true] loopback [false] up [true] virtual [true]  
lo display\_name [lo]  
address [/0:0:0:0:0:0:0:1%1] [/127.0.0.1]  
mtu [16436] multicast [false] ptp [false] loopback [true]  
up [true] virtual [false]

[14:10:37,505][DEBUG][indices.store] [Marvel Boy] using  
indices.store.throttle.type [none], with  
index.store.throttle.max\_bytes\_per\_sec [0b]  
[14:10:37,522][DEBUG][cache.memory] [Marvel Boy] using  
bytebuffer cache with small\_buffer\_size [1kb], large\_buffer\_size [1mb],  
small\_cache\_size [10mb], large\_cache\_size [500mb], direct [true]  
[14:10:37,530][DEBUG][script] [Marvel Boy] using script  
cache with max\_size [500], expire [null]  
[14:10:37,558][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
using node\_concurrent\_recoveries [2], node\_initial\_primaries\_recoveries [4]  
[14:10:37,558][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
using [cluster.routing.allocation.allow\_rebalance] with [indices\_all\_active]  
[14:10:37,559][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
using [cluster\_concurrent\_rebalance] with [2]  
[14:10:37,562][DEBUG][gateway.local] [Marvel Boy] using  
initial\_shards [quorum], list\_timeout [30s]  
[14:10:37,754][DEBUG][http.netty] [Marvel Boy] using  
max\_chunk\_size[8kb], max\_header\_size[8kb], max\_initial\_line\_length[4kb],  
max\_content\_length[100mb], receive\_predictor[512kb-\>512kb]  
[14:10:37,767][DEBUG][indices.recovery] [Marvel Boy] using  
max\_size\_per\_sec[0b], concurrent\_streams [3], file\_chunk\_size [512kb],  
translog\_size [512kb], translog\_ops [1000], and compress [true]  
[14:10:37,776][DEBUG][indices.memory] [Marvel Boy] using  
index\_buffer\_size [101.5mb], with min\_shard\_index\_buffer\_size [4mb],  
max\_shard\_index\_buffer\_size [512mb], shard\_inactive\_time [30m]  
[14:10:37,777][DEBUG][indices.cache.filter] [Marvel Boy] using [node]  
weighted filter cache with size [20%], actual\_size [203.1mb], expire  
[null], clean\_interval [1m]  
[14:10:37,814][DEBUG][gateway.local.state.meta] [Marvel Boy] using  
gateway.local.auto\_import\_dangled [YES], with  
gateway.local.dangling\_timeout [2h]  
[14:10:37,814][DEBUG][gateway.local.state.meta] [Marvel Boy] took 0s to  
load state  
[14:10:37,814][DEBUG][gateway.local.state.shards] [Marvel Boy] took 0s to  
load started shards state  
[14:10:37,833][DEBUG][bootstrap] Exception  
org.elasticsearch.common.inject.CreationException: Guice creation errors:

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  
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:57)  
at  
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)  
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)

--  
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:** ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)\
**Post date:** [April 10, 2013, 2:50pm UTC](https://discuss.elastic.co/t/es-fails-to-start/11531/2 "2013-04-10T14:50:49Z")

</div>

this seems to be related  
to [https://groups.google.com/d/msg/elasticsearch/xohEFK45YDE/adunVb3fmo4J](https://groups.google.com/d/msg/elasticsearch/xohEFK45YDE/adunVb3fmo4J)

maybe you can try removing the sigar libs

simon

On Wednesday, April 10, 2013 4:13:54 PM UTC+2, tetlika wrote:

> hi, my ES fails to start saying:  
> why it fails to start?
> 
> [14:10:35,388][WARN][common.jna] Unknown mlockall error 0  
> [14:10:35,394][INFO][node] [Marvel Boy]  
> {0.20.5}[999]: initializing ...  
> [14:10:35,395][DEBUG][node] [Marvel Boy] using home  
> [/usr/share/java/elasticsearch], config [/etc/elasticsearch], data  
> [[/tmp]], logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins  
> [/usr/share/java/elasticsearch/plugins]  
> [14:10:35,401][INFO][plugins] [Marvel Boy] loaded ,  
> sites   
> [14:10:35,414][DEBUG][common.compress.lzf] using  
> [UnsafeChunkDecoder] decoder  
> [14:10:35,652][DEBUG][env] [Marvel Boy] using node  
> location [[/tmp/nimble\_live/nodes/0]], local\_node\_id [0]  
> [14:10:36,689][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [generic], type [cached], keep\_alive [30s]  
> [14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [index], type [cached], keep\_alive [5m]  
> [14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [bulk], type [cached], keep\_alive [5m]  
> [14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [get], type [cached], keep\_alive [5m]  
> [14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [search], type [cached], keep\_alive [5m]  
> [14:10:36,697][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [percolate], type [cached], keep\_alive [5m]  
> [14:10:36,697][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [management], type [scaling], min [1], size [5], keep\_alive [5m]  
> [14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [flush], type [scaling], min [1], size [10], keep\_alive [5m]  
> [14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [merge], type [scaling], min [1], size [20], keep\_alive [5m]  
> [14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [refresh], type [scaling], min [1], size [10], keep\_alive [5m]  
> [14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [cache], type [scaling], min [1], size [4], keep\_alive [5m]  
> [14:10:36,701][DEBUG][threadpool] [Marvel Boy] creating  
> thread\_pool [snapshot], type [scaling], min [1], size [5], keep\_alive [5m]  
> [14:10:36,720][DEBUG][transport.netty] [Marvel Boy] using  
> worker\_count[8], port[9300-9400], bind\_host[null], publish\_host[null],  
> compress[true], connect\_timeout[30s], connections\_per\_node[2/6/1],  
> receive\_predictor[512kb-\>512kb]  
> [14:10:36,729][DEBUG][discovery.zen.ping.multicast] [Marvel Boy] using  
> group [224.2.2.4], with port [54328], ttl [3], and address [null]  
> [14:10:36,733][DEBUG][discovery.zen.ping.unicast] [Marvel Boy] using  
> initial hosts [10.0.102.151], with concurrent\_connects [10]  
> [14:10:36,743][DEBUG][discovery.zen] [Marvel Boy] using  
> ping.timeout [3s], master\_election.filter\_client [true],  
> master\_election.filter\_data [false]  
> [14:10:36,743][DEBUG][discovery.zen.elect] [Marvel Boy] using  
> minimum\_master\_nodes [-1]  
> [14:10:36,744][DEBUG][discovery.zen.fd] [Marvel Boy] [master]  
> uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> [14:10:36,748][DEBUG][discovery.zen.fd] [Marvel Boy] [node]  
> uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> [14:10:36,779][DEBUG][monitor.jvm] [Marvel Boy] enabled  
> [true], last\_gc\_enabled [false], interval [1s], gc\_threshold  
> [{default=GcThreshold{name='default', warnThreshold=10000,  
> infoThreshold=5000, debugThreshold=2000}, ParNew=GcThreshold{name='ParNew',  
> warnThreshold=1000, infoThreshold=700, debugThreshold=400},  
> ConcurrentMarkSweep=GcThreshold{name='ConcurrentMarkSweep',  
> warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}]  
> [14:10:37,287][DEBUG][monitor.os] [Marvel Boy] Using probe  
> [org.elasticsearch.monitor.os.SigarOsProbe@20b00ec2] with refresh\_interval  
> [1s]  
> [14:10:37,290][DEBUG][monitor.process] [Marvel Boy] Using probe  
> [org.elasticsearch.monitor.process.SigarProcessProbe@14ee3dee] with  
> refresh\_interval [1s]  
> [14:10:37,293][DEBUG][monitor.jvm] [Marvel Boy] Using  
> refresh\_interval [1s]  
> [14:10:37,293][DEBUG][monitor.network] [Marvel Boy] Using probe  
> [org.elasticsearch.monitor.network.SigarNetworkProbe@2dabcea] with  
> refresh\_interval [5s]  
> [14:10:37,298][DEBUG][monitor.network] [Marvel Boy] net\_info  
> host [[app.devnimble.com](http://app.devnimble.com)]  
> venet0 display\_name [venet0]  
> address [/10.0.102.151] [/127.0.0.1]  
> mtu [1500] multicast [false] ptp [true] loopback [false]  
> up [true] virtual [false]  
> sub interfaces:  
> venet0:0 display\_name [venet0:0]  
> address [/10.0.102.151]  
> mtu [1500] multicast [false] ptp  
> [true] loopback [false] up [true] virtual [true]  
> lo display\_name [lo]  
> address [/0:0:0:0:0:0:0:1%1] [/127.0.0.1]  
> mtu [16436] multicast [false] ptp [false] loopback [true]  
> up [true] virtual [false]
> 
> [14:10:37,505][DEBUG][indices.store] [Marvel Boy] using  
> indices.store.throttle.type [none], with  
> index.store.throttle.max\_bytes\_per\_sec [0b]  
> [14:10:37,522][DEBUG][cache.memory] [Marvel Boy] using  
> bytebuffer cache with small\_buffer\_size [1kb], large\_buffer\_size [1mb],  
> small\_cache\_size [10mb], large\_cache\_size [500mb], direct [true]  
> [14:10:37,530][DEBUG][script] [Marvel Boy] using script  
> cache with max\_size [500], expire [null]  
> [14:10:37,558][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
> using node\_concurrent\_recoveries [2], node\_initial\_primaries\_recoveries [4]  
> [14:10:37,558][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
> using [cluster.routing.allocation.allow\_rebalance] with [indices\_all\_active]  
> [14:10:37,559][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
> using [cluster\_concurrent\_rebalance] with [2]  
> [14:10:37,562][DEBUG][gateway.local] [Marvel Boy] using  
> initial\_shards [quorum], list\_timeout [30s]  
> [14:10:37,754][DEBUG][http.netty] [Marvel Boy] using  
> max\_chunk\_size[8kb], max\_header\_size[8kb], max\_initial\_line\_length[4kb],  
> max\_content\_length[100mb], receive\_predictor[512kb-\>512kb]  
> [14:10:37,767][DEBUG][indices.recovery] [Marvel Boy] using  
> max\_size\_per\_sec[0b], concurrent\_streams [3], file\_chunk\_size [512kb],  
> translog\_size [512kb], translog\_ops [1000], and compress [true]  
> [14:10:37,776][DEBUG][indices.memory] [Marvel Boy] using  
> index\_buffer\_size [101.5mb], with min\_shard\_index\_buffer\_size [4mb],  
> max\_shard\_index\_buffer\_size [512mb], shard\_inactive\_time [30m]  
> [14:10:37,777][DEBUG][indices.cache.filter] [Marvel Boy] using [node]  
> weighted filter cache with size [20%], actual\_size [203.1mb], expire  
> [null], clean\_interval [1m]  
> [14:10:37,814][DEBUG][gateway.local.state.meta] [Marvel Boy] using  
> gateway.local.auto\_import\_dangled [YES], with  
> gateway.local.dangling\_timeout [2h]  
> [14:10:37,814][DEBUG][gateway.local.state.meta] [Marvel Boy] took 0s to  
> load state  
> [14:10:37,814][DEBUG][gateway.local.state.shards] [Marvel Boy] took 0s to  
> load started shards state  
> [14:10:37,833][DEBUG][bootstrap] Exception  
> org.elasticsearch.common.inject.CreationException: Guice creation errors:
> 
> 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  
> 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:57)  
> at  
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
> at java.lang.reflect.Constructor.newInstance(Constructor.java:532)  
> 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)

--  
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:** ![tetlika](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tetlika](https://discuss.elastic.co/u/tetlika)\
**Post date:** [April 10, 2013, 3:01pm UTC](https://discuss.elastic.co/t/es-fails-to-start/11531/3 "2013-04-10T15:01:23Z")

</div>

yeah, thanks Simon - looks it helped

Середа, 10 квітня 2013 р. 17:50:49 UTC+3 користувач simonw написав:

> this seems to be related to  
> [https://groups.google.com/d/msg/elasticsearch/xohEFK45YDE/adunVb3fmo4J](https://groups.google.com/d/msg/elasticsearch/xohEFK45YDE/adunVb3fmo4J)
> 
> maybe you can try removing the sigar libs
> 
> simon
> 
> On Wednesday, April 10, 2013 4:13:54 PM UTC+2, tetlika wrote:
> 
> > hi, my ES fails to start saying:  
> > why it fails to start?
> > 
> > [14:10:35,388][WARN][common.jna] Unknown mlockall error 0  
> > [14:10:35,394][INFO][node] [Marvel Boy]  
> > {0.20.5}[999]: initializing ...  
> > [14:10:35,395][DEBUG][node] [Marvel Boy] using home  
> > [/usr/share/java/elasticsearch], config [/etc/elasticsearch], data  
> > [[/tmp]], logs [/var/log/elasticsearch], work [/tmp/elasticsearch], plugins  
> > [/usr/share/java/elasticsearch/plugins]  
> > [14:10:35,401][INFO][plugins] [Marvel Boy] loaded ,  
> > sites   
> > [14:10:35,414][DEBUG][common.compress.lzf] using  
> > [UnsafeChunkDecoder] decoder  
> > [14:10:35,652][DEBUG][env] [Marvel Boy] using node  
> > location [[/tmp/nimble\_live/nodes/0]], local\_node\_id [0]  
> > [14:10:36,689][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [generic], type [cached], keep\_alive [30s]  
> > [14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [index], type [cached], keep\_alive [5m]  
> > [14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [bulk], type [cached], keep\_alive [5m]  
> > [14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [get], type [cached], keep\_alive [5m]  
> > [14:10:36,696][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [search], type [cached], keep\_alive [5m]  
> > [14:10:36,697][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [percolate], type [cached], keep\_alive [5m]  
> > [14:10:36,697][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [management], type [scaling], min [1], size [5], keep\_alive [5m]  
> > [14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [flush], type [scaling], min [1], size [10], keep\_alive [5m]  
> > [14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [merge], type [scaling], min [1], size [20], keep\_alive [5m]  
> > [14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [refresh], type [scaling], min [1], size [10], keep\_alive [5m]  
> > [14:10:36,700][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [cache], type [scaling], min [1], size [4], keep\_alive [5m]  
> > [14:10:36,701][DEBUG][threadpool] [Marvel Boy] creating  
> > thread\_pool [snapshot], type [scaling], min [1], size [5], keep\_alive [5m]  
> > [14:10:36,720][DEBUG][transport.netty] [Marvel Boy] using  
> > worker\_count[8], port[9300-9400], bind\_host[null], publish\_host[null],  
> > compress[true], connect\_timeout[30s], connections\_per\_node[2/6/1],  
> > receive\_predictor[512kb-\>512kb]  
> > [14:10:36,729][DEBUG][discovery.zen.ping.multicast] [Marvel Boy] using  
> > group [224.2.2.4], with port [54328], ttl [3], and address [null]  
> > [14:10:36,733][DEBUG][discovery.zen.ping.unicast] [Marvel Boy] using  
> > initial hosts [10.0.102.151], with concurrent\_connects [10]  
> > [14:10:36,743][DEBUG][discovery.zen] [Marvel Boy] using  
> > ping.timeout [3s], master\_election.filter\_client [true],  
> > master\_election.filter\_data [false]  
> > [14:10:36,743][DEBUG][discovery.zen.elect] [Marvel Boy] using  
> > minimum\_master\_nodes [-1]  
> > [14:10:36,744][DEBUG][discovery.zen.fd] [Marvel Boy] [master]  
> > uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> > [14:10:36,748][DEBUG][discovery.zen.fd] [Marvel Boy] [node]  
> > uses ping\_interval [1s], ping\_timeout [30s], ping\_retries [3]  
> > [14:10:36,779][DEBUG][monitor.jvm] [Marvel Boy] enabled  
> > [true], last\_gc\_enabled [false], interval [1s], gc\_threshold  
> > [{default=GcThreshold{name='default', warnThreshold=10000,  
> > infoThreshold=5000, debugThreshold=2000}, ParNew=GcThreshold{name='ParNew',  
> > warnThreshold=1000, infoThreshold=700, debugThreshold=400},  
> > ConcurrentMarkSweep=GcThreshold{name='ConcurrentMarkSweep',  
> > warnThreshold=10000, infoThreshold=5000, debugThreshold=2000}}]  
> > [14:10:37,287][DEBUG][monitor.os] [Marvel Boy] Using probe  
> > [org.elasticsearch.monitor.os.SigarOsProbe@20b00ec2] with refresh\_interval  
> > [1s]  
> > [14:10:37,290][DEBUG][monitor.process] [Marvel Boy] Using probe  
> > [org.elasticsearch.monitor.process.SigarProcessProbe@14ee3dee] with  
> > refresh\_interval [1s]  
> > [14:10:37,293][DEBUG][monitor.jvm] [Marvel Boy] Using  
> > refresh\_interval [1s]  
> > [14:10:37,293][DEBUG][monitor.network] [Marvel Boy] Using probe  
> > [org.elasticsearch.monitor.network.SigarNetworkProbe@2dabcea] with  
> > refresh\_interval [5s]  
> > [14:10:37,298][DEBUG][monitor.network] [Marvel Boy] net\_info  
> > host [[app.devnimble.com](http://app.devnimble.com)]  
> > venet0 display\_name [venet0]  
> > address [/10.0.102.151] [/127.0.0.1]  
> > mtu [1500] multicast [false] ptp [true] loopback [false]  
> > up [true] virtual [false]  
> > sub interfaces:  
> > venet0:0 display\_name [venet0:0]  
> > address [/10.0.102.151]  
> > mtu [1500] multicast [false] ptp  
> > [true] loopback [false] up [true] virtual [true]  
> > lo display\_name [lo]  
> > address [/0:0:0:0:0:0:0:1%1] [/127.0.0.1]  
> > mtu [16436] multicast [false] ptp [false] loopback [true]  
> > up [true] virtual [false]
> > 
> > [14:10:37,505][DEBUG][indices.store] [Marvel Boy] using  
> > indices.store.throttle.type [none], with  
> > index.store.throttle.max\_bytes\_per\_sec [0b]  
> > [14:10:37,522][DEBUG][cache.memory] [Marvel Boy] using  
> > bytebuffer cache with small\_buffer\_size [1kb], large\_buffer\_size [1mb],  
> > small\_cache\_size [10mb], large\_cache\_size [500mb], direct [true]  
> > [14:10:37,530][DEBUG][script] [Marvel Boy] using  
> > script cache with max\_size [500], expire [null]  
> > [14:10:37,558][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
> > using node\_concurrent\_recoveries [2], node\_initial\_primaries\_recoveries [4]  
> > [14:10:37,558][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
> > using [cluster.routing.allocation.allow\_rebalance] with [indices\_all\_active]  
> > [14:10:37,559][DEBUG][cluster.routing.allocation.decider] [Marvel Boy]  
> > using [cluster\_concurrent\_rebalance] with [2]  
> > [14:10:37,562][DEBUG][gateway.local] [Marvel Boy] using  
> > initial\_shards [quorum], list\_timeout [30s]  
> > [14:10:37,754][DEBUG][http.netty] [Marvel Boy] using  
> > max\_chunk\_size[8kb], max\_header\_size[8kb], max\_initial\_line\_length[4kb],  
> > max\_content\_length[100mb], receive\_predictor[512kb-\>512kb]  
> > [14:10:37,767][DEBUG][indices.recovery] [Marvel Boy] using  
> > max\_size\_per\_sec[0b], concurrent\_streams [3], file\_chunk\_size [512kb],  
> > translog\_size [512kb], translog\_ops [1000], and compress [true]  
> > [14:10:37,776][DEBUG][indices.memory] [Marvel Boy] using  
> > index\_buffer\_size [101.5mb], with min\_shard\_index\_buffer\_size [4mb],  
> > max\_shard\_index\_buffer\_size [512mb], shard\_inactive\_time [30m]  
> > [14:10:37,777][DEBUG][indices.cache.filter] [Marvel Boy] using  
> > [node] weighted filter cache with size [20%], actual\_size [203.1mb], expire  
> > [null], clean\_interval [1m]  
> > [14:10:37,814][DEBUG][gateway.local.state.meta] [Marvel Boy] using  
> > gateway.local.auto\_import\_dangled [YES], with  
> > gateway.local.dangling\_timeout [2h]  
> > [14:10:37,814][DEBUG][gateway.local.state.meta] [Marvel Boy] took 0s to  
> > load state  
> > [14:10:37,814][DEBUG][gateway.local.state.shards] [Marvel Boy] took 0s to  
> > load started shards state  
> > [14:10:37,833][DEBUG][bootstrap] Exception  
> > org.elasticsearch.common.inject.CreationException: Guice creation errors:
> > 
> > 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  
> > 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:57)  
> > at  
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:532)  
> > 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)

--  
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:** ![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:41am UTC](https://discuss.elastic.co/t/es-fails-to-start/11531/4 "2017-07-06T02:41:46Z")

</div>


