<?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 db connect to db2... in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/db-connect-to-db2/m-p/82071#M181887</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to connect to a DB2 db, via DB Connect and ODBC. I keep getting some generic error (see below). Has anyone seen this? Is there anything else that needs to be done when using ODBC?&lt;/P&gt;

&lt;P&gt;Encountered the following error while trying to save: In handler 'dbx-databases': Unknown error while validating database connection&lt;/P&gt;

&lt;P&gt;Edit:&lt;/P&gt;

&lt;P&gt;I noticed the following in th "Recent Java Bridge errors" search:&lt;/P&gt;

&lt;P&gt;3:37:00.942 PM  &lt;/P&gt;

&lt;P&gt;2013-07-02 15:37:00,942 DEBUG Error waiting for process: Java process returned error code 127! Error: Initializing Splunk context... Environment: SplunkEnvironment{SPLUNK_HOME=/apps/splunk/splunk,SPLUNK_DB=/apps/splunk/splunk/var/lib/splunk} Configuring Log4j... /apps/java/jdk1.7.0_10/bin/java: symbol lookup error: /apps/java/jdk1.7.0_10/jre/lib/amd64/libJdbcOdbc.so: undefined symbol: SQLAllocEnv &lt;/P&gt;

&lt;P&gt;It seemps to pop up whenever I try to establish this connection. &lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:13:46 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2020-09-28T14:13:46Z</dc:date>
    <item>
      <title>db connect to db2...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/db-connect-to-db2/m-p/82071#M181887</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to connect to a DB2 db, via DB Connect and ODBC. I keep getting some generic error (see below). Has anyone seen this? Is there anything else that needs to be done when using ODBC?&lt;/P&gt;

&lt;P&gt;Encountered the following error while trying to save: In handler 'dbx-databases': Unknown error while validating database connection&lt;/P&gt;

&lt;P&gt;Edit:&lt;/P&gt;

&lt;P&gt;I noticed the following in th "Recent Java Bridge errors" search:&lt;/P&gt;

&lt;P&gt;3:37:00.942 PM  &lt;/P&gt;

&lt;P&gt;2013-07-02 15:37:00,942 DEBUG Error waiting for process: Java process returned error code 127! Error: Initializing Splunk context... Environment: SplunkEnvironment{SPLUNK_HOME=/apps/splunk/splunk,SPLUNK_DB=/apps/splunk/splunk/var/lib/splunk} Configuring Log4j... /apps/java/jdk1.7.0_10/bin/java: symbol lookup error: /apps/java/jdk1.7.0_10/jre/lib/amd64/libJdbcOdbc.so: undefined symbol: SQLAllocEnv &lt;/P&gt;

&lt;P&gt;It seemps to pop up whenever I try to establish this connection. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/db-connect-to-db2/m-p/82071#M181887</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-28T14:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: db connect to db2...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/db-connect-to-db2/m-p/82072#M181888</link>
      <description>&lt;P&gt;This &lt;STRONG&gt;looks like&lt;/STRONG&gt; the JDK does not have the DB2 libraries in PATH / CLASSPATH.  You should not need to use JDBC -&amp;gt; ODBC -&amp;gt; DB2, as DB2 has a perfectly good "mode 4" (all Java code) driver that should work with DB connect without issue.  &lt;/P&gt;

&lt;P&gt;You will want the "IBM Data Server Driver for JDBC and SQLJ", which is (today at least) available from &lt;A href="http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217"&gt;http://www-01.ibm.com/support/docview.wss?rs=4020&amp;amp;uid=swg21385217&lt;/A&gt; .&lt;/P&gt;

&lt;P&gt;When using this driver, the JDBC connect string should be formatted similar to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;jdbc:db2://destination.db2.host.name.company.com:50001/DBNAME
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Jul 2013 20:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/db-connect-to-db2/m-p/82072#M181888</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2013-07-02T20:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: db connect to db2...</title>
      <link>https://community.splunk.com/t5/Splunk-Search/db-connect-to-db2/m-p/82073#M181889</link>
      <description>&lt;P&gt;Where does that go? In the gui?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 18:06:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/db-connect-to-db2/m-p/82073#M181889</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2013-07-15T18:06:15Z</dc:date>
    </item>
  </channel>
</rss>

