RedisCommandExecutionException: MISCONF Redis

2 篇文章 0 订阅

Redis未启动或启动失败导致RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

错误可能原因

redis未启动或启动失败
confi配置错误

报错信息

2022-06-09 22:29:08.308 ERROR [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [com.alibaba.nacos.naming.push.receiver] com.alibaba.nacos.client.naming          : [NA] error while receiving push data

java.net.SocketException: socket closed
	at java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method)
	at java.net.DualStackPlainDatagramSocketImpl.receive0(Unknown Source)
	at java.net.AbstractPlainDatagramSocketImpl.receive(Unknown Source)
	at java.net.DatagramSocket.receive(Unknown Source)
	at com.alibaba.nacos.client.naming.core.PushReceiver.run(PushReceiver.java:83)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

2022-06-09 22:29:08.309  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown begin
2022-06-09 22:29:08.309  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.backups.FailoverReactor do shutdown stop
2022-06-09 22:29:08.310  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.core.HostReactor do shutdown stop
2022-06-09 22:29:08.310  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.net.NamingProxy do shutdown begin
2022-06-09 22:29:08.310  WARN [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] com.alibaba.nacos.client.naming          : [NamingHttpClientManager] Start destroying NacosRestTemplate
2022-06-09 22:29:08.311  WARN [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] com.alibaba.nacos.client.naming          : [NamingHttpClientManager] Destruction of the end
2022-06-09 22:29:08.311  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] com.alibaba.nacos.client.naming          : com.alibaba.nacos.client.naming.net.NamingProxy do shutdown stop
2022-06-09 22:29:09.470  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2022-06-09 22:29:09.505  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.e.c.c.s.ConnectionStartupListener    : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60452MB, used:37802MB], JvmMemory: 39% [max:21835MB, total:2324MB, free:1398MB, used:925MB]
destory datasource resource.
2022-06-09 22:29:09.505  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.e.c.c.s.ConnectionStartupListener    : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60452MB, used:37802MB], JvmMemory: 39% [max:21835MB, total:2324MB, free:1398MB, used:925MB]
destory c3p0 datasource.
2022-06-09 22:29:09.509  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.e.c.c.s.ConnectionStartupListener    : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60452MB, used:37802MB], JvmMemory: 39% [max:21835MB, total:2324MB, free:1398MB, used:925MB]
destory c3p0 datasource.
2022-06-09 22:29:09.510  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.e.c.c.s.ConnectionStartupListener    : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60452MB, used:37802MB], JvmMemory: 39% [max:21835MB, total:2324MB, free:1396MB, used:927MB]
destory c3p0 datasource.
2022-06-09 22:29:09.539  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.e.s.management.MBeanServerConnector    : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60453MB, used:37801MB], JvmMemory: 40% [max:21835MB, total:2324MB, free:1393MB, used:930MB]
MBeanserverConnectorService [url=service:jmx:rmi://192.168.189.1:6530/jndi/rmi://192.168.189.1:6530/jmxDefault.jmx] stop!
2022-06-09 22:29:09.542  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.system.impl.service.DomainService    : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60453MB, used:37801MB], JvmMemory: 40% [max:21835MB, total:2324MB, free:1393MB, used:930MB]
Begin to stop EOS system Domain service
2022-06-09 22:29:09.542  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.system.impl.service.DomainService    : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60453MB, used:37801MB], JvmMemory: 40% [max:21835MB, total:2324MB, free:1393MB, used:930MB]
EOS system Domain service stoped
2022-06-09 22:29:09.542  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.s.impl.service.HotUpdateService      : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60453MB, used:37801MB], JvmMemory: 40% [max:21835MB, total:2324MB, free:1393MB, used:930MB]
Begin to stop HotUpdateService
2022-06-09 22:29:09.543  WARN [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [DomainStatusPerformance] c.p.system.impl.service.DomainService    : UserInfo: null, Thread: Thread[DomainStatusPerformance,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60453MB, used:37801MB], JvmMemory: 40% [max:21835MB, total:2324MB, free:1393MB, used:930MB]
DomainStatusPerformanceThread is interrupted.
2022-06-09 22:29:09.557  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.s.impl.service.HotUpdateService      : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60453MB, used:37801MB], JvmMemory: 40% [max:21835MB, total:2324MB, free:1393MB, used:930MB]
HotUpdateService stopped.
2022-06-09 22:29:09.559  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.ext.system.service.SystemService     : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60453MB, used:37801MB], JvmMemory: 40% [max:21835MB, total:2324MB, free:1393MB, used:930MB]
EOS system service stoped
[GE-CATALOG-LOCAL] stop in 0 s.
2022-06-09 22:29:09.560  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] c.p.e.s.a.EOS8SpringBootConfiguration    : UserInfo: null, Thread: Thread[main,5,main], CPU: 86%, SystemMemory: 38% [total:98254MB, free:60453MB, used:37801MB], JvmMemory: 40% [max:21835MB, total:2324MB, free:1393MB, used:930MB]
==== Destroyed EOS Runtime
2022-06-09 22:29:09.564  WARN [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] o.a.c.loader.WebappClassLoaderBase       : The web application [ROOT] appears to have started a thread named [RxIoScheduler-1 (Evictor)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 java.lang.Thread.run(Unknown Source)
2022-06-09 22:29:09.595  INFO [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-06-09 22:29:09.639 ERROR [CATALOG,GE-CATALOG-LOCAL,default,DESKTOP-E3BKV6N:GE-CATALOG-LOCAL:28011,,,,] 33384 --- [main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OSSFileController' defined in file [H:\Dev_projects\catalog_0524\catalog_0524\source\catalog\org.gecom.data.catalog.common\target\classes\org\gecom\data\catalog\common\oss\OSSFileController.class]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1303)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1197)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:845)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203)
	at org.gecom.data.catalog.Application.main(Application.java:21)
Caused by: java.lang.ExceptionInInitializerError: null
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1295)
	... 17 common frames omitted
Caused by: org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
	at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:54)
	at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:52)
	at org.springframework.data.redis.connection.lettuce.LettuceExceptionConverter.convert(LettuceExceptionConverter.java:41)
	at org.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:44)
	at org.springframework.data.redis.FallbackExceptionTranslationStrategy.translate(FallbackExceptionTranslationStrategy.java:42)
	at org.springframework.data.redis.connection.lettuce.LettuceConnection.convertLettuceAccessException(LettuceConnection.java:268)
	at org.springframework.data.redis.connection.lettuce.LettuceKeyCommands.convertLettuceAccessException(LettuceKeyCommands.java:817)
	at org.springframework.data.redis.connection.lettuce.LettuceKeyCommands.del(LettuceKeyCommands.java:131)
	at org.springframework.data.redis.connection.DefaultedRedisConnection.del(DefaultedRedisConnection.java:69)
	at org.springframework.data.redis.connection.DefaultStringRedisConnection.del(DefaultStringRedisConnection.java:254)
	at org.springframework.data.redis.core.RedisTemplate.lambda$delete$2(RedisTemplate.java:709)
	at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:224)
	at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:184)
	at org.springframework.data.redis.core.RedisTemplate.delete(RedisTemplate.java:709)
	at com.primeton.eos.springboot.cache.EOS8RedisCache.removeValue(EOS8RedisCache.java:167)
	at com.primeton.common.cache.impl.DelegateCache.removeValue(DelegateCache.java:82)
	at com.primeton.ext.common.cache.AbstractCache.remove(AbstractCache.java:322)
	at org.gecom.data.catalog.common.cache.RedisUtil.remove(RedisUtil.java:54)
	at org.gecom.data.catalog.common.cache.BasicRedisOperator.destroy(BasicRedisOperator.java:75)
	at org.gecom.data.catalog.common.cache.ext.ConfigCacheUtil.init(ConfigCacheUtil.java:25)
	at org.gecom.data.catalog.common.cache.ext.ConfigCacheUtil.<init>(ConfigCacheUtil.java:20)
	at org.gecom.data.catalog.common.cache.ext.ConfigCacheUtil.getInstance(ConfigCacheUtil.java:55)
	at org.gecom.data.catalog.common.util.SystemConfig.getConfig(SystemConfig.java:17)
	at org.gecom.data.catalog.common.util.SystemConfig.getSysConfig(SystemConfig.java:40)
	at org.gecom.data.catalog.common.oss.OSSFileController.<clinit>(OSSFileController.java:51)
	... 24 common frames omitted
Caused by: io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
	at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:135)
	at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:108)
	at io.lettuce.core.protocol.AsyncCommand.completeResult(AsyncCommand.java:120)
	at io.lettuce.core.protocol.AsyncCommand.complete(AsyncCommand.java:111)
	at io.lettuce.core.protocol.CommandWrapper.complete(CommandWrapper.java:59)
	at io.lettuce.core.protocol.CommandHandler.complete(CommandHandler.java:646)
	at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:604)
	at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:556)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1421)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:697)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:632)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:549)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:511)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Unknown Source)
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值