【问题标题】:DataStax OpsCenter - can't connect with agentsDataStax OpsCenter - 无法与代理连接
【发布时间】:2023-04-07 19:35:01
【问题描述】:

我已安装 DataStax OpsCenter (Apache Cassandra),但在 OpsCenter 中出现错误:“0 个代理已连接”。当我单击“修复”,输入凭据并尝试安装节点时,我收到错误:

无法通过 SSH 连接到某些主机

无法通过 SSH 连接到 127.0.0.1: 全局名称“get_output”未定义

有没有人知道如何解决它?

【问题讨论】:

标签: cassandra datastax opscenter database nosql


【解决方案1】:

我用stackoverflow的指令解决了这个问题

原因是 OpsCenter 找不到正确的 cassandra 配置文件 (cassandra.yaml)。

就我而言,我将 cassandra 安装到“D:\DataStax”而不是默认位置“C:\Program Files\DataStax Community”。将conf_location 添加到opscenter\conf\clusters\local.conf 解决了我的问题。

这是我的最终设置:

conf_location = [DataStax 安装目录]\apache-cassandra\conf\cassandra.yaml

【讨论】:

  • 这可能是问题所在 - 当我将 OpsCenter 重新安装到默认目录时,一切正常 :) 谢谢
猜你喜欢
  • 2017-03-03
  • 2015-05-13
  • 2015-08-04
  • 2013-12-23
  • 2016-05-04
  • 2017-07-28
  • 2016-05-07
  • 2014-02-22
  • 1970-01-01
相关资源
最近更新 更多