Tag: Redis slaveof bind synchronization failed
Today, the master-slave synchronization of Redis, the Setup method is actually very simple, but the crash is to encounter a puzzling problem, always can't sync.
Look at the error log:
toto MASTER: Invalid argument
All is the parameter error, made long time, finally found an answer in StackOverflow, record.
Mainly when slave to request master to synchronize the data, it seems to read the first IP bind binding
In the slave configuration file:
Bind 127.0.0.1 192.168.1.12
So he found the 127.0.0.1 and was never able to sync.
Modify the configuration to put slave's extranet IP in the first position of bind so it's OK.
Bind 192.168.1.12 127.0.0.1
It would be nice to be like this.
Reference URL:
http://stackoverflow.com/questions/29622059/redis-slave-unable-to-connect-to-master-invalid-argument/29992578
Copyright NOTICE: This article for Bo Master original article, can be reproduced at will, but please specify the source: Http://blog.csdn.net/zhouzme
Why the Redis sync operation failed