I try to load the module RedisTimeSeries by adding the line loadmodule /usr/RedisTimeSeries/bin/linux-armv6l-release/redistimeseries.so
to /etc/redis/redis.conf
and restart the service by the command systemctl restart redis-server
.
I get the error
Job for redis-server.service failed because the control process exited with error code.
See "systemctl status redis-server.service" and "journalctl -xeu redis-server.service" for details.
systemctl status redis-server.service
outputs
× redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2024-05-21 14:45:39 CEST; 34min ago
Duration: 5min 23.077s
Docs: http://redis.io/documentation,
man:redis-server(1)
Process: 1122 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --supervised systemd --daemonize no (code=exited, status=1/FAILURE)
Main PID: 1122 (code=exited, status=1/FAILURE)
Status: "Redis is loading..."
CPU: 1.522s
May 21 14:45:39 zsys systemd[1]: redis-server.service: Consumed 1.522s CPU time.
May 21 14:45:39 zsys systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 5.
May 21 14:45:39 zsys systemd[1]: Stopped redis-server.service - Advanced key-value store.
May 21 14:45:39 zsys systemd[1]: redis-server.service: Consumed 1.522s CPU time.
May 21 14:45:39 zsys systemd[1]: redis-server.service: Start request repeated too quickly.
May 21 14:45:39 zsys systemd[1]: redis-server.service: Failed with result 'exit-code'.
May 21 14:45:39 zsys systemd[1]: Failed to start redis-server.service - Advanced key-value store.
In the Log File /var/log/redis/redis-server.log
is an error failed to map segment from shared object
1118:M 21 May 2024 14:45:37.186 # Module /usr/RedisTimeSeries/bin/linux-armv6l-release/redistimeseries.so failed to load: /usr/RedisTimeSeries/bin/linux-armv6l-release/redistimeseries.so: failed to map segment from shared object
1118:M 21 May 2024 14:45:37.186 # Can't load module from /usr/RedisTimeSeries/bin/linux-armv6l-release/redistimeseries.so: server aborting
I moved the binary directory of the module to /etc and tried it again. But same issue
luchsn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.