Skip to content

Instantly share code, notes, and snippets.

@kapkaev
Created January 24, 2013 09:30
Embed
What would you like to do?
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. Resque
$ redis-cli
> config set stop-writes-on-bgsave-error no
@Artorios
Copy link

in addition, I want to say that such errors can appear if the radis server is accessible from outside. You need to configure the radis server to listen only localhost. To do this, in the /etc/redis/redis.conf file, change bind parameter to 127.0.0.1
nano /etc/redis/redis.conf
bing 127.0.0.1
After this:
netstat -lnp | grep redis
should show that redis listning 127.0.0.1 insteed 0.0.0.0:*

@Felix-Qi-Wang
Copy link

thank you from 2022

@ndimic
Copy link

ndimic commented Dec 6, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment