Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: "Couldn't find any input plugin named 'file'. Are you sure this is correct? Trying to load the file input plugin resulted in this error: Function 'GetFileInformationByHandleEx' not found in [kernel32]" #242

Open
YouDianLengDeXiaoHuoZi opened this issue Jul 5, 2019 · 0 comments

Comments

@YouDianLengDeXiaoHuoZi
Copy link

When I start logstash6.4.0 on Windows Server 2003, there is a error, like:

[2019-07-05T08:15:45,718][ERROR][logstash.plugins.registry] Tried to load a plugin's code, but failed. {:exception=>#<FFI::NotFoundError: Function 'GetFileInformationByHandleEx' not found in [kernel32]>, :path=>"logstash/inputs/file", :type=>"input", :name=>"file"}
[2019-07-05T08:15:45,750][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::PluginLoadingError", :message=>"Couldn't find any input plugin named 'file'. Are you sure this is correct? Trying to load the file input plugin resulted in this error: Function 'GetFileInformationByHandleEx' not found in [kernel32]", :backtrace=>["C:/logstash/logstash-6.4.0/logstash-core/lib/logstash/plugins/registry.rb:211:in lookup_pipeline_plugin'", "C:/logstash/logstash-6.4.0/logstash-core/lib/logstash/plugin.rb:137:in lookup'", "org/logstash/plugins/PluginFactoryExt.java:210:in plugin'", "org/logstash/plugins/PluginFactoryExt.java:166:in plugin'", "C:/logstash/logstash-6.4.0/logstash-core/lib/logstash/pipeline.rb:71:in plugin'", "(eval):8:in '", "org/jruby/RubyKernel.java:994:in eval'", "C:/logstash/logstash-6.4.0/logstash-core/lib/logstash/pipeline.rb:49:in initialize'", "C:/logstash/logstash-6.4.0/logstash-core/lib/logstash/pipeline.rb:90:in initialize'", "C:/logstash/logstash-6.4.0/logstash-core/lib/logstash/pipeline_action/create.rb:38:in execute'", "C:/logstash/logstash-6.4.0/logstash-core/lib/logstash/agent.rb:309:in `block in converge_state'"]}

Could anyone help me? thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant