[7.0 Error] CANNOT start after changing IP in 7.0 (code=exited, status=78)

At first I used the default setting, and everything works fine.

But when I change the host IP in elasticsearch.yml, it just can't launch:


The config I changed:

I can launch ES succesfully in 1.7.3 version with changed IP, so I don't think it's a firewall problem. Does anyone know why?

Here's the log:

307 [2019-04-25T20:11:46,642][INFO ][o.e.p.PluginsService     ] [bigiron] no plugins loaded
308 [2019-04-25T20:11:55,179][INFO ][o.e.x.s.a.s.FileRolesStore] [bigiron] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
309 [2019-04-25T20:11:56,477][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [bigiron] [controller/1796] [Main.cc@109] controller (64 bit): Version 7.0.0 (Build cdaa022645f38d) Copyright (c) 2019 Elasticsearch BV
310 [2019-04-25T20:11:57,240][DEBUG][o.e.a.ActionModule       ] [bigiron] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
311 [2019-04-25T20:11:57,750][INFO ][o.e.d.DiscoveryModule    ] [bigiron] using discovery type [zen] and seed hosts providers [settings]
312 [2019-04-25T20:11:59,260][INFO ][o.e.n.Node               ] [bigiron] initialized
313 [2019-04-25T20:11:59,261][INFO ][o.e.n.Node               ] [bigiron] starting ...
314 [2019-04-25T20:11:59,497][INFO ][o.e.t.TransportService   ] [bigiron] publish_address {172.17.211.51:9300}, bound_addresses {172.17.211.51:9300}
315 [2019-04-25T20:11:59,512][INFO ][o.e.b.BootstrapChecks    ] [bigiron] bound or publishing to a non-loopback address, enforcing bootstrap checks
316 [2019-04-25T20:11:59,555][ERROR][o.e.b.Bootstrap          ] [bigiron] node validation exception
317 [1] bootstrap checks failed
318 [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
319 [2019-04-25T20:11:59,573][INFO ][o.e.n.Node               ] [bigiron] stopping ...
320 [2019-04-25T20:11:59,599][INFO ][o.e.n.Node               ] [bigiron] stopped
321 [2019-04-25T20:11:59,599][INFO ][o.e.n.Node               ] [bigiron] closing ...
322 [2019-04-25T20:11:59,622][INFO ][o.e.n.Node               ] [bigiron] closed
323 [2019-04-25T20:11:59,623][INFO ][o.e.x.m.p.NativeController] [bigiron] Native controller process has stopped - no new native processes can be started

You are not binding to localhost so you are subject to bootstrap checks:

However one of the bootstrap checks is failing:

To resolve this, configure at least one of the settings given, or disable the bootstrap checks by setting discovery.type: single-node.

1 Like

thanks a lot! I'll try it now.

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