Xpack licence expired, Kibana login message said to disable security.
I found some instructions saying to add
xpack.security.enabled: false
to kibana.yml.
On restarting kibana I get the following in the log every few seconds
{"type":"log","@timestamp":"2017-10-19T13:51:10Z","tags":["fatal"],"pid":60333,"level":"fatal","message":"EACCES: permission denied, open '/usr/share/kibana/optimize/bundles/graph.entry.js'","error":{"message":"EACCES: permission denied, open '/usr/share/kibana/optimize/bundles/graph.entry.js'","name":"Error","stack":"Error: EACCES: permission denied, open '/usr/share/kibana/optimize/bundles/graph.entry.js'\n at Error (native)","code":"EACCES"}}
So I found some bug reports suggesting this is a known bug and that as a workaround one could try
chown -R kibana.kibana /usr/share/kibana/
So I tried that, and restarted Kibana. This behaves differently: Kibana creates an empty log file, writes nothing to it, and doesn't start listening on port 5601.
All there is in syslog is "Started Kibana.", which looks to me like it's lying.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.