# Oracle DB engine setup errors

**URL:** <https://discuss.hashicorp.com/t/oracle-db-engine-setup-errors/47697>\
**Category:** Vault\
**Created:** [December 6, 2022, 8:01pm UTC](https://discuss.hashicorp.com/t/oracle-db-engine-setup-errors/47697 "2022-12-06T20:01:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![veeresh.kory](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/veeresh.kory/32/25256_2.png) [@veeresh.kory](https://discuss.hashicorp.com/u/veeresh.kory)\
**Post date:** [December 6, 2022, 8:01pm UTC](https://discuss.hashicorp.com/t/oracle-db-engine-setup-errors/47697/1 "2022-12-06T20:01:07Z")

</div>

Hi, am new to Vault and trying to setup DB secrets engine with Oracle plugin. But noticing the below error, searched on google but couldn’t find much. Hoping to find useful info here, before raising a case with hashicorp.

```auto
[user@server plugin_directory]$ vault plugin register -sha256="4b2034feb30fec6420db53bb02c6bf860a0c8ba825f141df36e2fa20ed897f7f" database vault-plugin-database-oracle
Success! Registered plugin: vault-plugin-database-oracle

[user@server plugin_directory]$ vault write database/config/DBServer plugin_name=vault-plugin-database-oracle connection_url="{{username}}/{{password}}@DBHost:1521/OraDoc.localhost" allowed_roles="vault-role" username="dbuser" password="dbpwd"
Error writing data to database/config/DBServer: Error making API request.

URL: PUT https://dcev-vault:9200/v1/database/config/DBServer
Code: 400. Errors:

* error creating database object: invalid database version: 2 errors occurred:
        * checksums did not match
        * checksums did not match

```

We are on Vault v1.10, and using the latest 0.7.0 Oracle DB plugin. And ensured the SHA used in the above vault write command matches with the downloaded SHA value from oracle plugin v0.7.0

---

<div class="post-metadata">

**Author:** ![brian.allen](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/brian.allen/32/17028_2.png) [@brian.allen](https://discuss.hashicorp.com/u/brian.allen)\
**Post date:** [February 8, 2023, 10:19pm UTC](https://discuss.hashicorp.com/t/oracle-db-engine-setup-errors/47697/2 "2023-02-08T22:19:52Z")

</div>

Did you ever get this error resolved. I am coming across the same issue.  
Thanks

---

<div class="post-metadata">

**Author:** ![veeresh.kory](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/veeresh.kory/32/25256_2.png) [@veeresh.kory](https://discuss.hashicorp.com/u/veeresh.kory)\
**Post date:** [February 8, 2023, 11:06pm UTC](https://discuss.hashicorp.com/t/oracle-db-engine-setup-errors/47697/3 "2023-02-08T23:06:48Z")

</div>

Yes, we were able to resolve it. The sha256 key can be downloaded from the directory where the plugin is downloaded from.

`$ vault plugin register -sha256=` `"b17856c5465dd687f2b1805ec3b7b18facaffd82073ba05bb12120b965a3285d"` `database vault-plugin-database-oracle`

Once done, I had to export the LD\_LIBRARY\_PATH to the location where instantclient was downloaded to.

export LD\_LIBRARY\_PATH=/vault/plugin/instantclient\_21\_8`

Restart Vault and then you should be good to proceed with next steps.
