Getting Data In

DB Connect: Why am I getting error "The Network Adapter could not establish the connection" trying to add an Oracle database?

nanaruru12
New Member

Hi
Im trying to use DB Connect
Now I'm adding new external databases

Database type is Oracle
and i chose Transaction Isolation Level DATABASE_SETTING
Host is localhost

i added oracle user 'test' and i put Database full path
(already added oracle user 'test' )

when i clicked SAVE
i got this error message

Encountered the following error while trying to save: In handler 'databases': Error connecting to database: java.sql.SQLException: The Network Adapter could not establish the connection

i can't figure it out
Anybody have idea?
Thanks for your help

0 Karma

pmdba
Builder

Not sure what you mean by "path to the database". DB Connect uses JDBC; JDBC will require a hostname (localhost in your case), a port number (generally 1521), and a service name or Oracle SID to identify the actual database. All of that information can be obtained from the Oracle lsnrctl command: "lsnrctl status" run as the oracle user on the *NIX database host (or as a Windows administrator on a Windows server). For a complete step-by-step guide to configuring Splunk and DB Connect for Oracle, check out this add-on: Real-Time Oracle 11g Log File Analysis

You may also need to verify that any local host firewall is configured to allow connections to the Oracle Listener.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...