# Metricbeat error for pulling oracle database metrics with an oracle client

**URL:** <https://discuss.elastic.co/t/metricbeat-error-for-pulling-oracle-database-metrics-with-an-oracle-client/288094>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 31, 2021, 1:46pm UTC](https://discuss.elastic.co/t/metricbeat-error-for-pulling-oracle-database-metrics-with-an-oracle-client/288094 "2021-10-31T13:46:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsharath](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@nsharath](https://discuss.elastic.co/u/nsharath)\
**Post date:** [October 31, 2021, 1:46pm UTC](https://discuss.elastic.co/t/metricbeat-error-for-pulling-oracle-database-metrics-with-an-oracle-client/288094/1 "2021-10-31T13:46:31Z")

</div>

We are using the following software stack:-  
Server : RHEL6 (It has oracle client installed. I tried with both full client and thin client)  
beat : metricbeat-7.9.3-x86\_64  
database : Oracle 19 (not installed locally. RHEL6 can reach this server already as the application connects and works normally)

WHAT WORKS : Metricbeat is able to send the RHEL server (linux) metrics to Kibana and I am able to visualize the content.

WHAT DOES NOT WORKS : When i enable the "sql.yml" from the "modules" folder; then we immediately get the below error. This does not happen for RHEL7 and hence I wanted to know if there is a workaround for RHEL6?

ERROR:-

```auto
2021-10-13T15:17:42.566+0200 INFO module/wrapper.go:266 Error fetching data for metricset sql.query: error opening connection: testing connection: ORA-01804: Error while trying to retrieve text for error ORA-01804 **strong text**

```

This says its INFO but it actually is an Error as metrics from oracle database does not get fetched.

Kindly advise.

---

<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:** [November 28, 2021, 3:46pm UTC](https://discuss.elastic.co/t/metricbeat-error-for-pulling-oracle-database-metrics-with-an-oracle-client/288094/2 "2021-11-28T15:46:42Z")

</div>

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