(error) MISCONF Redis is configured to save RDB snapshots...解决

来源:互联网 发布:Cisco网络排错 编辑:程序博客网 时间:2024/06/05 05:50

1、在运行redis时,能正常get值,但是set值时报一下错误:

(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被配置为保存数据库快照,但它目前不能持久化到硬盘。用来修改集合数据的命令不能用。请查看Redis日志的详细错误信息。

2、原因:强制关闭Redis快照导致不能持久化

3、解决方法:运行config set stop-writes-on-bgsave-error no  解决


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