现象:
# redis-server redis.conf
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 309
>>> 'replica-serve-stale-data yes'
Bad directive or wrong number of arguments
解决:
redis.conf指定位置有误,改为正确的目录下的redis.conf,再执行即解决。
本文讲述了在配置Redis时遇到的FATAL CONFIG FILE ERROR,焦点在于修正了replica-serve-stale-data指令的错误,解决方案是更改到正确redis.conf路径。
现象:
# redis-server redis.conf
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 309
>>> 'replica-serve-stale-data yes'
Bad directive or wrong number of arguments
解决:
redis.conf指定位置有误,改为正确的目录下的redis.conf,再执行即解决。

被折叠的 条评论
为什么被折叠?