microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.81k stars 5.37k forks source link

can't start redis service on windows (error 5: can't access) #465

Closed tian-junwei closed 8 years ago

tian-junwei commented 8 years ago

when I start a redis service but it fail and return the error (error 5 : can't access),I found if the windows has Everyone group or NETWORK SERIVCE the redis service will be started successfully but if not it return error. How shoud I set the redis if I want to start redis service with system group ?

enricogior commented 8 years ago

Hi @tiantianjunwei by default the MSI installs the Redis service using the Network Service account that will also need to have read/write access to the installation folder. If you change the account, make sure it can access the installation folder.

tian-junwei commented 8 years ago

how can I change the redis configs to use SYSTEM not Network Service when redis starts

enricogior commented 8 years ago

@tiantianjunwei follow the Microsoft documentation for general Windows services account management, the only Redis-specific is that the account requires read/write access to the installation folder and it's subfolders.