Redis 3.2.0, the first release of the new 3.2 stable major branch, has been released on May 6th 2016, bringing some new features : the GEO API, the new BITFIELD command, many improvements to Redis Cluster and Lua scripts replication… You can read the full story here.
The packages are now available :
- for Debian 8 “Jessie” and Debian 7 “Wheezy”
- on both amd64 and i386 architectures.
2 replies on “Redis 3.2.0”
Hello,
When I’m trying to install the packages, I get the following error:
# apt-get install redis-server redis-tools
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
ruby-redis
The following NEW packages will be installed:
redis-server redis-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/737 kB of archives.
After this operation, 2,445 kB of additional disk space will be used.
Selecting previously unselected package redis-tools.
(Reading database … 57002 files and directories currently installed.)
Preparing to unpack …/redis-tools_2%3a3.2.0-1~dotdeb+8.1_amd64.deb …
Unpacking redis-tools (2:3.2.0-1~dotdeb+8.1) …
Selecting previously unselected package redis-server.
Preparing to unpack …/redis-server_2%3a3.2.0-1~dotdeb+8.1_amd64.deb …
Unpacking redis-server (2:3.2.0-1~dotdeb+8.1) …
Processing triggers for man-db (2.7.0.2-5) …
Processing triggers for systemd (215-17+deb8u4) …
Setting up redis-tools (2:3.2.0-1~dotdeb+8.1) …
Setting up redis-server (2:3.2.0-1~dotdeb+8.1) …
Job for redis-server.service failed. See ‘systemctl status redis-server.service’ and ‘journalctl -xn’ for details.
invoke-rc.d: initscript redis-server, action “start” failed.
dpkg: error processing package redis-server (–configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (215-17+deb8u4) …
Errors were encountered while processing:
redis-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
# systemctl status redis-server.service
● redis-server.service – Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled)
Active: failed (Result: start-limit) since Sun 2016-05-08 10:28:32 CEST; 2min 28s ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Process: 9222 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=1/FAILURE)
Process: 9217 ExecStartPre=/bin/run-parts –verbose /etc/redis/redis-server.pre-up.d (code=exited, status=0/SUCCESS)
Main PID: 809 (code=exited, status=0/SUCCESS)
May 08 10:28:32 ns2.webdl.org systemd[1]: Failed to start Advanced key-value store.
May 08 10:28:32 ns2.webdl.org systemd[1]: Unit redis-server.service entered failed state.
May 08 10:28:32 ns2.webdl.org systemd[1]: redis-server.service holdoff time over, scheduling restart.
May 08 10:28:32 ns2.webdl.org systemd[1]: Stopping Advanced key-value store…
May 08 10:28:32 ns2.webdl.org systemd[1]: Starting Advanced key-value store…
May 08 10:28:32 ns2.webdl.org systemd[1]: redis-server.service start request repeated too quickly, refusing to start.
May 08 10:28:32 ns2.webdl.org systemd[1]: Failed to start Advanced key-value store.
May 08 10:28:32 ns2.webdl.org systemd[1]: Unit redis-server.service entered failed state.
And in the daemon.log:
May 8 10:28:32 ns2 run-parts[9217]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
May 8 10:28:32 ns2 redis-server[9222]: *** FATAL CONFIG FILE ERROR ***
May 8 10:28:32 ns2 redis-server[9222]: Reading the configuration file, at line 143
May 8 10:28:32 ns2 redis-server[9222]: >>> ‘logfile /var/log/redis/redis-server.log’
May 8 10:28:32 ns2 redis-server[9222]: Can’t open the log file: Permission denied
Any idea ? 🙂
Here are the /var/log/redis permissions:
drwxr-xr-x 2 redis redis 4.0K May 8 10:28 redis