# Bootstrap checks failed while upgrading 5.6 to 6.3

**URL:** <https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363>\
**Category:** Elasticsearch\
**Created:** [July 3, 2018, 11:18am UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363 "2018-07-03T11:18:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lochanm](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@lochanm](https://discuss.elastic.co/u/lochanm)\
**Post date:** [July 3, 2018, 11:18am UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363/1 "2018-07-03T11:18:30Z")

</div>

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.

---

<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:** [July 3, 2018, 11:52am UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363/2 "2018-07-03T11:52:22Z")

</div>

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) 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:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

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](https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html)

---

<div class="post-metadata">

**Author:** ![lochanm](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@lochanm](https://discuss.elastic.co/u/lochanm)\
**Post date:** [July 3, 2018, 11:55am UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363/3 "2018-07-03T11:55:04Z")

</div>

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.

---

<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:** [July 3, 2018, 4:12pm UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363/4 "2018-07-03T16:12:20Z")

</div>

What did you change to fix:

```auto
[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](https://www.elastic.co/guide/en/elasticsearch/reference/6.3/_memory_lock_check.html)?

---

<div class="post-metadata">

**Author:** ![lochanm](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@lochanm](https://discuss.elastic.co/u/lochanm)\
**Post date:** [July 4, 2018, 6:36am UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363/5 "2018-07-04T06:36:45Z")

</div>

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

elasticsearch - memlock unlimited

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [July 4, 2018, 7:14am UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363/6 "2018-07-04T07:14:19Z")

</div>

add the as i know need restart machine.

---

<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:** [August 1, 2018, 7:14am UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-while-upgrading-5-6-to-6-3/138363/7 "2018-08-01T07:14:20Z")

</div>

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