redis 不能持久化问题 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.

转载自:http://www.cnblogs.com/anny-1980/p/4582674.html

kombu.exceptions.OperationalError: 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.
View Code

原因:

    强制关闭Redis快照导致不能持久化。

 

解决方案:

    关闭配置项stop-writes-on-bgsave-error解决该问题。

127.0.0.1:6379> config set stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> lpush new color "red"
(integer) 2

 

posted @ 2016-11-08 10:47  半天的半天  阅读(333)  评论(0编辑  收藏  举报