• 主页
  • 归档
  dengyuanke
  • 主页
  • 归档
  • ZooKeeper
  • Redis
  • Thymeleaf
  • Docker
  • MySQL&MariaDB
  • Kafka
  • MongoDB
  • Linux
  • Hadoop
  • SpringBoot
  • Gradle
  • SpringCloud
  • Java
  • IntelliJIDEA
  • 设计模式
  • Vue
  • 鲲鹏云

MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk

今天使用SpringBoot操作Redis的时候,报错

io.lettuce.core.RedisCommandExecutionException: 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.exceptions。MISCONF Redis配置为保存RDB快照,但目前无法在磁盘上持久保存。可以修改数据集的命令被禁用。有关错误的详细信息,请查看Redis日志。

这是由于强制停止redis快照,不能持久化引起的,

解决方案如下:

打开redis-cli

输入 config set stop-writes-on-bgsave-error no命令

解决!

2018/11/10 posted in  Redis SpringBoot

CentOS7通过yum简单安装Redis

本文安装的是Redis单机版,版本是3.2.12,使用的系统是CentOS 7.4 64位

直接yum 安装的redis 不是最新版本

yum install redis

如果要安装最新的redis,需要安装Remi的软件源,官网地址:http://rpms.famillecollet.com/

阅读更多   2018/10/5 posted in  Redis

dengyuanke

邓元柯的学习笔记
GitHub Email RSS

类别

ZooKeeper Redis Thymeleaf Docker MySQL&MariaDB Kafka MongoDB Linux Hadoop SpringBoot Gradle SpringCloud Java IntelliJIDEA 设计模式 Vue 鲲鹏云

最近文章

  • 鲲鹏云安装MantisBT
  • MySQL调优
  • ClassNotFoundException和NoClassDefFoundError的区别
  • Java 7中HashMap和HashTable中对于hash的实现,我们来做个简单的总结
  • JMM

Copyright ©