티스토리 뷰
DB/NoSQL
Redis MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk 오류 조치
호형 2021. 4. 16. 13:09Springboot에서 Redis 연동을 하려는데 아래와 같은 오류가 발생을 하였다.
2021-04-16 12:12:11.439[0;39m [31mERROR[0;39m [35m26480[0;39m [2m---[0;39m [2m[nio-8080-exec-1][0;39m [36mo.a.c.c.C.[.[.[/].[dispatcherServlet] [0;39m [2m:[0;39m Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to localhost/<unresolved>:6379] with root cause
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.
at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:137) ~[lettuce-core-6.0.4.RELEASE.jar:6.0.4.RELEASE]
at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:110) ~[lettuce-core-6.0.4.RELEASE.jar:6.0.4.RELEASE]
at io.lettuce.core.protocol.AsyncCommand.completeResult(AsyncCommand.java:120) ~[lettuce-core-6.0.4.RELEASE.jar:6.0.4.RELEASE]
Unable to connect to localhost/<unresolved>:6379] with root cause
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
이런 내용들의 오류이다.
만약 내가 Redis를 순수 Cache 용도로만 사용을 하기를 원한다면 RDB를 끄거나 다음과 같은 명령어를 통해 해결이 가능하다.
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
끝!
'DB > NoSQL' 카테고리의 다른 글
Redis Desktop Manager 윈도우에 설치하고 연동하기 (0) | 2021.10.28 |
---|---|
Windows 10 에서 Redis 암호 설정 (0) | 2021.01.05 |
Windows 10 환경에 Redis 설치해보기 (0) | 2020.12.11 |
댓글