【问题标题】:Issue with X-Pack installationX-Pack 安装问题
【发布时间】:2017-09-07 05:04:21
【问题描述】:

我已经在 elasticsearch 上安装了 X-Pack 并使用命令 bin/elasticsearch 启动 elasticsearch。

我已经在 kibana 上安装了 X-Pack,并且在使用 bin/kibana 启动 kibana 时, 我得到了如下所述的结果,但 kibana 无法正常工作:

log   [08:40:56.376] [info][status][plugin:kibana@5.4.0] Status changed from uninitialized to green - Ready
  log   [08:40:56.526] [info][status][plugin:elasticsearch@5.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [08:40:56.541] [info][status][plugin:xpack_main@5.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [08:40:56.582] [warning] You're running Kibana 5.4.0 with some different versions of Elasticsearch. Update Kibana or Elasticsearch to the same version to prevent compatibility issues: v5.4.1 @ 10.1.1.121:9200 (10.1.1.121)
  log   [08:40:56.609] [info][status][plugin:graph@5.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [08:40:56.629] [info][status][plugin:monitoring@5.4.0] Status changed from uninitialized to green - Ready
  log   [08:40:56.636] [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   [08:40:56.645] [info][status][plugin:reporting@5.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [08:40:56.691] [info][status][plugin:elasticsearch@5.4.0] Status changed from yellow to green - Kibana index ready
  log   [08:40:56.702] [info][status][plugin:security@5.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [08:40:56.703] [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   [08:40:56.725] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  log   [08:40:56.814] [info][status][plugin:searchprofiler@5.4.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [08:40:56.818] [warning][license][xpack] License information could not be obtained from Elasticsearch. [illegal_argument_exception] No endpoint or operation is available at [_xpack] :: {"path":"/_xpack","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"No endpoint or operation is available at [_xpack]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"No endpoint or operation is available at [_xpack]\"},\"status\":400}"}
  log   [08:40:56.821] [error][status][plugin:xpack_main@5.4.0] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster
  log   [08:40:56.823] [error][status][plugin:graph@5.4.0] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster
  log   [08:40:56.824] [error][status][plugin:reporting@5.4.0] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster
  log   [08:40:56.825] [error][status][plugin:security@5.4.0] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster
  log   [08:40:56.826] [error][status][plugin:searchprofiler@5.4.0] Status changed from yellow to red - X-Pack plugin is not installed on Elasticsearch cluster
  log   [08:40:56.833] [error][status][plugin:ml@5.4.0] Status changed from uninitialized to red - X-Pack plugin is not installed on Elasticsearch cluster
  log   [08:40:56.865] [info][status][plugin:ml@5.4.0] Status changed from red to yellow - Waiting for Elasticsearch
  log   [08:40:56.879] [error][status][plugin:tilemap@5.4.0] Status changed from uninitialized to red - X-Pack plugin is not installed on Elasticsearch cluster
  log   [08:40:56.884] [error][status][plugin:watcher@5.4.0] Status changed from uninitialized to red - X-Pack plugin is not installed on Elasticsearch cluster
  log   [08:40:56.926] [info][status][plugin:console@5.4.0] Status changed from uninitialized to green - Ready
  log   [08:40:56.936] [info][status][plugin:ml@5.4.0] Status changed from yellow to green - Ready
  log   [08:40:56.945] [info][status][plugin:metrics@5.4.0] Status changed from uninitialized to green - Ready
  log   [08:40:57.120] [info][status][plugin:timelion@5.4.0] Status changed from uninitialized to green - Ready
  log   [08:40:57.126] [fatal] Port 5601 is already in use. Another instance of Kibana may be running!
FATAL Port 5601 is already in use. Another instance of Kibana may be running!

【问题讨论】:

    标签: kibana elastic-stack elasticsearch-plugin xpack elasticsearch-x-pack


    【解决方案1】:

    端口 5601 已在使用中。 Kibana 的另一个实例可能是 跑!

    正如错误所述,您已经在端口 5601 上运行了一些东西。

    如果你在 Linux 上,你可以使用 lsof 来识别使用端口 lsof -i :5601 的进程。

    然后您可以使用结果中的 PID 终止进程。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-11-20
      • 2015-11-14
      • 1970-01-01
      • 2010-12-03
      • 1970-01-01
      相关资源
      最近更新 更多