电脑疯子技术论坛|电脑极客社区

 找回密码
 注册

QQ登录

只需一步,快速开始

[编程和数据库] misconf redis被配置以保存数据库快照但misconf redis目前不能在硬盘上持久用(解决)

[复制链接]
zhaorong 发表于 2018-3-12 11:32:43 | 显示全部楼层 |阅读模式

(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 che
ck Redis logs for details about the error.


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

2018031009043555.jpg

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

2018031009043556.jpg


解决方案如下:

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

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

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|VIP|电脑疯子技术论坛 ( Computer madman team )

GMT+8, 2025-3-14 04:23

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表