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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...