Most of the time when I reboot my Ubunutu server, I get "Waiting for Redis to shutdown…" over and over and it never stops until I force reboot. What could cause this?
I have http://godrb.com/ monitoring that resque stays running, so it could be related to that.
Best Answer
Do you have Redis listening on an interface other than
localhost
or127.0.0.1
? If so, the stop command is never being sent to the right interface, as the official Redis init template fails to include the host address.In the
/etc/init.d/redis
files I’ve worked with, I had to defineREDISHOST=10.150.0.18
and then on line 30 (look for “shutdown”) add that host argument: