(error) CLUSTERDOWN Hash slot not served
来源:互联网 发布:js弹出路径选择对话框 编辑:程序博客网 时间:2024/06/15 15:05
用Linux建立redis集群的时候,会包一个错误:(error) CLUSTERDOWN Hash slot not served,网上给出的答案都是前篇一律的复制别人的代码,不同的网站进去了但是同一个没什么卵用的方法,今天我来说一下大体的解决办法,但是有一个前提:必须是初次安装报的错误
首先查看一下建立六个节点时的配置文件是否正确:举一个为例:
daemonize yespidfile redis_6380.pidlogfile redis_6380.logappendonly yesbind 192.168.24.15port 6380cluster-enabled yescluster-config-file nodes-6380.confcluster-node-timeout 15000cluster-slave-validity-factor 10cluster-migration-barrier 1cluster-require-full-coverage yes然后,在进入redis的src目录创建集群
./redis-trib.rb create --replicas 1 192.168.1.150:6380 192.168.1.150:6381 192.168.1.150:6382 192.168.1.150:6383 192.168.1.150:6384 192.168.1.150:6385看下是否是启动了6个端口
阅读全文
1 0
- (error) CLUSTERDOWN Hash slot not served
- cluster_state:fail error clusterdown hash slot not served redis集群启动失败 解决办法
- HTTP Error 404.2 - Not Found "The page you are requesting cannot be served because of the ISAPI and
- This type of page is not served 解决办法
- Qt error: no such slot
- Error 40000: Object (" ") did not match the required type `Hash'
- not a signal or slot declaration
- Slot
- slot
- slot
- slot
- zunionstore异常:CROSSSLOT Keys in request don't hash to the same slot
- $ is not defined error
- $ is not defined error
- Error: File not access
- error: APR not found
- Drupal_404 NOT FOUND error
- ERROR: libstagefright_h264 not found
- Java PDF 转图片
- spring-cloud【Ribbon】
- Android笔记
- java集合实例
- Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition
- (error) CLUSTERDOWN Hash slot not served
- hadoop中master能够启动datanode,但是datanode无法连接namenode 报 17/11/16 03:49:13 WARN ipc.Client: Failed to conn
- LeetCode 279. Perfect Squares
- nginx的upstream目前支持5种方式的分配
- Linux下启动tomcat的脚本文件
- 【angular】gyp ERR! build error msbuild.exe` failed with exit code: 1
- AndroidStudio 缓存文件夹配置
- 【算法】单源最短路径和任意两点最短路径总结(补增:SPFA)
- spring事物配置,声明式事务管理和基于@Transactional注解的使用