【问题标题】:why I got the error "authentication error" when running 'datastax-agent'?为什么在运行“datastax-agent”时出现“身份验证错误”错误?
【发布时间】:2016-04-25 21:29:54
【问题描述】:

当我使用 version 5.2.X 执行 datastax-agent 时,出现以下错误:

INFO [main] 2016-01-20 11:56:34,917 Waiting for the config from OpsCenter
INFO [main] 2016-01-20 11:56:34,918 Attempting to determine Cassandra's broadcast address through JMX
INFO [main] 2016-01-20 11:56:34,919 Starting Stomp
INFO [main] 2016-01-20 11:56:34,919 Starting up agent communcation with OpsCenter.
INFO [Initialization] 2016-01-20 11:56:35,287 Using 122.21.0.131 as the cassandra broadcast address
INFO [Initialization] 2016-01-20 11:56:35,486 cassandra RPC address is  nil
INFO [Initialization] 2016-01-20 11:56:35,487 agent RPC address is  122.21.0.131
INFO [Initialization] 2016-01-20 11:56:35,487 agent RPC broadcast address is  122.21.0.131
ERROR [clojure-agent-send-off-pool-0] 2016-01-20 11:56:35,814 Can't connect to Cassandra, authentication error, please carefully check your Auth settings, retrying soon.
ERROR [clojure-agent-send-off-pool-1] 2016-01-20 11:56:35,814 Can't connect to Cassandra, authentication error, please carefully check your Auth settings, retrying soon.
ERROR [clojure-agent-send-off-pool-0] 2016-01-20 11:56:36,859 Can't connect to Cassandra, authentication error, please carefully check your Auth settings, retrying soon.
ERROR [clojure-agent-send-off-pool-1] 2016-01-20 11:56:36,859 Can't connect to Cassandra, authentication error, please carefully check your Auth settings, retrying soon.

但是我没有找到可以放 cassandra 的用户名和密码的地方?任何建议将不胜感激!

【问题讨论】:

  • 您能否在代理节点上包含 address.yaml 以及来自 opscenterd 服务器的 {clusterid}.conf?还有那个节点上的 rpc_address 是什么 cassandra.yaml

标签: datastax opscenter


【解决方案1】:

您可以尝试在您的 address.yaml 配置文件中手动配置凭据。

cassandra_user: cassandra_pass:

【讨论】:

    猜你喜欢
    • 2020-08-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-17
    相关资源
    最近更新 更多