# SOLVED by re-installing ELK stack using tar files: Unable to login to kibana and elastic search after installing x-pack

**URL:** <https://discuss.elastic.co/t/solved-by-re-installing-elk-stack-using-tar-files-unable-to-login-to-kibana-and-elastic-search-after-installing-x-pack/131927>\
**Category:** Kibana\
**Created:** [May 15, 2018, 12:17pm UTC](https://discuss.elastic.co/t/solved-by-re-installing-elk-stack-using-tar-files-unable-to-login-to-kibana-and-elastic-search-after-installing-x-pack/131927 "2018-05-15T12:17:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harshal\_Yeole](https://avatars.discourse-cdn.com/v4/letter/h/d2c977/32.png) [@Harshal\_Yeole](https://discuss.elastic.co/u/Harshal_Yeole)\
**Post date:** [May 15, 2018, 12:17pm UTC](https://discuss.elastic.co/t/solved-by-re-installing-elk-stack-using-tar-files-unable-to-login-to-kibana-and-elastic-search-after-installing-x-pack/131927/1 "2018-05-15T12:17:27Z")

</div>

Hi,

ELK Version : 6.2.4

I am new to the elastic search and kibana and I started using this [link](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/installing-xpack-es.html)

Before this i was able to access the Kibana and the Elastic serach very well with out password but now it prompts me with username password pop-up.

I have set thepassword using following command:  
`bin/x-pack/setup-passwords interactive`  
which wasn't success.

Any help be appriciated, thanks.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [May 15, 2018, 8:52pm UTC](https://discuss.elastic.co/t/solved-by-re-installing-elk-stack-using-tar-files-unable-to-login-to-kibana-and-elastic-search-after-installing-x-pack/131927/2 "2018-05-15T20:52:24Z")

</div>

Hi,  
I would also check if you have the `elasticsearch.username: xxxxx` and `elasticsearch.password: xxxxx` set right in `kibana.yml` to access ES . Can you share exactly what is the error message you are encountering. Screenshots, config files ( you can strip the pwds if any) , logs would help us debug more.

Cheers  
Rashmi

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [May 16, 2018, 1:43am UTC](https://discuss.elastic.co/t/solved-by-re-installing-elk-stack-using-tar-files-unable-to-login-to-kibana-and-elastic-search-after-installing-x-pack/131927/3 "2018-05-16T01:43:04Z")

</div>

> [@Harshal\_Yeole](#):
>
> now it prompts me with username password pop-up.

What does "it" mean? Kibana?  
If you install X-Pack with security enabled, then Kibana is supposed to show you a login page.  
What sort of "pop-up" are you seeing?

> [@Harshal\_Yeole](#):
>
> I have set thepassword using following command: [...] which wasn't success.

What does that mean? What error did you receive? How do you know it wasn't successful?

---

<div class="post-metadata">

**Author:** ![skyluke.1987](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)\
**Post date:** [May 16, 2018, 9:37am UTC](https://discuss.elastic.co/t/solved-by-re-installing-elk-stack-using-tar-files-unable-to-login-to-kibana-and-elastic-search-after-installing-x-pack/131927/4 "2018-05-16T09:37:52Z")

</div>

![Capture2](https://us1.discourse-cdn.com/elastic/original/3X/3/2/32b4d8aff8b66f1df94b769c622387d1dd73f36e.PNG)

I have this error when I load the Kibana.

---

<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:** [June 13, 2018, 9:37am UTC](https://discuss.elastic.co/t/solved-by-re-installing-elk-stack-using-tar-files-unable-to-login-to-kibana-and-elastic-search-after-installing-x-pack/131927/5 "2018-06-13T09:37:58Z")

</div>

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