我们在Linux上使用5601端口设置了kibana仪表板。突然设置dsahboard无法正常工作。我们找不到解决方案。因此,我们将kibana yml文件中的端口号5601更改为5602。重新启动服务器后,我可以关闭仪表板。但是,由于kibana仪表板已映射到5601,因此我们需要运行5601端口。任何想法都可以解决该问题。
启动日志:
username@x.x.x.x:folder-path > kibana
log [09:51:27.806] [info][status][plugin:kibana@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:27.847] [info][status][plugin:elasticsearch@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:27.850] [info][status][plugin:xpack_main@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:27.855] [info][status][plugin:searchprofiler@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:27.858] [info][status][plugin:ml@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:27.891] [info][status][plugin:tilemap@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:27.893] [info][status][plugin:watcher@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:27.905] [info][status][plugin:license_management@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:27.907] [info][status][plugin:index_management@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:28.410] [info][status][plugin:timelion@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:28.415] [info][status][plugin:graph@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:28.418] [info][status][plugin:monitoring@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:28.420] [info][status][plugin:security@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:28.420] [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 [09:51:28.450] [info][status][plugin:grokdebugger@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:28.453] [info][status][plugin:dashboard_mode@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:28.456] [info][status][plugin:logstash@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:28.471] [info][status][plugin:apm@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:28.480] [info][status][plugin:console@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:28.482] [info][status][plugin:console_extensions@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:28.485] [info][status][plugin:metrics@6.3.0] Status changed from uninitialized to green - Ready
log [09:51:29.471] [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 [09:51:29.473] [info][status][plugin:reporting@6.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [09:51:29.585] [info][listening] Server running at https://x.x.x.x:5601
log [09:51:29.589] [info][status][plugin:elasticsearch@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.591] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active
log [09:51:29.614] [info][status][plugin:xpack_main@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.615] [info][status][plugin:searchprofiler@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.615] [info][status][plugin:ml@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.615] [info][status][plugin:tilemap@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.616] [info][status][plugin:watcher@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.616] [info][status][plugin:index_management@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.617] [info][status][plugin:graph@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.617] [info][status][plugin:security@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.617] [info][status][plugin:grokdebugger@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.618] [info][status][plugin:logstash@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.618] [info][status][plugin:reporting@6.3.0] Status changed from yellow to green - Ready
log [09:51:29.626] [info][kibana-monitoring][monitoring-ui] Starting all Kibana monitoring collectors
log [09:51:29.632] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active
答案 0 :(得分:1)
似乎另一个任务正在端口5601上运行。检查此特定端口上正在运行的程序,将其杀死,然后再次运行Kibana。