<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DBConnect : Unable to connect to Oracle database Network Adaptor could not establish connection in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/673798#M80098</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have following setup.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Splunk HF running on 9.1.2&lt;/LI&gt;&lt;LI&gt;Splunk Dbconnect latest version - 3.15&lt;/LI&gt;&lt;LI&gt;Splunk DBX Add on for oracle DB JDBC - 2.2.0 ( has&amp;nbsp;&lt;SPAN class=""&gt;ojdbc8-21.7.0.0.jar)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Configured to use JRE from Oracle's Open jdk-18.0.2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Our Oracle database is running on 19c.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;I have re-loaded the driver. I have verified the connectivity from the Splunk HF server to DB server via telnet/curl and connection exists ( had to open firewall).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;However, when I try create a connection getting errors like "IO Error: Network Adapater could not establish connection) from the internal logs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Suspected, it could be an issue with jdbc driver, so downloaded "&lt;SPAN class=""&gt;ojdbc8-21.1.0.0.jar&lt;/SPAN&gt;&lt;SPAN class=""&gt;" from oracle and placed them under drivers folder within splunk_app_db_connect as well as in the lib folder within the DBX add-on. re-loaded the driver and I can see internal logs loading the new jar, but still same issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any pointers/thoughts to troubleshoot?&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;java.sql.SQLRecoverableException:&lt;/SPAN&gt; &lt;SPAN class=""&gt;IO&lt;/SPAN&gt; &lt;SPAN class=""&gt;Error:&lt;/SPAN&gt; &lt;SPAN class=""&gt;The&lt;/SPAN&gt; &lt;SPAN class=""&gt;Network&lt;/SPAN&gt; &lt;SPAN class=""&gt;Adapter&lt;/SPAN&gt; &lt;SPAN class=""&gt;could&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;establish&lt;/SPAN&gt; &lt;SPAN class=""&gt;the&lt;/SPAN&gt; &lt;SPAN class=""&gt;connection&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;CONNECTION_ID=5gNEcEZfSnyI6PN7r2LGog==&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.T4CConnection.handleLogonNetException&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;T4CConnection.java:892&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.T4CConnection.logon&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;T4CConnection.java:697&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.PhysicalConnection.connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;PhysicalConnection.java:1041&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.T4CDriverExtension.getConnection&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;T4CDriverExtension.java:89&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.OracleDriver.connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;OracleDriver.java:732&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.OracleDriver.connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;OracleDriver.java:648&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;com.splunk.dbx.service.driver.DelegatingDriver.connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;DelegatingDriver.java:25&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 21:49:56 GMT</pubDate>
    <dc:creator>lakshman239</dc:creator>
    <dc:date>2024-01-10T21:49:56Z</dc:date>
    <item>
      <title>DBConnect : Unable to connect to Oracle database Network Adaptor could not establish connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/673798#M80098</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have following setup.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Splunk HF running on 9.1.2&lt;/LI&gt;&lt;LI&gt;Splunk Dbconnect latest version - 3.15&lt;/LI&gt;&lt;LI&gt;Splunk DBX Add on for oracle DB JDBC - 2.2.0 ( has&amp;nbsp;&lt;SPAN class=""&gt;ojdbc8-21.7.0.0.jar)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Configured to use JRE from Oracle's Open jdk-18.0.2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Our Oracle database is running on 19c.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;I have re-loaded the driver. I have verified the connectivity from the Splunk HF server to DB server via telnet/curl and connection exists ( had to open firewall).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;However, when I try create a connection getting errors like "IO Error: Network Adapater could not establish connection) from the internal logs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Suspected, it could be an issue with jdbc driver, so downloaded "&lt;SPAN class=""&gt;ojdbc8-21.1.0.0.jar&lt;/SPAN&gt;&lt;SPAN class=""&gt;" from oracle and placed them under drivers folder within splunk_app_db_connect as well as in the lib folder within the DBX add-on. re-loaded the driver and I can see internal logs loading the new jar, but still same issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any pointers/thoughts to troubleshoot?&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;java.sql.SQLRecoverableException:&lt;/SPAN&gt; &lt;SPAN class=""&gt;IO&lt;/SPAN&gt; &lt;SPAN class=""&gt;Error:&lt;/SPAN&gt; &lt;SPAN class=""&gt;The&lt;/SPAN&gt; &lt;SPAN class=""&gt;Network&lt;/SPAN&gt; &lt;SPAN class=""&gt;Adapter&lt;/SPAN&gt; &lt;SPAN class=""&gt;could&lt;/SPAN&gt; &lt;SPAN class=""&gt;not&lt;/SPAN&gt; &lt;SPAN class=""&gt;establish&lt;/SPAN&gt; &lt;SPAN class=""&gt;the&lt;/SPAN&gt; &lt;SPAN class=""&gt;connection&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN class=""&gt;CONNECTION_ID=5gNEcEZfSnyI6PN7r2LGog==&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.T4CConnection.handleLogonNetException&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;T4CConnection.java:892&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.T4CConnection.logon&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;T4CConnection.java:697&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.PhysicalConnection.connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;PhysicalConnection.java:1041&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.T4CDriverExtension.getConnection&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;T4CDriverExtension.java:89&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.OracleDriver.connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;OracleDriver.java:732&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;oracle.jdbc.driver.OracleDriver.connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;OracleDriver.java:648&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;com.splunk.dbx.service.driver.DelegatingDriver.connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;DelegatingDriver.java:25&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 21:49:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/673798#M80098</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2024-01-10T21:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect : Unable to connect to Oracle database Network Adaptor could not establish connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/679145#M80283</link>
      <description>&lt;P&gt;Answering my query, as I hope this could help others.&lt;/P&gt;&lt;P&gt;The oracle 19c RAC database had SCAN address (&amp;nbsp;&lt;EM&gt;Single Client Access Name&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;) and needed additional firewall rules from the splunk servers to actual physical oracle servers, as the jdbc driver in dbconnect needs access to it to establish connection. Once firewall rules are implemented, dbconnect worked.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 15:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/679145#M80283</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2024-02-29T15:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect : Unable to connect to Oracle database Network Adaptor could not establish connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/680569#M80358</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/177803"&gt;@lakshman239&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for the info.&lt;BR /&gt;Can you provide some more insights? What are the additional rules?&lt;BR /&gt;&lt;BR /&gt;I have a similar request and I am able to telnet on 1521 port from splunk, but still the connectivity says it is blocked by firewall while submitting..&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 15:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/680569#M80358</guid>
      <dc:creator>viku7474</dc:creator>
      <dc:date>2024-03-13T15:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect : Unable to connect to Oracle database Network Adaptor could not establish connection</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/681827#M80388</link>
      <description>&lt;P&gt;The firewall request from the splunk server (e.g. HF) should be both to the actual database physical host/IPs and&amp;nbsp; the SCAN host/IP server. ( if using this in the tns listener files). In a RAC setup there may be multiple IP/host, so you would need access to all of them from splunk server. Another test would be to run a nslookup on the scan ip/hostname/FQDN and if it return multiple IPs/host, submit firewall req for them as well.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 09:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DBConnect-Unable-to-connect-to-Oracle-database-Network-Adaptor/m-p/681827#M80388</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2024-03-25T09:25:09Z</dc:date>
    </item>
  </channel>
</rss>

