Redis (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persis
2017-03-18 17:21
489 查看
异常:(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.
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/10/4933cf6d78de31c35455b192be591ecd)
原因:强制关闭Redis快照导致不能持久化。
解决方案:运行config set stop-writes-on-bgsave-error no 命令后,关闭配置项stop-writes-on-bgsave-error解决该问题。
boonya@ubuntu:/usr/local/redis/redis-3.0.3$
boonya@ubuntu:/usr/local/redis/redis-3.0.3$ ./src/redis-cli
127.0.0.1:6379> auth 123456
OK
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> set foo tar
OK
127.0.0.1:6379> get foo
"tar"
127.0.0.1:6379>
原因:强制关闭Redis快照导致不能持久化。
解决方案:运行config set stop-writes-on-bgsave-error no 命令后,关闭配置项stop-writes-on-bgsave-error解决该问题。
boonya@ubuntu:/usr/local/redis/redis-3.0.3$
boonya@ubuntu:/usr/local/redis/redis-3.0.3$ ./src/redis-cli
127.0.0.1:6379> auth 123456
OK
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> set foo tar
OK
127.0.0.1:6379> get foo
"tar"
127.0.0.1:6379>
相关文章推荐
- #Redis Error #MISCONF Redis is configured to save RDB snapshots, but is currently not able to persis
- (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
- 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提示(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to pe
- (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 disk
- (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 disk.
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- (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
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- django-redis遇到MISCONF Redis is configured to save RDB snapshots, but is currently not able to persis
- Redis提示(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to pe
- Redis error: MISCONF Redis is configured to save RDB snapshots, but is currently not able to pers...
- 【Redis笔记-5】(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to p
- (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- redis客户端 (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to per