2016-01-20 68 views
1

當我執行datastax-agentversion 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的用戶名​​和密碼?任何建議將被認真考慮!

+0

可以包括代理節點上的address.yaml,並從opscenterd服務器{}羣ID的.conf?此外,該節點cassandra.yaml上的rpc_address是什麼 –

回答

0

您可以嘗試在您的address.yaml配置文件中手動配置憑據。

cassandra_user: cassandra_pass: