0
点赞
收藏
分享

微信扫一扫

redis启动失败FATAL CONFIG FILE ERRO net.ipv4.tcp_fin_timeout Bad directive or wrong number of arguments

船长_Kevin 2022-10-18 阅读 158


闲着无聊 给家用备机的ubuntu apt upgrade了一下,结果redis用不了了

*** FATAL CONFIG FILE ERROR ***
May 13 03:10:47 xue-backup redis-server[2925]: Reading the configuration file, at line 89
May 13 03:10:47 xue-backup redis-server[2925]: >>> 'net.ipv4.tcp_fin_timeout=60'
May 13 03:10:47 xue-backup redis-server[2925]: Bad directive or wrong number of arguments

 

查了各种资料,都是让修改各种参数,折腾几个小时无果

然后无意中在stackflow上看到n年前一个类似的问题回复,终于解决了

 

是的,因为我手贱升级,把redis也跟着升级了,然后redis取消了报错里的配置项,导致一直启动失败!

 

所以,把报错的几个(没错,一起被取消了好几个)配置项屏蔽了就启动成功了!!!

举报
0 条评论