Kibana log in is currently disabled. administrators should consult the kibana logs for more details

I have installed x-pack on kibana and elasticsearch. Elasticsearch works fine but on the kibana i can not log in. This picture shows the condition:


I have changed my password and updated the kibana.yml file with the new password. The log is:

log [01:27:53.502] [info][status][plugin:kibana@6.0.0] Status changed from uninitialized to green - Ready
log [01:27:53.557] [info][status][plugin:elasticsearch@6.0.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [01:27:53.588] [info][status][plugin:xpack_main@6.0.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [01:27:53.607] [error][status][plugin:xpack_main@6.0.0] Status changed from yellow to red - Authentication Exception
log [01:27:53.608] [error][status][plugin:elasticsearch@6.0.0] Status changed from yellow to red - Authentication Exception
log [01:27:53.655] [error][status][plugin:graph@6.0.0] Status changed from uninitialized to red - Authentication Exception
log [01:27:53.662] [info][status][plugin:monitoring@6.0.0] Status changed from uninitialized to green - Ready
log [01:27:54.542] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
log [01:27:54.546] [error][status][plugin:reporting@6.0.0] Status changed from uninitialized to red - Authentication Exception
log [01:27:54.589] [error][status][plugin:security@6.0.0] Status changed from uninitialized to red - Authentication Exception
log [01:27:54.590] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
log [01:27:54.593] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [01:27:54.628] [error][status][plugin:searchprofiler@6.0.0] Status changed from uninitialized to red - Authentication Exception
log [01:27:54.634] [error][status][plugin:ml@6.0.0] Status changed from uninitialized to red - Authentication Exception
log [01:27:54.677] [info][status][plugin:ml@6.0.0] Status changed from red to yellow - Waiting for Elasticsearch
log [01:27:54.684] [error][status][plugin:ml@6.0.0] Status changed from yellow to red - Authentication Exception
log [01:27:54.688] [error][status][plugin:tilemap@6.0.0] Status changed from uninitialized to red - Authentication Exception
log [01:27:54.706] [error][status][plugin:watcher@6.0.0] Status changed from uninitialized to red - Authentication Exception
log [01:27:54.726] [info][status][plugin:grokdebugger@6.0.0] Status changed from uninitialized to green - Ready
log [01:27:54.732] [info][status][plugin:dashboard_mode@6.0.0] Status changed from uninitialized to green - Ready
log [01:27:54.737] [error][status][plugin:logstash@6.0.0] Status changed from uninitialized to red - Authentication Exception
log [01:27:54.754] [info][status][plugin:console@6.0.0] Status changed from uninitialized to green - Ready
log [01:27:54.767] [info][status][plugin:metrics@6.0.0] Status changed from uninitialized to green - Ready
log [01:27:54.916] [info][status][plugin:timelion@6.0.0] Status changed from uninitialized to green - Ready
log [01:27:54.919] [info][listening] Server running at http://localhost:5601
log [01:27:54.920] [error][status][ui settings] Status changed from uninitialized to red - Elasticsearch plugin is red

Has anybody experienced the same problem? Also i can not find the xpack.security.enabled in my kibana.yml so technically i can not turn off the security of x-pack.
Thanks very much everyone.

Hi @hoangkhac

As @TimV mentioned in your other post you can add the necessary options xpack.security.enabled: false in your kibana.yml and elasticsearch.yml yourself.

Regarding your main issue now, it looks like Kibana can't connect to Elasticsearch

log [01:27:54.589] [error][status][plugin:security@6.0.0] Status changed from uninitialized to red - Authentication Exception

Verify that the credentials you have set in kibana.yml are correct

> elasticsearch.username: 
> elasticsearch.password:

You can verify the correctness of the credentials by attempting to authenticate to Elasticsearch yourself with those
curl -XGET http://localhost:9200 -u <user>
replacing with what you have in kibana.yml

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