问题提出

设置 redis 过期事件监听时,需将 notify-keyspace-events的值设置为Ex,故去掉了 notify-keyspace-events Ex'之前的注释符。然而,启动redis客户端的时候提示

Invalid argument during startup: unknown conf file parameter : notify-keyspace-events

Redis异常 Invalid argument during startup: unknown conf file parameter

问题分析

从上图可以看出notify-keyspace-events Ex'前多了空格,导致redis无法识别。

问题解决

去掉notify-keyspace-events Ex'之前多余的空格后,服务启动成功。

相关文章:

  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2022-12-23
猜你喜欢
  • 2021-11-07
  • 2021-10-20
  • 2021-04-05
  • 2021-10-03
  • 2021-04-26
  • 2021-06-06
  • 2022-12-23
相关资源
相似解决方案