# Logstash fails to run by exception (EINVAL) Invalid argument - /usr/share/logstash/vendor/bundle/jruby/2.5.0/specifications/simple\_oauth-0.3.1.gemspec

**URL:** <https://discuss.elastic.co/t/logstash-fails-to-run-by-exception-einval-invalid-argument-usr-share-logstash-vendor-bundle-jruby-2-5-0-specifications-simple-oauth-0-3-1-gemspec/213521>\
**Category:** Logstash\
**Created:** [January 2, 2020, 7:17am UTC](https://discuss.elastic.co/t/logstash-fails-to-run-by-exception-einval-invalid-argument-usr-share-logstash-vendor-bundle-jruby-2-5-0-specifications-simple-oauth-0-3-1-gemspec/213521 "2020-01-02T07:17:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajmeera\_Suresh](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Ajmeera\_Suresh](https://discuss.elastic.co/u/Ajmeera_Suresh)\
**Post date:** [January 2, 2020, 7:17am UTC](https://discuss.elastic.co/t/logstash-fails-to-run-by-exception-einval-invalid-argument-usr-share-logstash-vendor-bundle-jruby-2-5-0-specifications-simple-oauth-0-3-1-gemspec/213521/1 "2020-01-02T07:17:53Z")

</div>

Hi All

I have followed almost every link in this community and all over, still not able to get Cassandra data to logstash using jdbc input plugin.

I have downloaded cassandraJdbcDriver.zip from DBSchema. and unzip the folder and copied all the jar's into $LOGSTASH\_HOME/logstash-core/lib/jars folder with permission. Here logstash, Elasticsearch and cassandra running on my local machine. The drivers are also on my local machine.

Logstash - 7.3.2  
Elasticsearch - 7.3.2  
Cassandra - 3.11.4  
CassandraJdbcDriver1.2.jar (From DBSchema)

Iam not able to run the logstash due the following error.

`[ERROR] 2019-12-31 18:52:30.755 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (EINVAL) Invalid argument - /usr/share/logstash/vendor/bundle/jruby/2.5.0/specifications/simple_oauth-0.3.1.gemspec`

Please help me solve it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 30, 2020, 7:18am UTC](https://discuss.elastic.co/t/logstash-fails-to-run-by-exception-einval-invalid-argument-usr-share-logstash-vendor-bundle-jruby-2-5-0-specifications-simple-oauth-0-3-1-gemspec/213521/2 "2020-01-30T07:18:02Z")

</div>

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