# Logstash-input-jdbc plugin will not install

**URL:** <https://discuss.elastic.co/t/logstash-input-jdbc-plugin-will-not-install/97369>\
**Category:** Logstash\
**Created:** [August 17, 2017, 9:09am UTC](https://discuss.elastic.co/t/logstash-input-jdbc-plugin-will-not-install/97369 "2017-08-17T09:09:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilpor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilpor/32/24043_2.png) [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Post date:** [August 17, 2017, 9:09am UTC](https://discuss.elastic.co/t/logstash-input-jdbc-plugin-will-not-install/97369/1 "2017-08-17T09:09:04Z")

</div>

0

down vote

favorite

I have elasticsearch 5.5.1 installed and running. I'm now trying to install logstash and required plugins to use against SQL Server. I'm trying to install the logstash-input-jdbc plugin but when I run the logstash plugin installer from powershell as admin (this is on windows server 2012 r2) I receive the following error:

**unable to download data from [https://rubygems.org](https://rubygems.org) - Errno::ECONNREFUSED: connection refused - connection refused ([https://api.rubygems.org/latest\_specs.4.8.gz](https://api.rubygems.org/latest_specs.4.8.gz))**

So I went to github and downloaded the plugin leaving it in it's zip form in my C:\downloads folder.

I then ran

> .\logstash-plugin install file:///C:/downloads/logstash-input-jdbc-master

and this time I get an error stating that it cant find the file. It's definitely in the specified place

if I add the file extension .zip to the end of the command I then get:

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

---

<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:** [August 17, 2017, 9:24am UTC](https://discuss.elastic.co/t/logstash-input-jdbc-plugin-will-not-install/97369/2 "2017-08-17T09:24:56Z")

</div>

If you don't have Internet access from your Logstash box 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:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 14, 2017, 9:25am UTC](https://discuss.elastic.co/t/logstash-input-jdbc-plugin-will-not-install/97369/3 "2017-09-14T09:25:01Z")

</div>

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