美文网首页
redis无法启动问题排查

redis无法启动问题排查

作者: 北海北_6dc3 | 来源:发表于2020-03-16 21:26 被阅读0次

问题

使用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

相关文章

网友评论

      本文标题:redis无法启动问题排查

      本文链接:https://www.haomeiwen.com/subject/nswoehtx.html