Redis cluster creation error

Source: Internet
Author: User
Tags redis cluster

Redis Cluster Environment: och163/och164/och165

An error is reported when the following script is executed:

./src/redis-trib.rb create  10.1.253.163:6379 10.1.253.164:6379 10.1.253.165:6379
/usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis/client.rb:97:in `call‘: ERR Slot 16011 is already busy (Redis::CommandError)from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:2432:in `method_missing‘from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:37:in `synchronize‘from /usr/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize‘from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:37:in `synchronize‘from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:2431:in `method_missing‘.....

Solution:

Delete the file in the cluster-config-file defined in redis. conf, restart redis-server, and run redis-Trib.

Note: When you execute the redis-trib.rb create, hostname cannot be used, only IP addresses can be used.

 

Redis cluster creation error

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.