码迷,mamicode.com
首页 > 其他好文 > 详细

redis 异常解决

时间:2018-08-25 14:06:56      阅读:363      评论:0      收藏:0      [点我收藏+]

标签:写入   失败   configure   cli   logs   isa   lease   cep   com   

异常:

loglevel noticeredis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

有道翻译:

loglevel noticeredis.exceptions。ResponseError:MISCONF Redis被配置为保存RDB快照,但是它目前不能持久存储在磁盘上。可能修改数据集的命令被禁用,因为如果RDB快照失败(停止写入-on-bgsave-error选项),该实例将被配置为在写入期间报告错误。有关RDB错误的详细信息,请检查Redis日志。

解决方案:

redis-cli连接到服务器后执行以下命令:

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

redis 异常解决

标签:写入   失败   configure   cli   logs   isa   lease   cep   com   

原文地址:https://www.cnblogs.com/huosun/p/9533413.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!