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.78k stars 5.37k forks source link

Service crashing upon start. #567

Open putschoeglwe opened 6 years ago

putschoeglwe commented 6 years ago

Today I had severe problems running version 3.0.503 from nuget.org as service. After installing as service I got several different error messages when starting the service.

I finally managed to find the problem: it is a combination of configuration parameters set in the default config redis.windows-service.conf:

logfile "Logs/redis_log.txt" ... syslog-enabled yes ... syslog-ident redis

the syslog-ident config causes the problem. It must not be set together with logfile.

Either workaround worked for me:

  1. disable logging: logfile ="" syslog-enabled yes syslog-ident redis
  2. disable syslog-ident: logfile ="Logs/redis_log.txt" syslog-enabled yes #syslog-ident redis

hope that helps.