# Error Running ./bin/elasticsearch-setup-passwords interactive

**URL:** <https://discuss.elastic.co/t/error-running-bin-elasticsearch-setup-passwords-interactive/137289>\
**Category:** Elasticsearch\
**Created:** [June 25, 2018, 4:19pm UTC](https://discuss.elastic.co/t/error-running-bin-elasticsearch-setup-passwords-interactive/137289 "2018-06-25T16:19:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrike718](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@shrike718](https://discuss.elastic.co/u/shrike718)\
**Post date:** [June 25, 2018, 4:19pm UTC](https://discuss.elastic.co/t/error-running-bin-elasticsearch-setup-passwords-interactive/137289/1 "2018-06-25T16:19:48Z")

</div>

Received the following error running elasticsearch-setup-passwords interactive:

elasticsearch-6.3.0]$ ./bin/elasticsearch-setup-passwords interactive

Unexpected response code [403] from calling GET [http://127.0.0.1:9200/\_xpack/security/\_authenticate?pretty](http://127.0.0.1:9200/_xpack/security/_authenticate?pretty)  
It doesn't look like the X-Pack security feature is available on this Elasticsearch node.  
Please check if you have installed a license that allows access to X-Pack Security feature.

ERROR: X-Pack Security is not available.

Anyone know I can overcome this? I'm following the getting started video (which appears to be from 6.2).

---

<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:** [June 25, 2018, 4:31pm UTC](https://discuss.elastic.co/t/error-running-bin-elasticsearch-setup-passwords-interactive/137289/2 "2018-06-25T16:31:30Z")

</div>

In 6.3, you need to activate security features when you have a basic license.  
This can easily be done by clicking in Kibana in Management -\> License.

You can there activate the trial period.

---

<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 23, 2018, 4:31pm UTC](https://discuss.elastic.co/t/error-running-bin-elasticsearch-setup-passwords-interactive/137289/3 "2018-07-23T16:31:45Z")

</div>

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