(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.
大意爲:(錯誤)misconf redis被配置以保存數據庫快照,但misconf redis目前不能在硬盤上持久化。用來修改數據集合的命令不能用,請使用日誌的錯誤詳細信息。
這是由於強制停止redis快照,不能持久化引起的,運行info命令查看redis快照的狀態,如下:
網上搜索,很多人都給出瞭解決方法,但沒有詳細說明問題的來龍去脈,暫且記下,待有空了研究。
解決方法:通過redis-cli連接到服務器後執行以下命令:
config set stop-writes-on-bgsave-error no
如此即可。