一、報(bào)錯(cuò)概述
????????1.1、報(bào)錯(cuò)
????????org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: 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.
文章來源:http://www.zghlxwxcb.cn/news/detail-730212.html
????????1.2、報(bào)錯(cuò)原因? ? ? ??
????????我檢查了Redis服務(wù)已經(jīng)啟動(dòng),但還是繼續(xù)報(bào)這個(gè)錯(cuò)誤,查了之后才知道原因,是因?yàn)閺?qiáng)制把Redis快照關(guān)閉了導(dǎo)致不能持久化的問題,通過stop-writes-on-bgsave-error值設(shè)置為no即可避免這種問題。文章來源地址http://www.zghlxwxcb.cn/news/detail-730212.html
二、解決方法
????????2.1、命令行修
到了這里,關(guān)于Spring Cloud項(xiàng)目后臺報(bào)錯(cuò):org.springframework.data.redis.RedisSystemException(Redis-6.2.6 CentOS 7)的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!