When using redis cli to connect the redis cluster for data operation, an error is reported
./redis-cli -h 192.24.54.1 -p 6379 -a '123456'
192.24.54.1:6379> get name
(error) MOVED 5798 192.24.54.2:6379
resolvent:
This situation is generally caused by not setting the cluster mode when starting redis cli code>.
When starting, use the - C code> parameter to start the cluster mode. The command is as follows:
./redis-cli -h 192.24.54.1 -p 6379 -a '123456' -c
192.24.54.1:6379> get name
-> Redirected to slot [5798] located at 192.24.54.2:6379
"yayun"
Read More:
- Redis: (error) MOVED 8352 192.168.145.128:6380 [How to Solve]
- Redis cli create creates an error when creating a cluster
- The local program cannot access the test environment redis cluster through public IP_ compromise
- Solve the problem of testing redis cluster“ java.lang.NumberFormatException : For input string: “ [email protected]@17002 “And so on
- When setting up etcd cluster, an error is reported. Etcd: request cluster ID mismatch error resolution is only applicable to new etcd cluster or no data cluster
- (20200916 Solved)Docker||redis-cli Could not connect to Redis at 127.0.0.1:6379: Connection refused
- Error installing redis: redis requires Ruby Version > = 2.3.0
- Centos7 offline installation of redis and PHP extension redis
- Solution to redis error in CentOS of idea connected virtual machine
- Error connecting to redis on localhost:6379 (Redis::TimeoutError)
- Solve the problem that the local flow of the nifi node is inconsistent with the cluster flow, resulting in the failure to join the cluster
- [Solved] Redis Error: org.springframework.data.redis.RedisConnectionFailureExceptionjava.net.SocketTimeoutException
- Redis: How to Configurate Redis.conf File
- Abnormal display of page object moved to here
- A solution to the problem that the number of nodes does not increase and the name of nodes is unstable after adding nodes dynamically in Hadoop cluster
- ERR Slot 3300 is already busy (Redis::CommandError)
- (2) unrecoverable error: corrupted cluster config file
- Error message error response from daemon: RPC error: code = unavailable when deploying swarm cluster. Solution:
- Redis cannot load windows.conf
- Webpack — module build failed: error: the node API for ‘Babel’ has been moved to Babel core