redis-master slave setup failing -
i have started server port 6001 master persistence aof turned off,slave port 6002 master of 6001.however on startup of slave getting below error in infinite loop note able find error logs of same..
slave infinite loop logs : [5556] 20 aug 21:34:28.499 # server started, redis version 3.2.100 [5556] 20 aug 21:34:28.500 * db loaded disk: 0.001 seconds [5556] 20 aug 21:34:28.500 * server ready accept connections on port 6002 [5556] 20 aug 21:34:28.501 * connecting master localhost:6001 [5556] 20 aug 21:34:28.513 * master <-> slave sync started [5556] 20 aug 21:34:29.513 * non blocking connect sync fired event. [5556] 20 aug 21:34:29.513 # sending command master in replication handshake: -writing master: unknown error [5556] 20 aug 21:34:29.516 * connecting master localhost:6001 [5556] 20 aug 21:34:29.517 * master <-> slave sync started
issue resolved,redis.conf contained 127.0.0.1 bind value,and slave redis.conf file ,i had slave of localhost .replacing localhost 127.0.0.1 resolved issue
Comments
Post a Comment