ERR This instance has cluster support disabled: ERR This instance has cluster support disabled(此实例已禁用集群支持)
Redis含义
运行了集群命令(CLUSTER ...),但该 Redis 实例未以集群模式启动。由于集群支持已禁用,命令被拒绝。
原因
未设置 cluster-enabled yes、实例以 standalone 模式运行、向 standalone 服务器发送了集群命令,或连接到了错误的服务器。
解决方法
如果要使用集群功能,以集群模式启动实例:在配置中设置 cluster-enabled yes,重启,并用各节点组建集群。如果保持 standalone 模式,不要使用集群命令。确认连接的是正确的(集群)服务器。
同一数据库的其他条目
- ERR no such keyERR no such key(键不存在)
- ERR DUMP payload version or checksum are wrongERR DUMP payload version or checksum are wrong(DUMP 负载的版本或校验和错误)
- NOREPLICASNOREPLICAS Not enough good replicas to write(没有足够的正常副本可供写入)
- ERR unknown subcommandERR unknown subcommand or wrong number of arguments(未知子命令或参数数量错误)
- ERR Client sent AUTH, but no password is setERR AUTH <password> called without any password configured for the default user (Redis 6+) / ERR Client sent AUTH, but no password is set (Redis <6)(调用了 AUTH,但服务器未配置密码)
- ERR DEBUG command not allowedDEBUG command not allowed(不允许使用 DEBUG 命令)
- ERR Can't save in background: fork failedBackground save failed: fork failed(后台保存失败:fork 失败)