Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
fluent-debug command fail to start.
To Reproduce
Execute below command after start fluentd
$ bundle exec fluentd -c ./example/debug.conf &
$ bundle exec fluent-debug
Expected behavior
Start fluent-debug command.
Your Environment
$ bundle exec fluentd --version
fluentd 1.10.1
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
$ uname -r
4.4.0-177-generic
If you hit the problem with older fluentd version, try latest version first.
Your Configuration
$ cat ./example/debug.conf
<source>
type debug_agent
bind 127.0.0.1
port 24230
</source>
<match>
@type stdout
</match>
Your Error Log
bundler: failed to load command: fluent-debug (/opt/fluentd/vendor/bundle/ruby/2.4.0/bin/fluent-debug)
NoMethodError: undefined method `windows?' for Fluent:Module
/opt/fluentd/lib/fluent/plugin_helper/socket.rb:20:in `<top (required)>'
/opt/fluentd/lib/fluent/plugin_helper.rb:28:in `require'
/opt/fluentd/lib/fluent/plugin_helper.rb:28:in `<top (required)>'
/opt/fluentd/lib/fluent/plugin/filter.rb:22:in `require'
/opt/fluentd/lib/fluent/plugin/filter.rb:22:in `<top (required)>'
/opt/fluentd/lib/fluent/compat/filter.rb:18:in `require'
/opt/fluentd/lib/fluent/compat/filter.rb:18:in `<top (required)>'
/opt/fluentd/lib/fluent/filter.rb:17:in `require'
/opt/fluentd/lib/fluent/filter.rb:17:in `<top (required)>'
/opt/fluentd/lib/fluent/event_router.rb:19:in `require'
/opt/fluentd/lib/fluent/event_router.rb:19:in `<top (required)>'
/opt/fluentd/lib/fluent/engine.rb:19:in `require'
/opt/fluentd/lib/fluent/engine.rb:19:in `<top (required)>'
/opt/fluentd/lib/fluent/command/debug.rb:64:in `require'
/opt/fluentd/lib/fluent/command/debug.rb:64:in `<top (required)>'
/opt/fluentd/bin/fluent-debug:5:in `require'
/opt/fluentd/bin/fluent-debug:5:in `<top (required)>'
/opt/fluentd/vendor/bundle/ruby/2.4.0/bin/fluent-debug:22:in `load'
/opt/fluentd/vendor/bundle/ruby/2.4.0/bin/fluent-debug:22:in `<top (required)>'
Additional context
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
fluent-debug command fail to start.
To Reproduce
Execute below command after start fluentd
Expected behavior
Start fluent-debug command.
Your Environment
If you hit the problem with older fluentd version, try latest version first.
Your Configuration
Your Error Log
Additional context