# Oracle 32bit on 64bit machine

**URL:** <https://discuss.elastic.co/t/oracle-32bit-on-64bit-machine/289301>\
**Category:** Metrics\
**Created:** [November 16, 2021, 10:46am UTC](https://discuss.elastic.co/t/oracle-32bit-on-64bit-machine/289301 "2021-11-16T10:46:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sc19](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@sc19](https://discuss.elastic.co/u/sc19)\
**Post date:** [November 16, 2021, 10:46am UTC](https://discuss.elastic.co/t/oracle-32bit-on-64bit-machine/289301/1 "2021-11-16T10:46:05Z")

</div>

Hello everyone,  
I have 32 bit two instances ORACLE database (test and production) on Microsoft Windows Server 2019 (64bit), and I want to install metricbeat service on that machine, but after instalation process, I've got log:  
INFO module/wrapper.go:266 Error fetching data for metricset oracle.tablespace: error creating connection to Oracle: error doing ping to database: ORA-00000: DPI-1047: Cannot locate a 64-bit Oracle Client library: "C:\app\client\product\19.0.0\client\_1\bin\oci.dll is not the correct architecture". See [ODPI-C Installation — ODPI-C v4.3.0](https://oracle.github.io/odpi/doc/installation.html#windows) for help

After install 64bit OCI I've got information, that Oracle database is 32bit, and there is no chance to connect. Is there any chance to connect to oracle from service metricbeats on that system ?

(BTW, I've tried install 32bit metricbeats on that system, but after command:  
metricbeat.exe enable oracle  
I've got reply:  
Failed to initialize: trying to run 32Bit binary on 64Bit system

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [November 16, 2021, 11:33am UTC](https://discuss.elastic.co/t/oracle-32bit-on-64bit-machine/289301/2 "2021-11-16T11:33:26Z")

</div>

Hi,

Your first way should be correct: Install the 64Bit MetricBeat binaries and the 64Bit Oracle Client.

Which error do you get?

Best regards  
Wolfram

---

<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 14, 2021, 11:33am UTC](https://discuss.elastic.co/t/oracle-32bit-on-64bit-machine/289301/3 "2021-12-14T11:33:42Z")

</div>

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