ghy@ghy-VirtualBox:~$ redis-cli -p 7777 127.0.0.1:7777> keys * 1) "username" 127.0.0.1:7777> config set requirepass abc123 OK 127.0.0.1:7777> config rewrite OK 127.0.0.1:7777>
redis.conf 1066 row text is : 0 200 800
ghy@ghy-VirtualBox:~/T/redis$ redis-server redis.conf
*** FATAL CONFIG FILE ERROR (Redis 6.0.7) *** Reading the configuration file, at line 1066
'0 200 800' Bad directive or wrong number of arguments ghy@ghy-VirtualBox:~/T/redis$
use redis6.0.7
self manual edit 1066 row: oom-score-adj-values 0 200 800 restart redis server result ok!
Comment From: oranagra
Thanks for reporting. This is already resolved in 6.0.8. See https://github.com/redis/redis/pull/7761
Comment From: momomo
Link: https://redis.io/topics/config
Still includes the flawed config files leaving to a bunch of waste of time. Fix that too. What is the fix now? It is not clear. Comment out 'oom-score-adj no' ?
*** FATAL CONFIG FILE ERROR (Redis 6.0.6) *** Reading the configuration file, at line 1062
'oom-score-adj no' Bad directive or wrong number of arguments j@j-server-101:/c/configuration/redis/6/server
Comment From: IvanIvanyuk
@momomo I had similar problem in docker on Windows
Converting windows line endings to linux helped me
I did it by running in git-bash
dos2unix.exe redis.conf