【解决】redis启动权限问题

来源:互联网 发布:sql优化 面试题 编辑:程序博客网 时间:2024/06/06 14:27

错误描述

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.

解决方式

修改rdb文件所在目录的权限。