Redis Error
2015-09-17 12:03
519 查看
错误内容:
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快照导致
解决方案:
config set stop-writes-on-bgsave-error no
未用root启动,用的app用户(没有最高权限) 强制shutdown后,需要执行该命令后,即可用程序保存数据到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.
使用如下命令解决:
config set stop-writes-on-bgsave-error no
set name yinxiangbing
-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.
config set stop-writes-on-bgsave-error no
+OK
set name yinxiangbing
+OK
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快照导致
解决方案:
config set stop-writes-on-bgsave-error no
未用root启动,用的app用户(没有最高权限) 强制shutdown后,需要执行该命令后,即可用程序保存数据到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.
使用如下命令解决:
config set stop-writes-on-bgsave-error no
set name yinxiangbing
-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.
config set stop-writes-on-bgsave-error no
+OK
set name yinxiangbing
+OK
相关文章推荐
- NoSQL数据库:Redis适用场景及产品定位
- redis实践-cluster搭建
- Ubuntu下安装redis
- redis如何关闭持久化
- Linux redis 开启启动
- CentOS7安装Redis
- 【Redis】Redis学习笔记01_Linux下Redis的安装
- Nginx(1.3.9)+Tomcat(1.7)+Redis(3.0)的session共享
- 四:redis的sets类型 - 相关操作(有序和无序集合)
- redis+PHP实现的一个优先级去重队列
- Hiredis 基本使用
- shell批量插入redis测试数据
- redis清理数据
- [转载] redis-cluster研究和使用
- [转载] Redis集群搭建最佳实践
- [转载] Redis-benchmark使用总结
- No module named redis_cache.cache
- 用Redis实现微博关注关系
- 安装Redis和Redis Cluster
- redis操作