(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
来源:互联网 发布:无糖蛋糕 知乎 编辑:程序博客网 时间:2024/06/08 03:09
今天运行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>hset user username zhangsan
(integer) 1
0 0
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- Redis报错 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- 解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- // Error: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis ”MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- 【软件工具】(二)markdown基本语法
- 时间选择器(二)
- LintCode : 删除链表中的重复元素
- MyBatis实现单表增删改查(CURD)--属性名与字段名不一致问题
- 手机登录页面(记住密码)
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- tableau汇总数据排序(正常不能排序)
- HDU5015~Number Sequence(位运算)
- 三分钟从零单排gulp-less配置
- openssh-server的访问练习
- docker 学习
- NSDocumentDirectory NSDocumentationDirectory 的区别
- Linux进程间通信——使用匿名管道
- 论文学习:深度循环神经网络用于时间序列预测