why don't you change the configuration so that the log file is created in some other (= writable) directory?
On 2012-11-28, at 08:20 , Ram wrote:
> I have installed Redis from the tar.gz and I followed the instructions in the "Installing Redis more properly" section of the Redis Quick Start guide (
http://redis.io/topics/quickstart)
>
> But when I get to the final step of actually starting the Redis service, I get the following error
>
> $ /etc/init.d/redis_6379 start
> Starting Redis server...
>
> *** FATAL CONFIG FILE ERROR ***
> Reading the configuration file, at line 53
> >>> 'logfile /var/log/redis_6379.log'
> Can't open the log file: Permission denied
>
> Any help is appreciated.
>
> The file does not exist yet because it's a fresh install. I have tried creating the file but it gets created by root because I need sudo to create files in that location. The quick start guide does not seem to say anything about permissions for the log file so I am guessing this shouldn't be an issue.
>
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/redis-db/-/COpwtFuLuB4J.
> To post to this group, send email to
redi...@googlegroups.com.
> To unsubscribe from this group, send email to
redis-db+u...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/redis-db?hl=en.
--
http://tim.lossen.de