MISCONF Redis is configured to save RDB snapshots

来源:互联网 发布:从零开始学python 编辑:程序博客网 时间:2024/06/04 19:54

问题: 今天在写redis的时候突然爆出这样的错误:

(error) 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.

解决方案:

redis中执行: config set stop-writes-on-bgsave-error no

分析原因:

可能你的rdb.dump文件的权限已经改变,或者磁盘已经不够写了。

参考文章:

http://stackoverflow.com/questions/19581059/misconf-redis-is-configured-to-save-rdb-snapshots

   http://f.dataguru.cn/thread-191839-1-1.html

0 0