一、错误截图

二、报错原因

修改了配置文件的存储路径,但是没有创建对应的目录

三、解决办法

创建对应的文件夹

mkdir -p /opt/data/redis

启动服务

systemctl start redis.service

查询状态

systemctl status redis.service

更多推荐

Redis~Job for redis.service failed because the control process exited with error