你好在ubuntu当我试图运行这个redis语法收到以下错误:
davy@davy-Aspire-E5-476G:~/7002$ redis-server n2_redis.conf &
[1] 7118
davy@davy-Aspire-E5-476G:~/7002$
*** FATAL CONFIG FILE ERROR (Redis 6.0.16) ***
Reading the configuration file, at line 2
>>> 'cluster_enabled yes'
Bad directive or wrong number of arguments
^C
[1]+ Exit 1 redis-server n2_redis.conf
字符串
知道如何修复这些错误信息吗?
davy@davy-Aspire-E5-476G:~/7002$ head n2_redis.conf
port 7002
cluster_enabled yes
cluster_config_file nodes.conf
cluster_node_timeout 5000
appendonly yes
型
1条答案
按热度按时间pw9qyyiw1#
如果你看Redis configuration file example,你应该有破折号
-
,而不是下划线_
为您的所有配置:字符串