今天重启游戏服务器在连接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.

究其原因是因为强制把redis快照关闭了导致不能持久化的问题,在网上查了一些相关解决方案,通过stop-writes-on-bgsave-error值设置为no即可避免这种问题。

有两种修改方法,一种是通过redis命令行修改,另一种是直接修改redis.conf配置文件

命令行修改方式示例:

127.0.0.1:6379> config set stop-writes-on-bgsave-error no

修改redis.conf文件:vi打开redis-server配置的redis.conf文件,然后使用快捷匹配模式:/stop-writes-on-bgsave-error定位到stop-writes-on-bgsave-error字符串所在位置,接着把后面的yes设置为no即可。

如果是redis集群,则需要把集群内每一个redis都设置下。

解决redis连接错误:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to...相关推荐

  1. 解决redis连接错误:MISCONF Redis is configured to save RDB snapshots

    今天Redis服务器在连接redis数据库时突然报错:MISCONF Redis is configured to save RDB snapshots, but it is currently no ...

  2. [230]连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots

    今天在redis中执行setrange name 1 chun 命令时报了如下错误提示: (error) MISCONF Redis is configured to save RDB snapsho ...

  3. redis报错解决,MISCONF Redis is configured to save RDB snapshots

    报错记录 MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on d ...

  4. redis数据库错误:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persis

    转载自:解决redis连接错误:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to.. ...

  5. 解决MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk

    1.起因 使用jeecgboot验证码登陆后台时,一直报验证码错误,看控制台发现是redis报错了,具体如下: Error in execution; nested exception is io.l ...

  6. Redis - MISCONF Redis is configured to save RDB snapshots 报RDB快照错误

    完整的报错信息: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MIS ...

  7. 解决Redis报错:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist

    解决Redis报错:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on ...

  8. 解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d

    2018-1-31 解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to pe ...

  9. 解决Redis报错Redis is configured to save RDB snapshots, but it is currently not able to persist on disk

    Redis报错信息 在Spring Boot中集成Redis客户之后,进行数据操作,发现报如下错误: org.springframework.data.redis.RedisSystemExcepti ...

最新文章

  1. IOS-React-Native:No bundle URL present
  2. hdu4862 费用流(不错)
  3. Anaconda 使用初步
  4. java poi导入50万数据_java从oracle读取50万条数据写入Excel中抛GC overhead limit exc
  5. W10关闭不必要的服务
  6. pvz安卓服务器维修礼包码,植物大战僵尸2礼包兑换码大全2020最新版
  7. 生活不可缺的46个搜索引擎
  8. 透露一个未来3到5年的巨大商机
  9. C++简介(5)STL
  10. 阿里云资深技术专家杨皓然:Serverless 是正在发生的未来
  11. zebra探秘(一)
  12. html+表单+下拉框,HTML+CSS:常用表单控件之单选框、多选框、下拉框的介绍
  13. 电力-平衡式101规约报文解析
  14. 网桥 网卡网桥有什么区别
  15. protobuf如何使用Protogen工具生成CS代码详细教学篇
  16. apple ID 注册 此时无法创建您的账户
  17. Mac电脑如何通过终端隐藏应用程序?
  18. 践行网安,普惠河南——景安网络重磅网安公益项目加速推进中
  19. 台式计算机怎么设置,台式电脑怎么设置声音
  20. 如何在完全不懂服务器开发的情况下做一个实时联网对战的微信小游戏

热门文章

  1. Python爬虫初步个人学习及心得
  2. property=og:title 是什么意思?og:的用法又是什么呢?
  3. 微信小程序开发 Array对象的属性与方法
  4. ubuntu10.04安装有线网卡驱动
  5. mysql中的left join用法 (及多条件查询
  6. UAC协议基础第一篇: UAC类设备相关的描述符
  7. 爬取了陈奕迅新歌《我们》10万条评论数据发现:原来,有些人只适合遇见
  8. word文件修复窍门
  9. 大数据早报:三星Kakao联手开发AI语音识别技术 百度视频8月大数据报告出炉(9.19)
  10. Business Insider报告:聊天工具比社交网络发展得更加壮大