hackpar / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

slave-serve-stale-data yes - Bad directive or wrong number of arguments #470

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
System:

Redis 2.2.1, Ubuntu

What is the problem you are experiencing?

jaxspot@oveaca-01:/opt/redis/bin$ sudo redis-server redis.conf 

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 136
>>> 'slave-serve-stale-data yes'
Bad directive or wrong number of arguments
jaxspot@oveaca-01:/opt/redis/bin$

What steps will reproduce the problem?

Just download redis 2.2.1, compile, install and run redis-server redis.conf 
with the provided redis.conf

Original issue reported on code.google.com by mathieu....@gmail.com on 24 Feb 2011 at 8:19

GoogleCodeExporter commented 8 years ago
Pease DELETE ! I had an older Readis in the path... Sorry !

Original comment by mathieu....@gmail.com on 24 Feb 2011 at 9:01

GoogleCodeExporter commented 8 years ago
No problem.

Original comment by pcnoordh...@gmail.com on 24 Feb 2011 at 9:26

GoogleCodeExporter commented 8 years ago
If using rhomobile and messed up somehow installing multiple versions of redis:
- search for redis.conf that might be "/usr/local/etc/redis.conf"
- mv /usr/local/etc/redis.conf /usr/local/etc/redis.conf.bak to be on safer side
- go to sync app
- rake redis:install

Original comment by moinhai...@gmail.com on 2 May 2012 at 11:04