Bootstrap checks failed while upgrading 5.6 to 6.3

Hello, I am upgrading ES cluster from version 5.6 to 6.3 and facing the below issue. I tried to set up everything as per recommendation but still getting below error. Can someone please help with that?

[2018-07-03T11:05:32,694][INFO ][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/27644] [Main.cc@109] controller (64 bit): Version 6.3.0 (Build 0f0a34c67965d7) Copyright (c) 2018 Elasticsearch BV
[2018-07-03T11:05:33,036][DEBUG][o.e.a.ActionModule       ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2018-07-03T11:05:33,290][INFO ][o.e.d.DiscoveryModule    ] [bsa-test-vm-03] using discovery type [zen]
[2018-07-03T11:05:34,096][INFO ][o.e.n.Node               ] [bsa-test-vm-03] initialized
[2018-07-03T11:05:34,097][INFO ][o.e.n.Node               ] [bsa-test-vm-03] starting ...
[2018-07-03T11:05:34,293][INFO ][o.e.t.TransportService   ] [bsa-test-vm-03] publish_address {10.80.128.14:9300}, bound_addresses {[::]:9300}
[2018-07-03T11:05:34,316][INFO ][o.e.b.BootstrapChecks    ] [bsa-test-vm-03] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-07-03T11:05:34,319][ERROR][o.e.b.Bootstrap          ] [bsa-test-vm-03] node validation exception
[1] bootstrap checks failed
[1]: memory locking requested for elasticsearch process but memory is not locked
[2018-07-03T11:05:34,322][INFO ][o.e.n.Node               ] [bsa-test-vm-03] stopping ...
[2018-07-03T11:05:34,414][INFO ][o.e.n.Node               ] [bsa-test-vm-03] stopped
[2018-07-03T11:05:34,414][INFO ][o.e.n.Node               ] [bsa-test-vm-03] closing ...
[2018-07-03T11:05:34,426][INFO ][o.e.n.Node               ] [bsa-test-vm-03] closed
[2018-07-03T11:05:34,429][INFO ][o.e.x.m.j.p.NativeController] Native controller process has stopped - no new native processes can be started

Thanks in advance.

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.

About your problem Please read https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html

Thanks, I format the code now. Apologize, its my first post so few things are missed. I read the post and verified and all looks okay but still it is failing.

What did you change to fix:

[1]: memory locking requested for elasticsearch process but memory is not locked

? Did you apply this: https://www.elastic.co/guide/en/elasticsearch/reference/6.3/_memory_lock_check.html?

Yeah, I did that but still facing the same issue. Below is the configuration for my /etc/security/limits.conf.

elasticsearch - memlock unlimited

add the as i know need restart machine.

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