<?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 Re: I have an odd problem with db_connect in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507575#M62344</link>
    <description>Have you verified you have the correct driver for your DB?&lt;BR /&gt;See if this helps: &lt;A href="https://arjunkrajan.wordpress.com/tag/splunk/" target="_blank"&gt;https://arjunkrajan.wordpress.com/tag/splunk/&lt;/A&gt;</description>
    <pubDate>Mon, 06 Jul 2020 14:26:05 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-07-06T14:26:05Z</dc:date>
    <item>
      <title>db_connect: Why an error when trying to query basic select?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507289#M62313</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have an odd problem with db_connect :&lt;BR /&gt;My connection is ok&lt;/P&gt;
&lt;P&gt;I can see the database and the tables but when i try to query (basic select) i have an error&lt;/P&gt;
&lt;P&gt;Error in 'dbxquery' command: External search command exited unexpectedly with non-zero error code 1.&lt;BR /&gt;The search job has failed due to an error. You may be able view the job in the Job Inspector.&lt;/P&gt;
&lt;P&gt;My query is&lt;/P&gt;
&lt;P&gt;| dbxquery query="select * from aps.notifications " connection="PE"&lt;/P&gt;
&lt;P&gt;even select 1 from dual doesn't work&lt;/P&gt;
&lt;P&gt;Database : Oracle&lt;BR /&gt;User : root privileges&lt;BR /&gt;Splunk 7.0.0&lt;BR /&gt;DB connect 3.1.4&lt;BR /&gt;App Build 43&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 17:50:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507289#M62313</guid>
      <dc:creator>jotaforense</dc:creator>
      <dc:date>2023-08-21T17:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: I have an odd problem with db_connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507298#M62317</link>
      <description>Verify you have the right driver installed for your target DB.&lt;BR /&gt;Check the search log (via job inspector) to see what details, if any, are reported about the error.</description>
      <pubDate>Fri, 03 Jul 2020 20:01:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507298#M62317</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-03T20:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: I have an odd problem with db_connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507301#M62318</link>
      <description>&lt;P&gt;can i send the log?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 20:31:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507301#M62318</guid>
      <dc:creator>jotaforense</dc:creator>
      <dc:date>2020-07-03T20:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: I have an odd problem with db_connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507359#M62324</link>
      <description>You can post logs fragments here, but don't submit the entire search log as it is too large and probably contains private information. Just post the relevant entries.</description>
      <pubDate>Sat, 04 Jul 2020 17:23:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507359#M62324</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-04T17:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: I have an odd problem with db_connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507542#M62341</link>
      <description>&lt;P&gt;look at the error log&lt;BR /&gt;the server name has been replaced.&lt;/P&gt;&lt;P&gt;[]&lt;/P&gt;&lt;P&gt;07-03-2020 13:10:28.195 ERROR ChunkedExternProcessor - stderr: 13:10:28.194 111194@vukoo-br [main] INFO c.splunk.dbx.utils.TrustManagerUtil - action=load_key_manager_succeed&lt;BR /&gt;.....&lt;/P&gt;&lt;P&gt;07-03-2020 13:10:28.341 ERROR ChunkedExternProcessor - stderr: 13:10:28.337 111194@vukoo-br [main] WARN com.splunk.dbx.message.MessageEnum - action=initialize_resource_bundle_files error=Can't find bundle for base name Messages, locale en_US&lt;BR /&gt;07-03-2020 13:10:29.073 ERROR ChunkedExternProcessor - stderr: 13:10:29.073 111194@vukoo-br [main] WARN c.s.d.s.driver.DriverServiceImpl - action=load_drivers Can not load any driver from files [/opt/splunk/etc/apps/splunk_app_db_connect/drivers/sqljdbc42.jar]&lt;BR /&gt;07-03-2020 13:10:29.074 ERROR ChunkedExternProcessor - stderr: 13:10:29.074 111194@vukoo-br [main] WARN c.s.d.s.driver.DriverServiceImpl - action=load_drivers Can not load any driver from files [/opt/splunk/etc/apps/splunk_app_db_connect/drivers/sqljdbc41.jar]&lt;BR /&gt;07-03-2020 13:10:29.087 ERROR ChunkedExternProcessor - stderr: 13:10:29.087 111194@vukoo-br [main] INFO c.s.d.s.driver.DriverServiceImpl - action=register_driver driver=oracle.jdbc.OracleDriver 11.2 succeeded&lt;BR /&gt;07-03-2020 13:10:29.087 ERROR ChunkedExternProcessor - stderr: 13:10:29.087 111194@vukoo-br [main] INFO c.s.d.s.driver.DriverServiceImpl - action=load_drivers spent 79 ms to rescan all jdbc drivers&lt;BR /&gt;07-03-2020 13:10:29.141 ERROR ChunkedExternProcessor - stderr: 13:10:29.138 111281@vukoo-br [main] INFO c.splunk.dbx.utils.TrustManagerUtil - action=load_key_manager_succeed&lt;BR /&gt;07-03-2020 13:10:29.152 ERROR ChunkedExternProcessor - stderr: 13:10:29.149 111194@vukoo-br [main] INFO c.s.dbx.connector.ConnectorFactory - action=collect_connection_pool_metrics interval_in_seconds=60&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;07-03-2020 13:10:29.245 ERROR ChunkedExternProcessor - stderr: 13:10:29.244 111281@vukoo-br [main] WARN com.splunk.dbx.message.MessageEnum - action=initialize_resource_bundle_files error=Can't find bundle for base name Messages, locale en_US&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;07-03-2020 13:10:29.775 ERROR ChunkedExternProcessor - stderr: 13:10:29.774 111315@vukoo-br [main] INFO c.splunk.dbx.utils.TrustManagerUtil - action=load_key_manager_succeed&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;07-03-2020 13:10:29.877 ERROR ChunkedExternProcessor - stderr: 13:10:29.876 111315@vukoo-br [main] WARN com.splunk.dbx.message.MessageEnum - action=initialize_resource_bundle_files error=Can't find bundle for base name Messages, locale en_US&lt;BR /&gt;07-03-2020 13:10:30.310 ERROR ChunkedExternProcessor - stderr: 13:10:30.310 111315@vukoo-br [main] WARN c.s.d.s.driver.DriverServiceImpl - action=load_drivers Can not load any driver from files [/opt/splunk/etc/apps/splunk_app_db_connect/drivers/sqljdbc42.jar]&lt;BR /&gt;07-03-2020 13:10:30.311 ERROR ChunkedExternProcessor - stderr: 13:10:30.311 111315@vukoo-br [main] WARN c.s.d.s.driver.DriverServiceImpl - action=load_drivers Can not load any driver from files [/opt/splunk/etc/apps/splunk_app_db_connect/drivers/sqljdbc41.jar]&lt;BR /&gt;07-03-2020 13:10:30.325 ERROR ChunkedExternProcessor - stderr: 13:10:30.320 111315@vukoo-br [main] INFO c.s.d.s.driver.DriverServiceImpl - action=register_driver driver=oracle.jdbc.OracleDriver 11.2 succeeded&lt;BR /&gt;07-03-2020 13:10:30.325 ERROR ChunkedExternProcessor - stderr: 13:10:30.320 111315@vukoo-br [main] INFO c.s.d.s.driver.DriverServiceImpl - action=load_drivers spent 63 ms to rescan all jdbc drivers&lt;BR /&gt;07-03-2020 13:10:30.390 ERROR ChunkedExternProcessor - stderr: 13:10:30.389 111315@vukoo-br [main] INFO c.s.dbx.connector.ConnectorFactory - action=collect_connection_pool_metrics interval_in_seconds=60&lt;BR /&gt;07-03-2020 13:10:30.641 ERROR ChunkedExternProcessor - stderr: 13:10:30.641 111315@vukoo-br [main] WARN c.s.d.c.c.impl.JdbcConnectorImpl - fetch size value reached the allowed max value, MAX_FETCH_SIZE_ALLOWED=10000&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: 13:10:30.800 111315@vukoo-br [main] ERROR c.s.d.c.c.impl.JdbcConnectorImpl - action=fail_to_close_connection error=Protocol violation&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at java.lang.reflect.Array.newArray(Native Method)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at java.lang.reflect.Array.newInstance(Array.java:75)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.BufferCache.get(BufferCache.java:212)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.PhysicalConnection.getCharBuffer(PhysicalConnection.java:7698)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:1013)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:277)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:146)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.T4C8Oall.readDCB(T4C8Oall.java:916)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:421)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:886)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1175)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1288)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3657)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at com.splunk.dbx.connector.connector.impl.JdbcConnectorImpl.executeQuery(JdbcConnectorImpl.java:291)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at com.splunk.dbx.connector.connector.impl.OracleConnectorImpl.executeQuery(OracleConnectorImpl.java:41)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at com.splunk.dbx.command.DbxQueryCommand.generate(DbxQueryCommand.java:308)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at com.splunk.search.command.GeneratingCommand.process(GeneratingCommand.java:183)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at com.splunk.search.command.ChunkedCommandDriver.execute(ChunkedCommandDriver.java:102)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at com.splunk.search.command.AbstractSearchCommand.run(AbstractSearchCommand.java:50)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at com.splunk.search.command.GeneratingCommand.run(GeneratingCommand.java:15)&lt;BR /&gt;07-03-2020 13:10:30.801 ERROR ChunkedExternProcessor - stderr: at com.splunk.dbx.command.DbxQueryCommand.main(DbxQueryCommand.java:234)&lt;BR /&gt;07-03-2020 13:10:30.828 ERROR ChunkedExternProcessor - EOF while attempting to read transport header&lt;BR /&gt;07-03-2020 13:10:30.828 ERROR ChunkedExternProcessor - Error in 'dbxquery' command: External search command exited unexpectedly with non-zero error code 1.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;07-03-2020 13:10:30.835 ERROR dispatchRunner - RunDispatch::runDispatchThread threw error: Error in 'dbxquery' command: External search command exited unexpectedly with non-zero error code 1.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 13:02:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507542#M62341</guid>
      <dc:creator>jotaforense</dc:creator>
      <dc:date>2020-07-06T13:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: I have an odd problem with db_connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507575#M62344</link>
      <description>Have you verified you have the correct driver for your DB?&lt;BR /&gt;See if this helps: &lt;A href="https://arjunkrajan.wordpress.com/tag/splunk/" target="_blank"&gt;https://arjunkrajan.wordpress.com/tag/splunk/&lt;/A&gt;</description>
      <pubDate>Mon, 06 Jul 2020 14:26:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507575#M62344</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-06T14:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: I have an odd problem with db_connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507592#M62345</link>
      <description>&lt;P&gt;I'll check!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 14:54:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/507592#M62345</guid>
      <dc:creator>jotaforense</dc:creator>
      <dc:date>2020-07-06T14:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: I have an odd problem with db_connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/538605#M64796</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223303"&gt;@jotaforense&lt;/a&gt;&amp;nbsp;How did you solve it? I have exactly the same issue (with MySQL database), select=1 also does not work, Splunk 8.1 on Windows server 64bit, existing database inputs are working fine but I am not able to add any new one because of this failure....&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 13:23:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/538605#M64796</guid>
      <dc:creator>rapmancz</dc:creator>
      <dc:date>2021-02-04T13:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: I have an odd problem with db_connect</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/654933#M79636</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/158773"&gt;@rapmancz&lt;/a&gt;&amp;nbsp;,&amp;nbsp;I believe the problem resolved when I updated the db_connect driver.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 19:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/db-connect-Why-an-error-when-trying-to-query-basic-select/m-p/654933#M79636</guid>
      <dc:creator>jotaforense</dc:creator>
      <dc:date>2023-08-18T19:57:21Z</dc:date>
    </item>
  </channel>
</rss>

