问题
使用kill杀掉redis以后,无法启动、
配置logfile
如果未配置,则配置后查看
vim redis.conf
# Specify the log file name. Also the empty string can be used to force
# Redis to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
logfile "/opt/cache/redis-5.0.4/log/redis.log"
查看logfile日志内容
3105:M 16 Mar 2020 21:09:27.337 # The RDB file contains module data I can't load: no matching module 'MBbloom--'
看来知道,我们以前使用bloom过滤器,现在因为有数据包含bloom过滤器,所以需要加载这个模块。
./redis-server ./../redis.conf --loadmodule /opt/cache/libredis_cell.so --loadmodule /opt/cache/RedisBloom-2.2.0/redisbloom.so
网友评论