【发布时间】:2017-12-26 21:48:16
【问题描述】:
我已经在 Mac OS throw brew 上安装了 redis。我可以通过运行命令redis-server 来启动默认设置。但是通过运行启动服务器时出现错误:redis-server /usr/local/etc/redis.conf:
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 194
>>> 'always-show-logo yes'
Bad directive or wrong number of arguments
我没有更改 conf 文件上的任何内容,如果我删除第 194 行,我将收到另一个行错误。我做错了什么吗?使用配置文件启动redis服务器的正确方法是什么?
我已经检查了文件/usr/local/etc/redis.conf在系统上存在并且我的redis服务器版本是:
$ redis-server --version
Redis server v=3.2.0 sha=00000000:0 malloc=libc bits=64 build=85fa89b1ccb3084c
【问题讨论】:
标签: redis