sunfmin / notebook

My Note Book
2 stars 0 forks source link

redis-server 启动不了,因为升级了redis,老的配置文件还留在那里 #3

Open sunfmin opened 8 years ago

sunfmin commented 8 years ago
redis-server /usr/local/etc/redis.conf

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 390

'vm-enabled no'
Bad directive or wrong number of arguments

重新删除该文件,重新安装redis就好了

rm /usr/local/etc/redis.conf
brew remove redis
brew install redis
brew services start redis