install on bullseye fails: redis-server not configures

105 views
Skip to first unread message

Willem D

unread,
Feb 19, 2023, 8:47:44 AM2/19/23
to Redis DB
I am trying to install Redis on a fresh Bullseye OS on a Raspberry Pi Zero.

The first thing I do after installing the OS on the SD card and pwoering up de Pi is run the commands as explained here

but the process fails and ends with an error message about the redis-server. Here is the output

 Get:1 https://packages.redis.io/deb bullseye/main armhf redis-tools armhf 6:7.0.8-1rl1~bullseye1 [1,058 kB]
Get:2 https://packages.redis.io/deb bullseye/main armhf redis-server armhf 6:7.0.8-1rl1~bullseye1 [86.7 kB]
Get:3 https://packages.redis.io/deb bullseye/main armhf redis all 6:7.0.8-1rl1~bullseye1 [39.9 kB]
Fetched 1,185 kB in 3s (344 kB/s)
Selecting previously unselected package redis-tools.
(Reading database ... 106127 files and directories currently installed.)
Preparing to unpack .../redis-tools_6%3a7.0.8-1rl1~bullseye1_armhf.deb ...
Unpacking redis-tools (6:7.0.8-1rl1~bullseye1) ...
Selecting previously unselected package redis-server.
Preparing to unpack .../redis-server_6%3a7.0.8-1rl1~bullseye1_armhf.deb ...
Unpacking redis-server (6:7.0.8-1rl1~bullseye1) ...
Selecting previously unselected package redis.
Preparing to unpack .../redis_6%3a7.0.8-1rl1~bullseye1_all.deb ...
Unpacking redis (6:7.0.8-1rl1~bullseye1) ...
Setting up redis-tools (6:7.0.8-1rl1~bullseye1) ...
Setting up redis-server (6:7.0.8-1rl1~bullseye1) ...
Job for redis-server.service failed because a fatal signal was delivered to the control process.
See "systemctl status redis-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript redis-server, action "start" failed.
● redis-server.service - Advanced key-value store
     Loaded: loaded (/lib/systemd/system/redis-server.service; disabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: signal) since Sat 2023-02-18 13:59:53 CET; 229ms ago
       Docs: http://redis.io/documentation,
             man:redis-server(1)
    Process: 1560 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=killed, signal=SEGV)
   Main PID: 1560 (code=killed, signal=SEGV)
        CPU: 509ms

Feb 18 13:59:53 raspberrypi systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 1.
Feb 18 13:59:54 raspberrypi systemd[1]: Stopped Advanced key-value store.
Feb 18 13:59:54 raspberrypi systemd[1]: Starting Advanced key-value store...
dpkg: error processing package redis-server (--configure):
 installed redis-server package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of redis:
 redis depends on redis-server (<< 6:7.0.8-1rl1~bullseye1.1~); however:
  Package redis-server is not configured yet.
 redis depends on redis-server (>= 6:7.0.8-1rl1~bullseye1); however:
  Package redis-server is not configured yet.

dpkg: error processing package redis (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
 redis-server
 redis
E: Sub-process /usr/bin/dpkg returned an error code (1)

I searched for this issue and found that editing the bind in /etc/redis/redis.conf might solve it (remove the -::1) but that did not help. Same error output.

Anyone knows a solution?

Alec Denholm

unread,
Oct 7, 2023, 1:40:52 PM10/7/23
to Redis DB
Was a solution found for this?  I have the exact same issue, same error log.  I would add that attempting to run redis-cli results in 'Segmentation Fault'.
Reply all
Reply to author
Forward
0 new messages