Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
呼叫';:错误METE(Redis::CommandError)Redis中的IP地址无效_Redis_Node Redis_Redistogo - Fatal编程技术网

呼叫';:错误METE(Redis::CommandError)Redis中的IP地址无效

呼叫';:错误METE(Redis::CommandError)Redis中的IP地址无效,redis,node-redis,redistogo,Redis,Node Redis,Redistogo,当我第一次执行redis cluster命令fr时,我发现下面的错误 >>> Performing hash slots allocation on 2 nodes... M: a644f0c711c6a7a455f4154682beb0866df0c1e5 10.1.0.164:1234 slots:0-8191 (8192 slots) master M: 3d057397fbafc5a29a5c9aacffec70b3b356cbed 10.1.2.68:1112

当我第一次执行redis cluster命令fr时,我发现下面的错误

>>> Performing hash slots allocation on 2 nodes...
M: a644f0c711c6a7a455f4154682beb0866df0c1e5 10.1.0.164:1234
   slots:0-8191 (8192 slots) master
M: 3d057397fbafc5a29a5c9aacffec70b3b356cbed 10.1.2.68:1112
slots:8192-16383 (8192 slots) master
Can I set the above configuration? (type 'yes' to accept): yes
>>> Nodes configuration updated
>>> Sending CLUSTER MEET messages to join the cluster
/Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis/client.rb:85:in `call': ERR Invalid      IP address in MEET (Redis::CommandError)
from /Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis.rb:2240:in `method_missing'
from /Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis.rb:36:in `synchronize'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize'
from /Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis.rb:36:in `synchronize'
from /Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis.rb:2239:in `method_missing'
from ./redis-trib.rb:495:in `join_cluster'
from ./redis-trib.rb:493:in `each'
from ./redis-trib.rb:493:in `join_cluster'
from ./redis-trib.rb:687:in `create_cluster_cmd'
from ./redis-trib.rb:755:in `send'
from ./redis-trib.rb:755
如果我第二次执行相同的命令,错误更改为

>>> Performing hash slots allocation on 2 nodes...
M: b19f4a4e3fd69e905897937cb694c62ceaf47643 127.0.0.1:1112
slots:0-16383 (16384 slots) master
M: 1e93a0ccde04d9fba0403917e622e82a891b2137 10.1.0.164:1234
slots:0-16383 (16384 slots) master
Can I set the above configuration? (type 'yes' to accept): yes
/Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis/client.rb:85:in `call': ERR Slot     10247 is already busy (Redis::CommandError)
from /Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis.rb:2240:in `method_missing'
from /Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis.rb:36:in `synchronize'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize'
from /Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis.rb:36:in `synchronize'
from /Library/Ruby/Gems/1.8/gems/redis-3.0.4/lib/redis.rb:2239:in `method_missing'
from ./redis-trib.rb:184:in `flush_node_config'
from ./redis-trib.rb:476:in `flush_nodes_config'
from ./redis-trib.rb:475:in `each'
from ./redis-trib.rb:475:in `flush_nodes_config'
from ./redis-trib.rb:684:in `create_cluster_cmd'
from ./redis-trib.rb:755:in `send'
from ./redis-trib.rb:755
请帮我解决这两个问题

如果有任何关于Redis群集配置假人的教程,请与我分享