Greetings,
I've installed redis-server on my brand new debian virtual server (hosted by Scaleway's IAAS cloud service)
I launch the daemon with
sudo /etc/init.d redis-server start
And according to the logs, no problem occurs :
[12961] 12 Apr 00:41:18.825 # Server started, Redis version 2.8.17
[12961] 12 Apr 00:41:18.825 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[12961] 12 Apr 00:41:18.859 * DB loaded from disk: 0.034 seconds
[12961] 12 Apr 00:41:18.859 * The server is now ready to accept connections on port 6379
Except when I launch redis-cli and type, for example, 'ping' :
:~ $ redis-cli
127.0.0.1:6379> ping
Error: Protocol error, got "\x00" as reply type byte
:~ $
I noticed there was a problem when my flask app was unable to connect to redis, hence the ping test.
Here is the content of /etc/redis/redis.conf :
http://paste.debian.net/166341/I haven't changed anything in it from the repository version. I've tried changing the port, to no success.
Thanks !