【发布时间】:2020-07-09 04:21:39
【问题描述】:
我无法执行 cqlsh 命令。我是卡桑德拉的新手。我遵循了以前的线程。仍然无法执行 cqlsh 命令。请帮我找出问题所在。这是我运行 CQLSH 时的错误,
[root@Kar bin]# cqlsh
Connection error: ('Unable to connect to any servers',
{'127.0.0.1': error(111,
"Tried connecting to [('127.0.0.1', 9042)].
Last error: Connection refused")})
谢谢, 卡西克
【问题讨论】:
-
检查 Cassandra 是否正在运行...您需要查看 system.log 以查找启动过程中是否有任何错误
-
您也可能不想以 root 身份运行 cqlsh(或 Cassandra)。
-
嗨,Alex,Cassandra 服务运行良好。
-
嗨 Aaron,我尝试以 root 用户和 Cassandra 用户的身份运行 cqlsh。我仍然无法继续前进。