redis 不能save问题解决

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-cli   -h XX.XX.x.x -p 8379

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


set 'name' 'nhui'

+ok

save


------------------------后来重新启动,又出现些错误,按以上方面折腾后,仍然报错,删除原件dump_***.rdb文件,问题消失。所以以上的方案不是最终解决办法。

你可能感兴趣的:(linux使用)