# Not able to start the elasticsearch service

**URL:** <https://discuss.elastic.co/t/not-able-to-start-the-elasticsearch-service/252722>\
**Category:** Elasticsearch\
**Created:** [October 20, 2020, 5:39pm UTC](https://discuss.elastic.co/t/not-able-to-start-the-elasticsearch-service/252722 "2020-10-20T17:39:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![narayask](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@narayask](https://discuss.elastic.co/u/narayask)\
**Post date:** [October 20, 2020, 5:39pm UTC](https://discuss.elastic.co/t/not-able-to-start-the-elasticsearch-service/252722/1 "2020-10-20T17:39:07Z")

</div>

Hi Team,

Getting below error while starting the elastic service for version  
elasticsearch-7.8.1-amd64.deb  
elasticsearch-7.7.0-amd64.deb  
on ubuntu system and getting below error.

Please do the needful.

[2020-10-20T17:25:43,876][INFO][o.e.e.NodeEnvironment] [utl00tar01vm] using [1] data paths, mounts [[/ (/dev/sdb1)]], net usable\_space [3.3gb], net total\_space [28.9gb], types [ext4]  
[2020-10-20T17:25:43,879][INFO][o.e.e.NodeEnvironment] [utl00tar01vm] heap size [1gb], compressed ordinary object pointers [true]  
[2020-10-20T17:25:44,148][ERROR][o.e.b.Bootstrap] [utl00tar01vm] Exception  
org.elasticsearch.ElasticsearchException: failed to bind service  
at org.elasticsearch.node.Node.(Node.java:638) ~[elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.node.Node.(Node.java:264) ~[elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:227) ~[elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227) ~[elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393) [elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) [elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) [elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) [elasticsearch-cli-7.7.0.jar:7.7.0]  
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.7.0.jar:7.7.0]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) [elasticsearch-7.7.0.jar:7.7.0]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.7.0.jar:7.7.0]  
Caused by: org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource BufferedChecksumIndexInput(SimpleFSIndexInput(path="/var/lib/elasticsearch/nodes/0/\_state/segments\_sy"))): 10 (needs to be between 7 and 9)  
at org.apache.lucene.codecs.CodecUtil.checkHeaderNoMagic(CodecUtil.java:216) ~[lucene-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 - ivera - 2020-04-08 08:55:42]  
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:305) ~[lucene-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 - ivera - 2020-04-08 08:55:42]  
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:289) ~[lucene-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 - ivera - 2020-04-08 08:55:42]  
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:64) ~[lucene-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 - ivera - 2020-04-08 08:55:42]  
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:61) ~[lucene-core-8.5.1.jar:8.5.1 edb9fc409398f2c3446883f9f80595c884d245d0 - ivera - 2020-04-08 08:55:42]

Thanks  
Sanjeev Kumar N

---

<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:** [October 21, 2020, 8:15am UTC](https://discuss.elastic.co/t/not-able-to-start-the-elasticsearch-service/252722/2 "2020-10-21T08:15:31Z")

</div>

How did you create these indices that you are trying to read - using which version? The exception is a `IndexFormatTooNewException` - basically a complaint that the data you are trying to read is too new and written with another major version of Elasticsearch and Lucene.

---

<div class="post-metadata">

**Author:** ![narayask](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@narayask](https://discuss.elastic.co/u/narayask)\
**Post date:** [October 23, 2020, 11:13am UTC](https://discuss.elastic.co/t/not-able-to-start-the-elasticsearch-service/252722/3 "2020-10-23T11:13:03Z")

</div>

> [@narayask](#):
>
> [o.

Hi Spinscale,

Thanks issue is resolved.

## Steps taken.

Add the below config to /etc/elasticsearch/elasticsearch.yml  
network.host: 127.0.0.1  
http.host: 0.0.0.0

restart elasticsearch.

---

<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:** [October 26, 2020, 8:56am UTC](https://discuss.elastic.co/t/not-able-to-start-the-elasticsearch-service/252722/4 "2020-10-26T08:56:48Z")

</div>

Happy to hear you resolved your issue. However I am not sure sure that those two configuration are linked in any way to indices, so please take a look at your logs over the next couple of days to make sure everything works as expected.

Thanks!

---

<div class="post-metadata">

**Author:** ![narayask](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@narayask](https://discuss.elastic.co/u/narayask)\
**Post date:** [November 2, 2020, 4:08am UTC](https://discuss.elastic.co/t/not-able-to-start-the-elasticsearch-service/252722/5 "2020-11-02T04:08:14Z")

</div>

Sure let me monitor and update you. Thanks

---

<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:** [November 30, 2020, 4:08am UTC](https://discuss.elastic.co/t/not-able-to-start-the-elasticsearch-service/252722/6 "2020-11-30T04:08:21Z")

</div>

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