I tried to set up a Master-Slave sync on a debian machine. I always get that error in my logs and I can’t figure out where the temp file should be =/
[9559] 31 Jul 11:48:17 * Connecting to MASTER...
[9559] 31 Jul 11:48:17 * MASTER <-> SLAVE sync started
[9559] 31 Jul 11:48:17 * Non blocking connect for SYNC fired the event.
[9559] 31 Jul 11:48:22 # Opening the temp file needed for MASTER <-> SLAVE synchronization: Permission denied
Hope you guys can help me 🙂
Most likely the user running the
redis-serverprocess doesn’t have access to the working directory.Check your
redis.conf(in most cases/etc/redis.conf) and find thedirsetting (search for “The working directory” to find it and the docs for it), make sure that the directory is writeable by the user runningredis-server.