# Getting a "Login is disabled" error when trying to log in to elastic/kibana

**URL:** <https://discuss.elastic.co/t/getting-a-login-is-disabled-error-when-trying-to-log-in-to-elastic-kibana/177631>\
**Category:** Elasticsearch\
**Created:** [April 19, 2019, 2:05pm UTC](https://discuss.elastic.co/t/getting-a-login-is-disabled-error-when-trying-to-log-in-to-elastic-kibana/177631 "2019-04-19T14:05:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmr317](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jmr317](https://discuss.elastic.co/u/jmr317)\
**Post date:** [April 19, 2019, 2:05pm UTC](https://discuss.elastic.co/t/getting-a-login-is-disabled-error-when-trying-to-log-in-to-elastic-kibana/177631/1 "2019-04-19T14:05:34Z")

</div>

> Login is currently disabled. Administrators should consult the Kibana logs for more details.

Out of nowhere, Kibana and Elastic seem to have locked up on us. When we try to access kibana via the web ui, we get the above error saying we can't login. Trying to access Elastic through the command line doesn't seem to be working either.

On checking the kibana logs, everything looked normal. The elastic logs included this error:

```
[2019-04-19T08:44:15,581][INFO][o.e.x.s.a.AuthenticationService] [{node-name}] Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]
[2019-04-19T08:44:15,619][ERROR][o.e.x.s.a.e.ReservedRealm] {node-name}] failed to retrieve password hash for reserved user [elastic]
org.elasticsearch.action.NoShardAvailableActionException: No shard available for [get [.security][doc][reserved-user-elastic]: routing [null]]

```

Anyone have an idea of where this error came from? I've looked through a bunch of the solutions for similar problems but none of them have worked so far.

---

<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:** [April 19, 2019, 9:36pm UTC](https://discuss.elastic.co/t/getting-a-login-is-disabled-error-when-trying-to-log-in-to-elastic-kibana/177631/2 "2019-04-19T21:36:38Z")

</div>

What version are you on?

---

<div class="post-metadata">

**Author:** ![jmr317](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jmr317](https://discuss.elastic.co/u/jmr317)\
**Post date:** [April 22, 2019, 1:17pm UTC](https://discuss.elastic.co/t/getting-a-login-is-disabled-error-when-trying-to-log-in-to-elastic-kibana/177631/3 "2019-04-22T13:17:18Z")

</div>

version 6.2.2

---

<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:** [May 20, 2019, 1:17pm UTC](https://discuss.elastic.co/t/getting-a-login-is-disabled-error-when-trying-to-log-in-to-elastic-kibana/177631/4 "2019-05-20T13:17:21Z")

</div>

Closed on May 20, 2019, 1:17pm UTC

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