一、错误信息

今天运行Redis时发生错误,错误信息如下:

(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.

Redis被配置为保存数据库快照,但它目前不能持久化到硬盘。用来修改集合数据的命令不能用。请查看Redis日志的详细错误信息。

二、原因

强制关闭Redis快照导致不能持久化。

三、解决方案

运行config set stop-writes-on-bgsave-error no 命令后,关闭配置项stop-writes-on-bgsave-error解决该问题。

root@ubuntu:/usr/local/redis/bin# ./redis-cli
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> lpush myColour "red"
(integer) 1

MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.相关推荐

  1. MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.问题解决

    一,问题描述 在修改添加hash类型时,可能会出现一下报错: MISCONF Redis is configured to save RDB snapshots, but is currently n ...

  2. 解决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 ...

  3. 解决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 ...

  4. 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 d ...

  5. Redis报错#MISCONF Redis is configured to save RDB snapshots, but is currently not

    错误信息 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk ...

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

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

  7. MISCONF Redis is configured to save RDB snapshots, but it is currently not a

    开发环境最近遇到了"MISCONF Redis is configured to save RDB snapshots, but is currently not able to persi ...

  8. Exception: MISCONF Redis is configured to save RDB snapshots...

    在Spring Boot项目中运行Redis相关的单元测试时,发生异常,消息为MISCONF Redis is configured to save RDB snapshots- 1.异常信息 &qu ...

  9. Redis error: MISCONF Redis is configured to save RDB snapshots, but is currently not able to pers...

    Redis error: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist ...

最新文章

  1. python一次性读取整个文件-使用Python读取大文件的方法
  2. 概率论与数理统计(一)
  3. 手机html图片模糊,css3处理sprite背景图压缩来解决H5网页在手机浏览器下图标模糊的问题_html/css_WEB-ITnose...
  4. 获取SD卡中的音乐文件
  5. java核心知识点学习----多线程间的数据共享的几种实现方式比较
  6. 论如何高速下载磁力链接、电驴链接、种子文件里的资源
  7. qq空间java下载图片_使用JAVA爬取网页图片
  8. JavaScript Date相关练习
  9. 格式化代码_格式化代码是什么意思​
  10. 开上新能源车之后,如何摆脱“充电焦虑”?
  11. 【linux3.10】内存反向映射中的anon_vma是per process的吗?
  12. [Kaggle实战] Titanic 逃生预测 (1) - 项目起步
  13. python3自动下载优酷视频小程序
  14. “竹影扫阶尘不动,月穿潭底水无痕”引出的……
  15. C语言实现可伸缩的栈结构
  16. C#可以直接调用的Win32API
  17. java实现一个简单的计算器的加减乘除
  18. java super.clone解释_super.clone()做了什么
  19. monkeyrunner自动化测试工具--脚本模板及MonkeyRunner常用事件
  20. 大小写数字转换(大小写数字转换)

热门文章

  1. 全志代码中的bug之2
  2. 火焰图 性能分析 java,使用火焰图进行Java应用性能分析
  3. 萤石的云存储到期怎么启动内存卡_3款萤石智能入户单品 让普通入户门秒变智能...
  4. 区块链BaaS云服务(33)印度国家支付 Vajra Platform
  5. 区块链BaaS云服务(21)腾讯CCGP ”跨链协议 AMDP“
  6. 《Fabric 云存储的电子健康病历系统》(1)系统介绍
  7. (chap9 基于HTTP的功能追加协议) HTTP瓶颈
  8. C++ Primer 5th笔记(chap 14 重载运算和类型转换)可调用对象与function
  9. 能量分析攻击day02
  10. 近世代数--环同态--环同态基本定理