New issue 488 by Sebou...@gmail.com: Cannot start server. Fatal Config File
Error
http://code.google.com/p/redis/issues/detail?id=488
What version of Redis you are using, in what kind of Operating System?
redis-2.2.2 on Linux/Ubuntu 10.10
What is the problem you are experiencing?
Cannot start redis server
What steps will reproduce the problem?
redis-server redis.conf
Do you have an INFO output? Please past it here.
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 135
>>> 'slave-serve-stale-data yes'
Bad directive or wrong number of arguments
If it is a crash, can you please paste the stack trace that you can find in
the log file or on standard output? This is really useful for us!
Please provide any additional information below.
I installed by following the directions here:http://redis.io/download Any
help is much appreciated. thanks!
Comment #1 on issue 488 by pcnoordh...@gmail.com: Cannot start server.
Fatal Config File Error
http://code.google.com/p/redis/issues/detail?id=488
You have an older version of Redis installed on your operating system.
Please start redis-server by pointing to the exact path of the binary. When
your working directory is the root of the archive you downloaded, you can
start it by executing "src/redis-server".
Thanks.. When I do that I get Opening port: bind: Address already in use
But I don't have a server running. Do you know how to fix that?
You have something running on that port, whether it is Redis itself or
something else. That needs to be killed/quitted first. Otherwise, you can
run Redis on a different, unused, port.
How would I find out what's running on the port and quit it? And how can I
run it on a different port?
btw NMAP says port 631 is open.
PORT STATE SERVICE
631/tcp open ipp
Use "lsof -i :6379 | grep -i listen" to find out which process is listening
on the default Redis port. Change the config file to make Redis listen on
another port.
That command shows that nothing is running on port 6379. I can't seem to
get it to work. What's the best way to uninstall and install again?
You're passing a config file when starting Redis. Please double check that
nothing is running on the port that is specified in that config file (6379
is the default, but when Redis quits saying that the port is already in
use, and 6379 is not bound, you probably have a non-default port number
specified in you config file?).
I've verified that nothing is running on port 6379. I've checked the
default port and it's 6379. I need to run redis on this port to make it
work with juggernaut. I've tried deleting the folder and reinstalling, and
I get the same result. Has this happened to anyone else? What do you
recommend? Thanks..
I have the same problem on ubuntu 10.10
I have the same problem on ubuntu 10.10
yes even i am facing the same problem..
same problem i am facing if I go to config file and then change port to
something else the redis server is running but the issue is i need to
integrate it with juggernaut..... how to run it at default port ?????????/
Hi, I just included the port number in the error message when Redis can't
bind the listening socket so that troubleshooting will be simpler the next
time. However this is not a Redis bug but a setup issue.
Salvatore
how to resolve that issue then ?? @anti
not sure I understand your issue but you can try writing to the Redis
Google Group.
If the problem is that you can't change port, likely you specify a port
number in redis.conf but then don't run redis-server with "redis-server
/path/to/config/file".
I have the same problem after I install a new version redis. After I reboot
my computer, all the problem is gone. I guess this problem is because there
is an old version redis running on your computer.