Redis start failure

Problem:

There is a redis start failure after initializing Instana and the following messages appear in the logs:


Jul 10 16:16:30 localhost systemd: redis.service: control process exited, code=exited status=1
Jul 10 16:16:30 localhost systemd: Unit redis.service entered failed state.
Jul 10 16:16:30 localhost systemd: redis.service failed.
Jul 10 16:16:30 localhost systemd: redis.service holdoff time over, scheduling restart.
Jul 10 16:16:30 localhost systemd: Started Advanced key-value store.
Jul 10 16:16:30 localhost systemd: Starting Advanced key-value store...
Jul 10 16:16:30 localhost redis-server: 30987:C 10 Jul 16:16:30.514 # Can't chdir to '/mnt/data/redis': Permission denied
Jul 10 16:16:30 localhost redis-server: Can't chdir to '/mnt/data/redis': Permission denied
Jul 10 16:16:30 localhost systemd: redis.service: main process exited, code=exited, status=1/FAILURE

 

Solution:

Please check if the SELinux is in enforce mode. Disable the SElinux and reboot linux, then redis should start successfully.

Have more questions? Submit a request

Comments