zoukankan      html  css  js  c++  java
  • Kibana访问报错

    浏览器访问提示:Kibana server is not ready yet
    查看日志如下

    
    {"type":"log","@timestamp":"2019-12-04T10:26:39Z","tags":["warning","task_manager"],"pid":4631,"message":"PollError [security_exception] failed to authenticate user [elastic], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } }"}
    
    

    分析:
    这个是属于误删除某些系统索引文件,导致账号认证失败造成的
    解决办法也简单,重新设置账号密码就行了。

    cd /usr/share/elasticsearch
    bin/elasticsearch-setup-passwords interactive
    
    # 输出结果
    Initiating the setup of passwords for reserved users elastic,apm_system,kibana,logstash_system,beats_system,remote_monitoring_user.
    You will be prompted to enter passwords as the process progresses.
    Please confirm that you would like to continue [y/N]y # 输入y
    
    # 直接输入密码,然后再重复一遍密码,中括号里是账号
    Enter password for [elastic]: 
    Reenter password for [elastic]: 
    Enter password for [apm_system]: 
    Reenter password for [apm_system]: 
    Enter password for [kibana]: 
    Reenter password for [kibana]: 
    Enter password for [logstash_system]: 
    Reenter password for [logstash_system]: 
    Enter password for [beats_system]: 
    Reenter password for [beats_system]: 
    Enter password for [remote_monitoring_user]: 
    Reenter password for [remote_monitoring_user]: 
    Changed password for user [apm_system]
    Changed password for user [kibana]
    Changed password for user [logstash_system]
    Changed password for user [beats_system]
    Changed password for user [remote_monitoring_user]
    Changed password for user [elastic]
    
  • 相关阅读:
    基础数论--例题
    基础数论--扩展欧几里得算法
    基础数论--欧拉定理,逆元
    基础数论--快速幂
    基础数论--欧拉函数
    基础数论--约数
    数论基础--质数
    图算法--二分图的最大匹配(匈牙利算法)
    WEB/APP开发基础之旅--网页布局
    WEB/APP开发基础之旅--HTML入门2
  • 原文地址:https://www.cnblogs.com/sanduzxcvbnm/p/11984702.html
Copyright © 2011-2022 走看看