错误MISCONF Redis is configured to save RDB snapshots 的解决方法

来源:互联网 发布:阿里云解析dns 编辑:程序博客网 时间:2024/06/10 17:57

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

大意为:(错误)misconf redis被配置以保存数据库快照,但misconf redis目前不能在硬盘上持久化。用来修改数据集合的命令不能用,使用日志的错误详细信息


这是由于强制停止redis快照,不能持久化引起的,运行info命令查看redis快照的状态,如下:


网上搜索,很多人都给出了解决方法,但没有详细说明问题的来龙去脉,暂且记下,待有空了研究。

解决方法:通过redis-cli连接到服务器后执行以下命令:

config set stop-writes-on-bgsave-error no

如此即可。

阅读全文
0 0
原创粉丝点击