Redis, redis fatal error cannot open config file

I am running Redis on Windows and was unable to start it using the config file.

I tried to run:

redis-server 'filepath'/conf/redis.conf

      

but i get the error

"redis fatal error can't open config file"

      

How can I solve this problem and the Redis server read the config file?

+4


source to share


2 answers


"Fatal error, configuration file cannot be opened"



The Redis server may not have read privileges on this configuration file, or the configuration file does not exist.

+1


source


For windows:

radish server "CONFIG_FILE_PATH"



Make sure the configuration file and log have read and write permissions. You can also specify the configuration path for Linux in the same way.

0


source







All Articles