MAC 系统
今天突然无法启动springboot项目,报错信息如下,翻译了下大概猜是没权限生数据或硬盘滿了。
排除了硬盘滿的情况,应该是无权限了。
io.lettuce.core.RedisCommandExecutionException: MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to 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默认安装目录 /usr/local/redis
我依次执行以下命令:
sudo su
cd /usr/local/
chmod -R 777 redis
最后启动项目成功了。
若本文章侵犯了您的著作权,请联系我删除 QQ:695898855