我有点怀疑你在刷屏

logstash使用geoip插件时报错

Logstash | 作者 dayi123 | 发布于2017年12月26日 | 阅读数:3144

在测试环境中geoip插件可正常使用,上生产环境后,运行出现如下问题,各位大神该如何解决,
 
14:06:43.347 [LogStash::Runner] FATAL logstash.runner - An unexpected error occurred! {:error=>#<NoMethodError: undefined method `call' for nil:NilClass>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-redis-3.1.2/lib/logstash/inputs/redis.rb:100:in `stop'", "/usr/share/logstash/logstash-core/lib/logstash/inputs/base.rb:89:in `do_stop'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:468:in `shutdown'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:417:in `stop_pipeline'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:433:in `shutdown_pipelines'", "org/jruby/RubyHash.java:1342:in `each'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:433:in `shutdown_pipelines'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:139:in `shutdown'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:279:in `execute'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:183:in `run'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/usr/share/logstash/lib/bootstrap/environment.rb:71:in `(root)'"]}
 
 
 
 
 
 
已邀请:

dayi123

赞同来自:

找到原因呢,时数据库的问题,数据库文件损坏了,重新下载了一个数据库好了

zthua

赞同来自:

我也报这个 ,我重新下个试试 
奇怪了  

要回复问题请先登录注册