# ERROR: A plugin had an unrecoverable error. Will restart this plugin

**URL:** https://discuss.elastic.co/t/error-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/206515
**Category:** Logstash
**Created:** [November 5, 2019, 4:27am UTC](https://discuss.elastic.co/t/error-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/206515 "2019-11-05T04:27:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sagar\_Mandal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagar_mandal/32/57073_2.png) [@Sagar\_Mandal](https://discuss.elastic.co/u/Sagar_Mandal)
#### Post date: [November 5, 2019, 4:27am UTC](https://discuss.elastic.co/t/error-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/206515/1 "2019-11-05T04:27:33Z")

</div>

Hi sagar this side.  
I have installed all three Elastic search, kibana and logstash in my redhat, for practice purposes.  
I'm try to connect to oracle database in my network, and have used ojdbc7.jar for that, all my services are running and are up but I'm unable to fetch data from oracle database to my logstash.  
I'm using Elastic stack 7.4.3.

this is my logstash config. file  
\<input{  
jdbc{  
jdbc\_validate\_connection =\> true  
jdbc\_driver\_library =\> "/root/Downloads/oracledriver/ojdbc7.jar"  
jdbc\_driver\_class =\> "Java::oracle.jdbc.driver.OracleDriver"  
jdbc\_connection\_string =\> "jdbc:oracle:thin@:192.168.0.211:1521/orclpdb.genx.com"  
jdbc\_user =\> "testdb"  
jdbc\_password =\> "Welcome1"  
statement =\> "SELECT \* FROM emp"  
}  
}

output  
{  
elasticsearch  
{  
index =\> "employess"  
hosts =\> "localhost:9200"  
}  
}

> 

and i'm getting of this continuous error when i check my logs in /var/logs/logstash

[2019-11-04T07:33:04,011][ERROR][logstash.javapipeline][test] A plugin had an unrecoverable error. Will restart this plugin.

kindly do provide solution if possible.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 5, 2019, 6:05am UTC](https://discuss.elastic.co/t/error-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/206515/2 "2019-11-05T06:05:02Z")

</div>

Please show more of the log so we can see the line you posted in context.

> [@Sagar\_Mandal](#):
>
> \<input{

Is this actually in your config file?

---

<div class="post-metadata">

### Author: ![Sagar\_Mandal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagar_mandal/32/57073_2.png) [@Sagar\_Mandal](https://discuss.elastic.co/u/Sagar_Mandal)
#### Post date: [November 5, 2019, 7:21am UTC](https://discuss.elastic.co/t/error-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/206515/3 "2019-11-05T07:21:27Z")

</div>

Thank you for the support but i managed to fix the problem by replacing the ojdbc driver with a compatible ojdbc driverand also i made a small error in my config. file. also i did placed my driver in the root directory then i moved it to /etc/logstash.  
then i checked my logs with grep ERROR and i found no errors.

---

<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: [December 3, 2019, 7:21am UTC](https://discuss.elastic.co/t/error-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/206515/4 "2019-12-03T07:21:28Z")

</div>

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