# Bootstrap error elasticsearch-7.1.1

**URL:** <https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274>\
**Category:** Elasticsearch\
**Created:** [June 11, 2019, 8:02pm UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274 "2019-06-11T20:02:19Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![asad\_ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asad_ali/32/47894_2.png) [@asad\_ali](https://discuss.elastic.co/u/asad_ali)\
**Post date:** [June 11, 2019, 8:02pm UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/1 "2019-06-11T20:02:20Z")

</div>

I'm using elasticsearch-7.1.1 on Ubuntu 19.04 with elasticasearch being source compiled \*.tar.gz

On the logs, I get as i start to start

> ./elasticsearch -d -p PID

> ```
> 2019-06-11T13:24:42,520][INFO][o.e.p.PluginsService] [elk] loaded module [x-pack-watcher]
> [2019-06-11T13:24:42,520][INFO][o.e.p.PluginsService] [elk] no plugins loaded
> [2019-06-11T13:24:45,128][ERROR][o.e.b.Bootstrap] [elk] Exception
> java.lang.IllegalArgumentException: unknown setting [es_enable_xpack] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
> at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:531) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:476) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:447) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:418) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:148) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.node.Node.<init>(Node.java:343) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.node.Node.<init>(Node.java:252) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:211) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:211) ~[elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:325) [elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-7.1.1.jar:7.1.1]
> at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.1.1.jar:7.1.1]
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) [elasticsearch-7.1.1.jar:7.1.1]
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.1.1.jar:7.1.1]
> Suppressed: java.lang.Ille
> 
> ```

I have changed elasticsearch.yml to add the following:-

> network.host: [_local_, _site_, _global_]  
> cluster.initial\_master\_nodes: node-1  
> name: "NETWORK\_HOST"  
> value: "_ens160:ipv4_"  
> es\_enable\_xpack: false  
> es\_xpack\_features: ["alerting","monitoring","graph","ml","security"]

In order to get it remote network login over 5601 port. Thanks

---

<div class="post-metadata">

**Author:** ![shin-higuchi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shin-higuchi/32/46524_2.png) [@shin-higuchi](https://discuss.elastic.co/u/shin-higuchi)\
**Post date:** [June 12, 2019, 3:49am UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/2 "2019-06-12T03:49:07Z")

</div>

The parameter “es\_enable\_xpack” is not valid.  
#I think “es\_xpack\_features” is also invalid.

You can configure like this.

```
    xpack.security.enabled: false
    xpack.monitoring.enabled: false

```

Thanks.

---

<div class="post-metadata">

**Author:** ![asad\_ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asad_ali/32/47894_2.png) [@asad\_ali](https://discuss.elastic.co/u/asad_ali)\
**Post date:** [June 12, 2019, 7:32am UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/3 "2019-06-12T07:32:34Z")

</div>

Thanks I solved the problem  
added these lines to elasticsearch.yml

> network.host: _local_:ipv4\_  
> network.publish\_host: 127.0.0.1  
> http.port: 9200  
> transport.tcp.port: 9300  
> discovery.type: single-node

Problem now is that I'm unable to connect remotely.

---

<div class="post-metadata">

**Author:** ![shin-higuchi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shin-higuchi/32/46524_2.png) [@shin-higuchi](https://discuss.elastic.co/u/shin-higuchi)\
**Post date:** [June 12, 2019, 7:44am UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/4 "2019-06-12T07:44:47Z")

</div>

Your settings seem to expect only local access.  
If you need to connect remotely please use this:

```
network.host: 0.0.0.0
# network.publish_host: 127.0.0.1
# http.port: 9200
# transport.tcp.port: 9300
# discovery.type: single-node
discovery.seed_hosts:
   - master-node-a
   - master-node-b
   - master-node-c
cluster.initial_master_nodes: 
   - master-node-a
   - master-node-b
   - master-node-c

```

Ref:[https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-settings.html#initial\_master\_nodes](https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-settings.html#initial_master_nodes)

---

<div class="post-metadata">

**Author:** ![asad\_ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asad_ali/32/47894_2.png) [@asad\_ali](https://discuss.elastic.co/u/asad_ali)\
**Post date:** [June 12, 2019, 8:16am UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/5 "2019-06-12T08:16:43Z")

</div>

After changes I get following error messages

> [2019-06-12T08:12:02,929][INFO][o.e.t.TransportService] [elk] publish\_address {10.27.0.4:9300}, bound\_addresses {0.0.0.0:9300}  
> [2019-06-12T08:12:02,938][INFO][o.e.b.BootstrapChecks] [elk] bound or publishing to a non-loopback address, enforcing bootstrap checks  
> [2019-06-12T08:12:02,963][ERROR][o.e.b.Bootstrap] [elk] node validation exception  
> [1] bootstrap checks failed  
> [1]: max virtual memory areas vm.max\_map\_count [65530] is too low, increase to at least [262144]  
> [2019-06-12T08:12:02,972][INFO][o.e.n.Node] [elk] stopping ...  
> [2019-06-12T08:12:03,014][INFO][o.e.n.Node] [elk] stopped  
> [2019-06-12T08:12:03,014][INFO][o.e.n.Node] [elk] closing ...  
> [2019-06-12T08:12:03,027][INFO][o.e.n.Node] [elk] closed  
> [2019-06-12T08:12:03,029][INFO][o.e.x.m.p.NativeController] [elk] Native controller process has stopped - no new native processes can be started

---

<div class="post-metadata">

**Author:** ![shin-higuchi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shin-higuchi/32/46524_2.png) [@shin-higuchi](https://discuss.elastic.co/u/shin-higuchi)\
**Post date:** [June 12, 2019, 8:30am UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/6 "2019-06-12T08:30:09Z")

</div>

Follow this one.  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html)

---

<div class="post-metadata">

**Author:** ![asad\_ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asad_ali/32/47894_2.png) [@asad\_ali](https://discuss.elastic.co/u/asad_ali)\
**Post date:** [June 12, 2019, 9:04am UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/7 "2019-06-12T09:04:24Z")

</div>

The problem still exists,

tcp 0 0 0.0.0.0:9200 0.0.0.0:\* LISTEN 2044/java  
tcp 0 0 0.0.0.0:9300 0.0.0.0:\* LISTEN 2044/java  
tcp 0 0 127.0.0.53:53 0.0.0.0:\* LISTEN 850/systemd-resolve  
tcp 0 0 0.0.0.0:22 0.0.0.0:\* LISTEN 1080/sshd  
tcp 0 0 127.0.0.1:5601 0.0.0.0:\* LISTEN 2104/./../node/bin/  
tcp6 0 0 :::22 :::\* LISTEN 1080/sshd

> [2019-06-12T09:01:18,555][INFO][o.e.c.s.MasterService] [elk] elected-as-master ([1] nodes joined)[{elk}{tJl3X-bPRp62gGp\_Gtj8UQ}{nfLXSsfyQfG52rmdX8iD\_w}{10.27.0.4}{10.27.0.4:9300}{ml.machine\_memory=4058173440, xpack.installed=true, ml.max\_open\_jobs=20} elect leader, _BECOME\_MASTER\_TASK_, _FINISH\_ELECTION_], term: 11, version: 71, reason: master node changed {previous , current [{elk}{tJl3X-bPRp62gGp\_Gtj8UQ}{nfLXSsfyQfG52rmdX8iD\_w}{10.27.0.4}{10.27.0.4:9300}{ml.machine\_memory=4058173440, xpack.installed=true, ml.max\_open\_jobs=20}]}  
> [2019-06-12T09:01:18,798][INFO][o.e.c.s.ClusterApplierService] [elk] master node changed {previous , current [{elk}{tJl3X-bPRp62gGp\_Gtj8UQ}{nfLXSsfyQfG52rmdX8iD\_w}{10.27.0.4}{10.27.0.4:9300}{ml.machine\_memory=4058173440, xpack.installed=true, ml.max\_open\_jobs=20}]}, term: 11, version: 71, reason: Publication{term=11, version=71}  
> [2019-06-12T09:01:18,894][INFO][o.e.h.AbstractHttpServerTransport] [elk] publish\_address {10.27.0.4:9200}, bound\_addresses {0.0.0.0:9200}  
> [2019-06-12T09:01:18,894][INFO][o.e.n.Node] [elk] started  
> [2019-06-12T09:01:19,114][WARN][o.e.x.s.a.s.m.NativeRoleMappingStore] [elk] Failed to clear cache for realms []  
> [2019-06-12T09:01:19,169][INFO][o.e.l.LicenseService] [elk] license [322fc376-9415-4200-bc3d-9101503d0b44] mode [basic] - valid  
> [2019-06-12T09:01:19,181][INFO][o.e.g.GatewayService] [elk] recovered [2] indices into cluster\_state  
> [2019-06-12T09:01:19,934][INFO][o.e.c.r.a.AllocationService] [elk] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.kibana\_task\_manager][0]] ...]).  
> [2019-06-12T09:01:42,630][INFO][o.e.c.m.MetaDataIndexTemplateService] [elk] adding template [.management-beats] for index patterns [.management-beat

---

<div class="post-metadata">

**Author:** ![shin-higuchi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shin-higuchi/32/46524_2.png) [@shin-higuchi](https://discuss.elastic.co/u/shin-higuchi)\
**Post date:** [June 12, 2019, 9:32am UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/8 "2019-06-12T09:32:21Z")

</div>

I'm afraid, it looks fine for me. What is current problem?

---

<div class="post-metadata">

**Author:** ![asad\_ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asad_ali/32/47894_2.png) [@asad\_ali](https://discuss.elastic.co/u/asad_ali)\
**Post date:** [June 12, 2019, 10:11am UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/9 "2019-06-12T10:11:51Z")

</div>

when I try to telnet to ports 9200 , 9300 and 5601 from remote machine it doesn't connects same is when I open with browser. I see , the ufw is turned off, and iptables is also default policy with no explicit deny statements.

The netstat , show the ports in listening mode as well.

yml file show as :-  
\> network.host: \_local\_  
\> discovery.seed\_hosts: ["host1", "host2", "host3"]  
\> cluster.initial\_master\_nodes: ["node-1", "node-2", "node-3"]

---

<div class="post-metadata">

**Author:** ![asad\_ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asad_ali/32/47894_2.png) [@asad\_ali](https://discuss.elastic.co/u/asad_ali)\
**Post date:** [June 12, 2019, 6:08pm UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/10 "2019-06-12T18:08:59Z")

</div>

Problem is solved  
edited kibana.yml

> server.host: 0.0.0.0

---

<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 10, 2019, 6:09pm UTC](https://discuss.elastic.co/t/bootstrap-error-elasticsearch-7-1-1/185274/11 "2019-07-10T18:09:00Z")

</div>

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