为了账号安全,请及时绑定邮箱和手机立即绑定

开启 Redis 就出现这个错误 Redis 正常运行 配置项没问题 磁盘空间足 哪位遇到过?

开启 Redis 就出现这个错误 Redis 正常运行 配置项没问题 磁盘空间足 哪位遇到过?

PHP
慕标琳琳 2019-03-09 10:19:19
ERR Error running script (call to f_a08c9c69b7c07ae2485190873b90d128a23e502d): @user_script:1: @user_script: 1: -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.
查看完整描述

1 回答

?
蛊毒传说

TA贡献1895条经验 获得超3个赞

原因

强制关闭Redis快照导致不能持久化

解决方法

127.0.0.1:6379>config set stop-writes-on-bgsave-error no
127.0.0.1:6379>CONFIG REWRITE
or
修改配置文件
stop-writes-on-bgsave-error 设置为no
查看完整回答
反对 回复 2019-03-18
  • 1 回答
  • 0 关注
  • 3492 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信