Login
网站首页 > 文章中心 > 其它

Redis报错:redis.exceptions.ResponseError:_MISCONF_Redis_is_configured_to_save_RDB_snap

作者:小编 更新时间:2023-08-16 15:11:38 浏览量:224人看过

首先找到出现错误的原因:


redis.exceptions.ResponseError: 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报错:redis.exceptions.ResponseError:_MISCONF_Redis_is_configured_to_save_RDB_snap

解决方案如下:

① redis运行 config set stop-writes-on-bgsave-error no 命令


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


stop-writes-on-bgsave-error no

以上就是土嘎嘎小编为大家整理的Redis报错:redis.exceptions.ResponseError:_MISCONF_Redis_is_configured_to_save_RDB_snap相关主题介绍,如果您觉得小编更新的文章只要能对粉丝们有用,就是我们最大的鼓励和动力,不要忘记讲本站分享给您身边的朋友哦!!

版权声明:倡导尊重与保护知识产权。未经许可,任何人不得复制、转载、或以其他方式使用本站《原创》内容,违者将追究其法律责任。本站文章内容,部分图片来源于网络,如有侵权,请联系我们修改或者删除处理。

编辑推荐

热门文章