# Unable to install logstash-input-jdbc to connect to Oracle Db

**URL:** https://discuss.elastic.co/t/unable-to-install-logstash-input-jdbc-to-connect-to-oracle-db/147035
**Category:** Logstash
**Created:** [September 3, 2018, 8:33am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-input-jdbc-to-connect-to-oracle-db/147035 "2018-09-03T08:33:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![groverjatin17](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/groverjatin17/32/34657_2.png) [@groverjatin17](https://discuss.elastic.co/u/groverjatin17)
#### Post date: [September 3, 2018, 8:33am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-input-jdbc-to-connect-to-oracle-db/147035/1 "2018-09-03T08:33:58Z")

</div>

Hi,

I am using ELK 6.2.4 for a while. Till now i have been uploading .csv files to create index in ES and create dashboards.  
But recently my team asked to make it more dynamic and automated as in connect to a database , fetch data and create index and dashboard. My only lead is this plugin for Logstash.

Since I am using ELK on a secure server where i couldn't directly install this plugin, so I downloaded it from [Github](https://github.com/logstash-plugins/logstash-input-jdbc) as a zip and tried installing with this command

`/bin/logstash-plugin install file:///path_of_the_file.zip`

It returned this error:-

**ERROR: Invalid pack for: file:///home/tomadm/logstash-input-jdbc-master.zip, reason: The pack must contains at least one plugin, message: The pack must contains at least one plugin**

Please help me solve this issue.

Thanks

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [September 3, 2018, 11:21am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-input-jdbc-to-connect-to-oracle-db/147035/2 "2018-09-03T11:21:44Z")

</div>

That method for offline installation of plugins doesn't work. See [https://www.elastic.co/guide/en/logstash/current/offline-plugins.html](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html).

---

<div class="post-metadata">

### Author: ![groverjatin17](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/groverjatin17/32/34657_2.png) [@groverjatin17](https://discuss.elastic.co/u/groverjatin17)
#### Post date: [September 3, 2018, 11:26am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-input-jdbc-to-connect-to-oracle-db/147035/3 "2018-09-03T11:26:18Z")

</div>

Hello sir. I did try this as well.

`

> ./bin/logstash-plugin prepare-offline-pack logstash-input-jdbc

`

It returned:-

\*\* **Failed to open TCP connection to [rubygems.org:443](http://rubygems.org:443/)**\*\*

I am assuming it means that it still requires to connect to [rubygems.org](http://rubygems.org) to install the dependencies.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [September 3, 2018, 11:48am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-input-jdbc-to-connect-to-oracle-db/147035/4 "2018-09-03T11:48:05Z")

</div>

Did you run the prepare-offline-pack command on an internet-connected host?

---

<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: [October 1, 2018, 11:48am UTC](https://discuss.elastic.co/t/unable-to-install-logstash-input-jdbc-to-connect-to-oracle-db/147035/5 "2018-10-01T11:48:09Z")

</div>

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