# Elasticsearch does not start

**URL:** <https://discuss.elastic.co/t/elasticsearch-does-not-start/106572>\
**Category:** Elasticsearch\
**Created:** [November 6, 2017, 5:56pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572 "2017-11-06T17:56:39Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [November 6, 2017, 5:56pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/1 "2017-11-06T17:56:39Z")

</div>

Suddenly started seeing below error message, it was working fine before, no changes have been made anywhere

```
 [2017-11-06T09:54:28,544][INFO][o.e.n.Node] [] initializing ...
    [2017-11-06T09:54:28,623][INFO][o.e.e.NodeEnvironment] [4M9Qwnd] using [1] data paths, mounts [[/ (/dev/disk1s1)]], net usable_space [401.7gb], net total_space [930.9gb], spins? [unknown], types [apfs]
    [2017-11-06T09:54:28,624][INFO][o.e.e.NodeEnvironment] [4M9Qwnd] heap size [1.9gb], compressed ordinary object pointers [true]
    [2017-11-06T09:54:28,745][INFO][o.e.n.Node] node name [4M9Qwnd] derived from node ID [4M9QwndQTqGQ0dDOeRtVxA]; set [node.name] to override
    [2017-11-06T09:54:28,746][INFO][o.e.n.Node] version[5.4.0], pid[2429], build[780f8c4/2017-04-28T17:43:27.229Z], OS[Mac OS X/10.13.2/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_92/25.92-b14]
    [2017-11-06T09:54:29,437][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [aggs-matrix-stats]
    [2017-11-06T09:54:29,437][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [ingest-common]
    [2017-11-06T09:54:29,438][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [lang-expression]
    [2017-11-06T09:54:29,438][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [lang-groovy]
    [2017-11-06T09:54:29,438][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [lang-mustache]
    [2017-11-06T09:54:29,438][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [lang-painless]
    [2017-11-06T09:54:29,438][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [percolator]
    [2017-11-06T09:54:29,438][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [reindex]
    [2017-11-06T09:54:29,438][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [transport-netty3]
    [2017-11-06T09:54:29,438][INFO][o.e.p.PluginsService] [4M9Qwnd] loaded module [transport-netty4]
    [2017-11-06T09:54:29,439][INFO][o.e.p.PluginsService] [4M9Qwnd] no plugins loaded
    [2017-11-06T09:54:30,931][INFO][o.e.d.DiscoveryModule] [4M9Qwnd] using discovery type [zen]
    [2017-11-06T09:54:31,453][INFO][o.e.n.Node] initialized
    [2017-11-06T09:54:31,453][INFO][o.e.n.Node] [4M9Qwnd] starting ...
    [2017-11-06T09:54:31,570][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
    org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to resolve host null]; nested: SocketException[Operation not permitted];
    	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.4.0.jar:5.4.0]
    Caused by: org.elasticsearch.transport.BindTransportException: Failed to resolve host null
    	at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:711) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:172) ~[?:?]
    	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.transport.TransportService.doStart(TransportService.java:196) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.node.Node.start(Node.java:685) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:287) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:369) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.4.0.jar:5.4.0]
    	... 6 more
    Caused by: java.net.SocketException: Operation not permitted
    	at java.net.NetworkInterface.getAll(Native Method) ~[?:1.8.0_92]
    	at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:343) ~[?:1.8.0_92]
    	at org.elasticsearch.common.network.NetworkUtils.getInterfaces(NetworkUtils.java:128) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.common.network.NetworkUtils.getLoopbackAddresses(NetworkUtils.java:156) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.common.network.NetworkService.resolveInternal(NetworkService.java:240) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.common.network.NetworkService.resolveInetAddresses(NetworkService.java:220) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.common.network.NetworkService.resolveBindHostAddresses(NetworkService.java:130) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:709) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:172) ~[?:?]
    	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.transport.TransportService.doStart(TransportService.java:196) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:69) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.node.Node.start(Node.java:685) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:287) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:369) ~[elasticsearch-5.4.0.jar:5.4.0]
    	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.4.0.jar:5.4.0]
    	... 6 more
```

---

<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:** [November 6, 2017, 6:19pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/2 "2017-11-06T18:19:51Z")

</div>

Strange. May be upgrade first?

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [November 6, 2017, 7:21pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/3 "2017-11-06T19:21:14Z")

</div>

I have tried to download latest version of ES and still see the same issue.

---

<div class="post-metadata">

**Author:** ![mdwbkny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdwbkny/32/23871_2.png) [@mdwbkny](https://discuss.elastic.co/u/mdwbkny)\
**Post date:** [November 6, 2017, 7:52pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/4 "2017-11-06T19:52:27Z")

</div>

I am having the same issue after upgrading to 10.13.2 beta.

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [November 6, 2017, 8:02pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/5 "2017-11-06T20:02:02Z")

</div>

Yep upgraded to 10.13.2 Beta (17C67b) and see the same issue. Even if I downloaded new ES version 5.6.3 , I see the same issue. not sure how to resolve this?

---

<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:** [November 6, 2017, 8:11pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/6 "2017-11-06T20:11:21Z")

</div>

What is "10.13.2"?

---

<div class="post-metadata">

**Author:** ![mdwbkny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdwbkny/32/23871_2.png) [@mdwbkny](https://discuss.elastic.co/u/mdwbkny)\
**Post date:** [November 6, 2017, 8:16pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/7 "2017-11-06T20:16:52Z")

</div>

macOS v 10.13.2 (17C67b) Developer Beta\*

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 6, 2017, 9:38pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/8 "2017-11-06T21:38:38Z")

</div>

Sounds like its an OS level issue. How did you install Elasticsearch?

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [November 6, 2017, 10:02pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/9 "2017-11-06T22:02:07Z")

</div>

Just installed from the ZIP file . it was working fine until i upgraded to new OS X beta version.

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [November 6, 2017, 10:11pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/10 "2017-11-06T22:11:44Z")

</div>

Looks like there is something wrong with your elasticsearch.yml file. Can you post that here?

> [@samdash](#):
>
> org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to resolve host null]; nested: SocketException[Operation not permitted];

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [November 6, 2017, 10:12pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/11 "2017-11-06T22:12:29Z")

</div>

i did not change the elasticsearch.yml , it is the default configuration that comes with elasticsearch

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 6, 2017, 10:17pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/12 "2017-11-06T22:17:24Z")

</div>

> [@samdash](#):
>
> it was working fine until i upgraded to new OS X beta version.

Possible OS bug then huh?

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [November 6, 2017, 10:17pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/13 "2017-11-06T22:17:30Z")

</div>

I would suggest to configure it properly with correct bind / publish addresses as default is apparently not working.

Please read this: [https://www.elastic.co/guide/en/elasticsearch/reference/5.4/modules-network.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.4/modules-network.html)

It might aid in your problem.

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [November 6, 2017, 10:38pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/14 "2017-11-06T22:38:55Z")

</div>

> [@warkolm](#):
>
> Possible OS bug then huh?

Yes i believe.

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [November 7, 2017, 5:34pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/15 "2017-11-07T17:34:26Z")

</div>

> [@mdwbkny](#):
>
> I am having the same issue after upgrading to 10.13.2 beta.

Did you find any fix for this? do post if there is any solution or workaround for this.

---

<div class="post-metadata">

**Author:** ![mdwbkny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdwbkny/32/23871_2.png) [@mdwbkny](https://discuss.elastic.co/u/mdwbkny)\
**Post date:** [November 8, 2017, 3:10pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/16 "2017-11-08T15:10:46Z")

</div>

@samdash I didn't find a solution yet. The only thing I can think of would be to revert back to the public High Sierra. Unfortunately, that comes with wiping everything and starting from scratch. Not ready to give up just yet. Will let you know if I come up with anything.

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [November 10, 2017, 6:00pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/17 "2017-11-10T18:00:26Z")

</div>

> [@mdwbkny](#):
>
> I didn't find a solution yet. The only thing I can think of would be to revert back to the public High Sierra. Unfortunately, that comes with wiping everything and starting from scratch. Not ready to give up just yet. Will let you know if I come up with anything.

Good News Mike, Apple released another update Beta 3 , 10.13.2 Beta (17C76a) , please update and it should be working fine. good luck

---

<div class="post-metadata">

**Author:** ![mdwbkny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdwbkny/32/23871_2.png) [@mdwbkny](https://discuss.elastic.co/u/mdwbkny)\
**Post date:** [November 10, 2017, 6:16pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/18 "2017-11-10T18:16:57Z")

</div>

@samdash When? All I see is macOS High Sierra 10.13.2 beta 2 (17C67b)...

---

<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:** [December 8, 2017, 6:16pm UTC](https://discuss.elastic.co/t/elasticsearch-does-not-start/106572/19 "2017-12-08T18:16:57Z")

</div>

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