gpt4 book ai didi

ruby - (错误)ERR 未知命令 'debug'

转载 作者:IT王子 更新时间:2023-10-29 05:59:49 24 4
gpt4 key购买 nike

Redis版本:redis_version:2.8.19

我正在尝试启动此工具:https://github.com/snmaynard/redis-audit但它失败并出现以下错误:

/var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/pipeline.rb:129:in `value': ERR unknown command 'debug' (Redis::CommandError)
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/pipeline.rb:121:in `_set'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/pipeline.rb:67:in `block in finish'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/pipeline.rb:66:in `each'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/pipeline.rb:66:in `each_with_index'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/pipeline.rb:66:in `each'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/pipeline.rb:66:in `map'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/pipeline.rb:66:in `finish'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/client.rb:157:in `block in call_pipeline'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/client.rb:293:in `with_reconnect'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis/client.rb:155:in `call_pipeline'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis.rb:2258:in `block in pipelined'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis.rb:58:in `block in synchronize'
from /usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis.rb:58:in `synchronize'
from /var/lib/gems/2.1.0/gems/redis-3.3.2/lib/redis.rb:2254:in `pipelined'
from ./redis-audit.rb:120:in `audit_key'
from ./redis-audit.rb:99:in `block in audit_keys'
from ./redis-audit.rb:97:in `times'
from ./redis-audit.rb:97:in `audit_keys'
from ./redis-audit.rb:356:in `<main>'

当我从 redis-cli 执行调试对象命令时,我得到了同样的错误:

(error) ERR unknown command 'debug'

谁能告诉我如何修复它?

最佳答案

Redis 作为 Amazon ElastiCache 节点运行,因此调试命令因 http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/ClientConfig.RestrictedCommands.html 而受到限制

关于ruby - (错误)ERR 未知命令 'debug',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40996500/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com