2
我在Windows上運行Redis並且無法使用配置文件運行Redis。Redis,redis致命錯誤無法打開配置文件
我試圖運行:
redis-server 'filepath'/conf/redis.conf
,但我得到的錯誤說
"redis fatal error can't open config file"
我怎樣才能解決這個問題,有Redis的服務器讀取配置文件?
我在Windows上運行Redis並且無法使用配置文件運行Redis。Redis,redis致命錯誤無法打開配置文件
我試圖運行:
redis-server 'filepath'/conf/redis.conf
,但我得到的錯誤說
"redis fatal error can't open config file"
我怎樣才能解決這個問題,有Redis的服務器讀取配置文件?
「致命錯誤,無法打開配置文件」
Redis的服務器可能對這個配置文件或配置文件中沒有讀特權不存在。
如何授予其權限讀取文件,如果是這種情況? –
我不熟悉windows。這個錯誤是由行'if((fp = fopen(filename,「r」))== NULL)'引起的,這意味着redis服務器無法在讀取模式下打開該文件。也許你可以谷歌[Windows設置文件特權](https://www.google.com/webhp?q=windows+set+file+privilege)。 – lorneli