My elasticsearch has been reporting the following error during startup, I hope professional personnel help solve it, thank you very much!
[2018-05-11T09:24:34,959][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:37,555][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:40,151][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:41,790][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:42,748][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:45,341][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:47,935][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:50,530][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:53,123][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
[2018-05-11T09:24:53,518][INFO ][o.e.x.s.a.AuthenticationService] [elk-node2] Authentication of [kibana] was terminated by realm [reserved] - failed to authenticate user [kibana]
I use two machines for testing, node1, node2
The first time I installed both elasticsearch and kibana services on the node1 server, only elasticsearch was installed on the node2 server. It was clustered with elasticsearch on node1, and then x-pack was installed for both elasticsearch and kibana services. At this time, everything is ok.
Later, for other reasons, I needed to migrate the kibana service to node2. After the migration was complete, the elasticsearch and kibana services on node2 were all running ok. However, the elasticsearch service on node1 was still getting an error at startup. The content was an error in the screenshot. The log content says kibana user authentication error.
However, my kibana has been migrated from node1 to node2. The configuration in kibana.yml also points to node2. I don't understand why this error occurs.
Please do not post screenshots of error messages. They are hard for people who follow the forums on email, and for those who are reading on mobile devices, and they break search, which means other people who have the same issue will not be able to find the solution.
Please copy and paste the text of the errrors, and format it using the </> button.
It looks like kibana is still pointing to that node. In any case the location of the Kibana server should not affect the credentials for the kibana user, so the authentication would still be successful. Please show us the relevant parts of your configuration (kibana.yml and elasticsearch.yml) so that we can assist you further with this.
Kibana on the original node, after I closed the service, it was deleted, and then reinstalled and installed a new kibana service and x-pack on the new node.
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.