开发者

Redis returns an error when attempting to save

开发者 https://www.devze.com 2023-01-12 02:41 出处:网络
When running the SAVE command in redis-cli for Redis 1.3.15 it just returns \"(error) ERR\", BGSAVE does not appear to do anything either. The SHUTDOWN command returns \"(error) ERR Errors trying to S

When running the SAVE command in redis-cli for Redis 1.3.15 it just returns "(error) ERR", BGSAVE does not appear to do anything either. The SHUTDOWN command returns "(error) ERR Errors trying to SHUTDOWN. Check logs.". Killing the Redis process and starting Redis again does not change the save error.

Naturally I have tried to check the logs, but I havent been able to find any. Any hints where I can find the logs or what might be the problem would be greatly appreciated开发者_开发问答.


to check where the log files are located you should check the redis.conf file.

If BGSAVE or SAVE are failing there is maybe a problem with permissions of directory or alike, this kind of problems will be reported in the log file of course.

0

精彩评论

暂无评论...
验证码 换一张
取 消