'bind'不将Fixnum隐式转换为String(TypeError)

时间:2019-07-02 18:54:20

标签: ruby snmp

当我尝试执行 Palallax_run.sh

时出现此错误
  

/usr/local/rvm/gems/ruby-2.1.0/gems/snmp-1.3.2/lib/snmp/manager.rb:544:in   bind':不将Fixnum隐式转换为String(TypeError)           来自/usr/local/rvm/gems/ruby-2.1.0/gems/snmp-1.3.2/lib/snmp/manager.rb:544:in   初始化'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/snmp-1.3.2/lib/snmp/manager.rb:590:in   新'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/snmp-1.3.2/lib/snmp/manager.rb:590:in   create_transport'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/snmp-1.3.2/lib/snmp/manager.rb:622:in   初始化'           从/usr/local/rvm/gems/ruby-2.1.0/gems/fluent-plugin-snmptrap-0.0.1/lib/fluent/plugin/in_snmptrap.rb:20:in   新'           从/usr/local/rvm/gems/ruby-2.1.0/gems/fluent-plugin-snmptrap-0.0.1/lib/fluent/plugin/in_snmptrap.rb:20:in   配置'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/plugin.rb:164:in   配置'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/root_agent.rb:320:in   add_source”           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/root_agent.rb:160:in   阻止配置”           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/root_agent.rb:156:in   每'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/root_agent.rb:156:in   配置'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/engine.rb:131:in   配置'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/engine.rb:96:in   run_configure'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/supervisor.rb:804:in   run_configure'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/supervisor.rb:581:in   dry_run'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/supervisor.rb:599:in   监督'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/supervisor.rb:504:in   run_supervisor'           从/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/lib/fluent/command/fluentd.rb:314:in   '           来自/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in require'           来自/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in require'           来自/usr/local/rvm/gems/ruby-2.1.0/gems/fluentd-1.6.0/bin/fluentd:8:in   '           从/usr/local/rvm/gems/ruby-2.1.0/bin/fluentd:23:in load'           来自/usr/local/rvm/gems/ruby-2.1.0/bin/fluentd:23:in'           从/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:24:in eval'           从/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:24:in   'Elasticsearch堆内存大小:3910 MB

0 个答案:

没有答案