redis无法启动(./redis-check-aof --fix )
redis 由于机器重启导致启动出现该错误:
Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof —fix
修复方式:
cp appendonly.aof appendonly.aof.bak
redis-check-aof --fix appendonly.aof
然后在启动redis即可
还没有评论,来说两句吧...