When i have install redis i got this error : `Job for redis-server.service failed because the control process exited with error code. Docs: http://redis.io/documentation, man:redis-server(1) Process: 18057 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=226/NAMESPACE) Process: 18054 ExecStartPre=/bin/run-parts --verbose /etc/redis/redis-server.pre-up.d (code=exited, status=226/NAMESPACE)
Feb 25 15:19:24 server1 systemd[1]: Failed to start Advanced key-value store. Feb 25 15:19:24 server1 systemd[1]: redis-server.service: Unit entered failed state. Feb 25 15:19:24 server1 systemd[1]: redis-server.service: Failed with result 'exit-code'. Feb 25 15:19:25 server1 systemd[1]: redis-server.service: Service hold-off time over, scheduling restart. Feb 25 15:19:25 server1 systemd[1]: Stopped Advanced key-value store. Feb 25 15:19:25 server1 systemd[1]: redis-server.service: Start request repeated too quickly. Feb 25 15:19:25 server1 systemd[1]: Failed to start Advanced key-value store. Feb 25 15:19:25 server1 systemd[1]: redis-server.service: Unit entered failed state. Feb 25 15:19:25 server1 systemd[1]: redis-server.service: Failed with result 'exit-code'.`
Comment From: vattezhang
To see what really happened, you need to find the log file in your /etc/redis/redis.conf(logfile option). And you can find the detail error information.
Comment From: riptl
This is improper configuration, not an issue in Redis.
Comment From: prey87
This also happend to me inside a LXC container, config out of the box and even when i set logging to debug no log file would created
Comment From: amirouche
It is possible to run redis manually :)
ref: https://github.com/redis/redis/issues/5105 ref: https://github.com/lxc/lxd/issues/3799