File not readable (please check user and group permissions for the path)

im using docker-compose and suddenly logstash now unable to read the driver, but driver is in mounted folder inside the container with full read write permissions. whats possible the problem?

logstash_1    |   Error: unable to load /opt/cls/drivers/ojdbc7.jar from :jdbc_driver_library, file not readable (please check user and group permissions for the path)
logstash_1    |   Exception: LogStash::PluginLoadingError
logstash_1    |   Stack: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-integration-jdbc-5.0.6/lib/logstash/plugin_mixins/jdbc/common.rb:47:in `block in load_driver_jars'
logstash_1    | org/jruby/RubyArray.java:1809:in `each'
logstash_1    | /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-integration-jdbc-5.0.6/lib/logstash/plugin_mixins/jdbc/common.rb:42:in `load_driver_jars'
logstash_1    | /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-integration-jdbc-5.0.6/lib/logstash/plugin_mixins/jdbc/common.rb:25:in `load_driver'
logstash_1    | /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-integration-jdbc-5.0.6/lib/logstash/inputs/jdbc.rb:275:in `run'
logstash_1    | /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:378:in `inputworker'
logstash_1    | /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:369:in `block in start_input'
logstash_1    | [2020-10-15T04:27:59,425][ERROR][logstash.javapipeline    ][m_jdbc][2ba59a8996c94f5e2bf594d454eaf20a24a2e7f765205d242caa19689c2c6453] A plugin had an unrecoverable error. Will restart this plugin.

What's the user running logstash ? It looks like you're using jdbc plugin maybe you have authentication problems ? it might be useful to double check credentials.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.