Skip to content

Instantly share code, notes, and snippets.

@toruuetani
Last active August 29, 2015 14:01
Show Gist options
  • Save toruuetani/26786ed316a6f3a0962d to your computer and use it in GitHub Desktop.
Save toruuetani/26786ed316a6f3a0962d to your computer and use it in GitHub Desktop.
rubyinstaller-2.0.0-p481 で fluentd -c fluent.conf -vv したときのエラーログ
* rubyinstaller-2.0.0-p481 を `C:\Ruby` にインストール
* DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe を解凍して、 ruby dk.rb init -> ruby dk.rb install
* gem install fluentd-0.10.42.gem
この時点の `C:\Ruby\lib\ruby\gems\2.0.0\gems` は以下の通り。
* cool.io-1.2.3-x86-mingw32
* ffi-1.9.3-x86-mingw32
* fluentd-0.10.42
* http_parser.rb-0.5.3-x86-mingw32
* msgpack-0.5.8-x86-mingw32
* rake-0.9.6
* rdoc-4.0.0
* test-unit-2.0.0.0
* win32-service-0.8.4
* yajl-ruby-1.2.0
* fluentd --setup fluent
* fluentd -c fluent\fluent.conf -vv
```
DL is deprecated, please use Fiddle
2014-05-12 09:29:20 +0900 [info]: fluent/supervisor.rb:195:supervise: starting fluentd-0.10.42
2014-05-12 09:29:20 +0900 [info]: fluent/supervisor.rb:196:supervise: is windows platform : true
2014-05-12 09:29:20 +0900 [info]: fluent/supervisor.rb:210:supervise: spawn command to main (windows) : C:/Ruby/bin/ruby.exe 'C:/Ruby/bin/fluentd' -c fluent\fluent.conf -vv -u
DL is deprecated, please use Fiddle
2014-05-12 09:29:21 +0900 [info]: fluent/supervisor.rb:195:supervise: starting fluentd-0.10.42
2014-05-12 09:29:21 +0900 [info]: fluent/supervisor.rb:196:supervise: is windows platform : true
2014-05-12 09:29:21 +0900 [info]: fluent/supervisor.rb:337:read_config: reading config file path="fluent\\fluent.conf"
2014-05-12 09:29:21 +0900 [trace]: fluent/plugin.rb:87:register_impl: registered buffer plugin 'file'
2014-05-12 09:29:21 +0900 [trace]: fluent/plugin.rb:87:register_impl: registered buffer plugin 'memory'
2014-05-12 09:29:21 +0900 [trace]: fluent/plugin.rb:87:register_impl: registered input plugin 'debug_agent'
2014-05-12 09:29:21 +0900 [trace]: fluent/plugin.rb:87:register_impl: registered input plugin 'exec'
2014-05-12 09:29:21 +0900 [trace]: fluent/plugin.rb:87:register_impl: registered input plugin 'forward'
2014-05-12 09:29:21 +0900 [trace]: fluent/plugin.rb:87:register_impl: registered input plugin 'gc_stat'
2014-05-12 09:29:21 +0900 [trace]: fluent/plugin.rb:87:register_impl: registered input plugin 'http'
C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- 2.0/ruby_http_parser (LoadError)
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-x86-mingw32/lib/ruby_http_parser.rb:2:in `<top (required)>'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-x86-mingw32/lib/http_parser.rb:2:in `<top (required)>'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-x86-mingw32/lib/http/parser.rb:1:in `<top (required)>'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/plugin/in_http.rb:24:in `<class:HttpInput>'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/plugin/in_http.rb:19:in `<module:Fluent>'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/plugin/in_http.rb:18:in `<top (required)>'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/plugin.rb:60:in `block in load_plugin_dir'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/plugin.rb:58:in `each'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/plugin.rb:58:in `load_plugin_dir'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/plugin.rb:52:in `load_plugins'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/engine.rb:46:in `init'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/supervisor.rb:385:in `init_engine'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/supervisor.rb:109:in `block in start'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/supervisor.rb:251:in `call'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/supervisor.rb:251:in `main_process'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/supervisor.rb:214:in `supervise'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/supervisor.rb:106:in `start'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/lib/fluent/command/fluentd.rb:198:in `<top (required)>'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from C:/Ruby/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from C:/Ruby/lib/ruby/gems/2.0.0/gems/fluentd-0.10.42/bin/fluentd:6:in `<top (required)>'
from C:/Ruby/bin/fluentd:23:in `load'
from C:/Ruby/bin/fluentd:23:in `<main>'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment