Skip to main content

All Questions

Tagged with
3 votes
1 answer
13k views

Systemd Refuses to Start Redis Server

I have duplicate redis.conf & /etc/systemd/system/redis.service files on my test and prod servers via scp. Where prod is able to start and run redis with a unix socket. My test server refuses to ...
mjones's user avatar
  • 317
0 votes
1 answer
5k views

Redis fails to start after reboot ("Can't open the log file: Permission denied")

I've ran into a problem with my Redis 4.09 installation on Ubuntu 18.04. Each time I reboot the machine the /var/log/redis/redis-server.log ends up being owned by www-data:www-data: # namei -l /var/...
Alphakilo23's user avatar
0 votes
1 answer
2k views

Why does redis need write permissions for redis.conf?

I just installed redis on an Ubuntu server. When I examined its file permissions, I saw -rw-r----- 1 redis redis 59124 Jan 11 02:24 /etc/redis/redis.conf Why does the redis user need write access to ...
tcjulian's user avatar
1 vote
1 answer
1k views

Redis socket permissions caught between /var/run and http

I'd like my PHP web application (run as user apache) to connect to redis via a UNIX socket. So I thought of running redis as user apache as well and the socket permissions can be 0700 owned by apache. ...
Johannes Ernst's user avatar