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 :)
The Redis configuration file is located at installdir/redis/etc/redis. conf.
Most likely the user running the redis-server
process doesn't have access to the working directory.
Check your redis.conf
(in most cases /etc/redis.conf
) and find the dir
setting (search for "The working directory" to find it and the docs for it), make sure that the directory is writeable by the user running redis-server
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With