Failed to start Redis persistent key-value database.
Issue
-
The redis.service fails to tart with FATAL CONFIG FILE ERROR for 'logfile /var/log/redis/redis.log'.
Mar 13 20:34:08 node1.example.com redis-server[762234]: *** FATAL CONFIG FILE ERROR *** Mar 13 20:34:08 node1.example.com redis-server[762234]: Reading the configuration file, at line 171 Mar 13 20:34:08 node1.example.com redis-server[762234]: >>> 'logfile /var/log/redis/redis.log' Mar 13 20:34:08 node1.example.com redis-server[762234]: Can't open the log file: Permission denied Mar 13 20:34:08 node1.example.com systemd[1]: redis.service: Main process exited, code=exited, status=1/FAILURE Mar 13 20:34:08 node1.example.com systemd[1]: redis.service: Failed with result 'exit-code'.
-
The redis.service started failing with error reported on line 171 for logfile entry. The configuration entry is valid.
Environment
- Red Hat Enteprise Linux 8
- Red Hat Enteprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.