# Xpack from msi

**URL:** <https://discuss.elastic.co/t/xpack-from-msi/262279>\
**Category:** Elasticsearch\
**Tags:** windows-installer\
**Created:** [January 26, 2021, 8:23pm UTC](https://discuss.elastic.co/t/xpack-from-msi/262279 "2021-01-26T20:23:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tino23](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tino23](https://discuss.elastic.co/u/Tino23)\
**Post date:** [January 26, 2021, 8:23pm UTC](https://discuss.elastic.co/t/xpack-from-msi/262279/1 "2021-01-26T20:23:17Z")

</div>

please help me fix this installed my search using msi version elasticsearch-7.10.2

Unexpected response code [405] from calling GET [http://127.0.0.1:9200/\_security/\_authenticate?pretty](http://127.0.0.1:9200/_security/_authenticate?pretty)  
It doesn't look like the X-Pack security feature is enabled on this Elasticsearch node.  
Please check if you have enabled X-Pack security in your elasticsearch.yml configuration file.

ERROR: X-Pack Security is disabled by configuration.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 26, 2021, 9:47pm UTC](https://discuss.elastic.co/t/xpack-from-msi/262279/2 "2021-01-26T21:47:37Z")

</div>

Welcome to our community! 😃

Where did this error show up exactly?

---

<div class="post-metadata">

**Author:** ![Tino23](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tino23](https://discuss.elastic.co/u/Tino23)\
**Post date:** [January 26, 2021, 10:19pm UTC](https://discuss.elastic.co/t/xpack-from-msi/262279/3 "2021-01-26T22:19:32Z")

</div>

on installation i see im supposed to narrate password in cmd thats the error there i can nnot see the conf file in msi is it normal im going to have to connect to elasticsearch

---

<div class="post-metadata">

**Author:** ![Tino23](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tino23](https://discuss.elastic.co/u/Tino23)\
**Post date:** [February 1, 2021, 6:54pm UTC](https://discuss.elastic.co/t/xpack-from-msi/262279/4 "2021-02-01T18:54:03Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a788a9b2ca6bd5e038c54b2a2f0d42f01d79f8dc.png)  
this is the error

[2021-02-01T20:50:54,350][INFO][o.e.p.PluginsService] [DESKTOP-M7Q4TS2] no plugins loaded  
[2021-02-01T20:50:56,173][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [DESKTOP-M7Q4TS2] uncaught exception in thread [main]  
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to obtain node locks, tried [[C:\ProgramData\Elastic\Elasticsearch\data]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max\_local\_storage\_nodes] (was [1])?  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:174) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) ~[elasticsearch-cli-7.10.2.jar:7.10.2]  
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.10.2.jar:7.10.2]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.10.2.jar:7.10.2]  
Caused by: java.lang.IllegalStateException: failed to obtain node locks, tried [[C:\ProgramData\Elastic\Elasticsearch\data]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max\_local\_storage\_nodes] (was [1])?  
at org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:302) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.node.Node.(Node.java:362) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.node.Node.(Node.java:289) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:227) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393) ~[elasticsearch-7.10.2.jar:7.10.2]  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.10.2.jar:7.10.2]  
... 6 more  
uncaught exception in thread [main]  
java.lang.IllegalStateException: failed to obtain node locks, tried [[C:\ProgramData\Elastic\Elasticsearch\data]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max\_local\_storage\_nodes] (was [1])?  
at org.elasticsearch.env.NodeEnvironment.(NodeEnvironment.java:302)  
at org.elasticsearch.node.Node.(Node.java:362)  
at org.elasticsearch.node.Node.(Node.java:289)  
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:227)  
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:227)  
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393)  
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)  
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)  
at org.elasticsearch.cli.Command.main(Command.java:90)  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)  
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)  
For complete error details, refer to the log at C:\ProgramData\Elastic\Elasticsearch\logs\elasticsearch.log

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 1, 2021, 7:51pm UTC](https://discuss.elastic.co/t/xpack-from-msi/262279/5 "2021-02-01T19:51:13Z")

</div>

> [@Tino23](#):
>
> failed to obtain node locks, tried [[C:\ProgramData\Elastic\Elasticsearch\data]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max\_local\_storage\_nodes] (was [1])

Did you look into that?

---

<div class="post-metadata">

**Author:** ![Tino23](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Tino23](https://discuss.elastic.co/u/Tino23)\
**Post date:** [February 10, 2021, 7:56am UTC](https://discuss.elastic.co/t/xpack-from-msi/262279/6 "2021-02-10T07:56:19Z")

</div>

how to make them writable?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 10, 2021, 7:57am UTC](https://discuss.elastic.co/t/xpack-from-msi/262279/7 "2021-02-10T07:57:18Z")

</div>

Did you start multiple nodes?  
Did you check the directory permissions?

---

<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:** [March 10, 2021, 7:58am UTC](https://discuss.elastic.co/t/xpack-from-msi/262279/8 "2021-03-10T07:58:13Z")

</div>

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