【ScyllaDB】ScyllaDB启动问题【合集】

Saved cluster name != configured name Test cluster

  1. 输入如下命令,尝试启动ScyllaDB集群sudo systemctl start scylla-server

  2. 发现报错,根据提示,输入systemctl status scylla-server.service 以及 journalctl -xe,查看ScyllaDB集群状态

  3. 图中红字处为启动失败的报错信息,保存的集群的名称和配置的名称不相同 Saved cluster name != configured name Test cluster

原因: 在进行ScyllaDB配置时,先尝试ScyllaDB在一个节点上能否使用,即先安装并启动了单个节点,此时并未配置其余节点;此时集群中只有一个节点,并且集群名称已被储存下来。于是,在根据官方文档的信息,针对多个节点进行集群配置时,配置中重新定义了集群名称,就会出现:集群名称和保存的集群名称不一致的问题。

解决方案: 查阅 官方文档 ,给出如下提示,具体解决方案见链接:
If, for any reason, the Scylla service started before you had a chance to update the configuration file, some of the system tables may already reflect an incorrect status, and unfortunately, a simple restart will not fix the issue. In this case, the safest way is to stop the service, clean all of the data, and start the service again.

即:停止所有集群--清除所有数据--重启集群服务

runtime_exception

启动成功后,输入 nodetool status 查看集群信息,出现runtime_exception

可能的原因之一:输入集群启动命令后,集群可能并未真正启动,稍等片刻后再试即可;若仍无反应,则输入 systemctl restart scylla-server重启集群

java.net.ConnectException: Connection refused

待补充:忘记记录解决方案

待补充,忘记何种错误

posted @ 2023-11-26 15:43  是你亦然  阅读(33)  评论(0编辑  收藏  举报