解决Redis之MISCONF Redis is configured to save RDB snapshots

安稳与你 提交于 2020-03-17 10:53:52

某厂面试归来,发现自己落伍了!>>>

今天在新服务器执行Magento2更新命令,发现Redis出问题了

提示语: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、 执行:redis-cli,进入redis client;

2、接着执行:config set stop-writes-on-bgsave-error no

OK

 

其实,从报错,也可以看

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!