Redis won't start

188 views
Skip to first unread message

Ian Juma

unread,
Jul 20, 2015, 4:35:52 AM7/20/15
to redi...@googlegroups.com
Starting redis-server: 
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 52
>>> 'logfile /var/log/redis/redis-server.log'
Can't open the log file: Permission denied
failed


file owned by group redis

ls -lg /var/log/redis/redis-server.log
-rw-rw---- 1 redis 4 Jul 20 10:11 /var/log/redis/redis-server.log

Matt Palmer

unread,
Jul 20, 2015, 4:46:46 AM7/20/15
to redi...@googlegroups.com
On Mon, Jul 20, 2015 at 12:14:34AM -0700, Ian Juma wrote:
> file owned by group redis
>
> ls -lg /var/log/redis/redis-server.log
> -rw-rw---- 1 redis 4 Jul 20 10:11 /var/log/redis/redis-server.log

No, it isn't. It's owned by *user* redis, but group ID 4 (whatever that is
on your system).

- Matt

Reply all
Reply to author
Forward
0 new messages