<?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: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88870#M97281</link>
    <description>&lt;P&gt;Ah now here comes the mystery. It's determining the fully qualified name with just the Sid itself. I've grep'ed the whole six directory for any reference of it and can't find it but when it connects its showing up...  Is there some sort of cache someplace it may be grabbing this from another attempt?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2013 00:27:23 GMT</pubDate>
    <dc:creator>mjones414</dc:creator>
    <dc:date>2013-01-17T00:27:23Z</dc:date>
    <item>
      <title>Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88862#M97273</link>
      <description>&lt;P&gt;I've been trying to connect to an oracle instance but I am running into a brick wall and not sure what to try next.  I know the Oracle SID, server name, port, and account are all good for read only, but this is the error I continuously get:&lt;/P&gt;

&lt;P&gt;Encountered the following error while trying to update: In handler 'dbx-databases': Error connecting to database: java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor&lt;/P&gt;

&lt;P&gt;I'm running Splunk 5.0.1 and Splunk DB Connect 1.0.6..&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2013 23:20:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88862#M97273</guid>
      <dc:creator>mjones414</dc:creator>
      <dc:date>2013-01-15T23:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88863#M97274</link>
      <description>&lt;P&gt;If you are sure that you are using the correct SID and you are using an older version of Oracle, you might be able to connect by changing the following setting &lt;CODE&gt;database.conf&lt;/CODE&gt; for you database connection:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;database.sid = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This setting is not exposed to the UI and you'll have to restart Splunk after you changed it.&lt;/P&gt;

&lt;P&gt;If you're also have a service name instead of the SID for the same oracle instance, please use this one instead.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 03:38:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88863#M97274</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-01-16T03:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88864#M97275</link>
      <description>&lt;P&gt;So just to clarify, there is a fully qualified oName that gets used, is this what you are referring to by service name?  Are there any further requirements of this splunk app on the oracle client to make this connection or is it oracle client independent?  I do have ojdbc5.jar in the appropriate directory and am trying to establish the connection this way...  Thanks for your help, I will try the database.sid entry and let you know.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 16:42:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88864#M97275</guid>
      <dc:creator>mjones414</dc:creator>
      <dc:date>2013-01-16T16:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88865#M97276</link>
      <description>&lt;P&gt;ok that got me a little further.  I can now pass the connection validation, but I still get this error whenever I try to connect to the database via the database info page in the app&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 17:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88865#M97276</guid>
      <dc:creator>mjones414</dc:creator>
      <dc:date>2013-01-16T17:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88866#M97277</link>
      <description>&lt;P&gt;Please use the ojdbc6.jar if possible. Here's a good explaination on the difference between SID and Service Name: &lt;A href="http://stackoverflow.com/a/43901"&gt;http://stackoverflow.com/a/43901&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;An Oracle client is not required for DB Connect.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 17:28:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88866#M97277</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-01-16T17:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88867#M97278</link>
      <description>&lt;P&gt;debug info:&lt;/P&gt;

&lt;P&gt;2013-01-16 11:25:46.769 dbx2065:ERROR:DatabaseQueryCommand - Error while executing command: Error getting database connection: Listener refused the connection with the following error:&lt;BR /&gt;
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor&lt;/P&gt;

&lt;P&gt;11:25:46.673 AM &lt;BR /&gt;
2013-01-16 11:25:46.673 dbx2065:DEBUG:Oracle - Built Oracle JDBC connection URL: "jdbc:oracle:thin:@//FULLY.QUALIFIED.SERVER.NAME:1521/FULLY.QUALIFIED.INSTANCE.NAME"&lt;BR /&gt;
host=&lt;HOST&gt;  Options|  sourcetype=dbx_debug   Options|  source=/opt/splunk/var/log/splunk/dbx.log   Options&lt;/HOST&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 17:30:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88867#M97278</guid>
      <dc:creator>mjones414</dc:creator>
      <dc:date>2013-01-16T17:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88868#M97279</link>
      <description>&lt;P&gt;jumped up to ojdbc6.jar but still getting the same issue. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 20:56:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88868#M97279</guid>
      <dc:creator>mjones414</dc:creator>
      <dc:date>2013-01-16T20:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88869#M97280</link>
      <description>&lt;P&gt;Well, the error message means that the server doesn't recognize the given service name. Maybe try it with the "not-fully-qualified" one?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 23:31:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88869#M97280</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-01-16T23:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88870#M97281</link>
      <description>&lt;P&gt;Ah now here comes the mystery. It's determining the fully qualified name with just the Sid itself. I've grep'ed the whole six directory for any reference of it and can't find it but when it connects its showing up...  Is there some sort of cache someplace it may be grabbing this from another attempt?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 00:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88870#M97281</guid>
      <dc:creator>mjones414</dc:creator>
      <dc:date>2013-01-17T00:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88871#M97282</link>
      <description>&lt;P&gt;Six = dbx...&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 00:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88871#M97282</guid>
      <dc:creator>mjones414</dc:creator>
      <dc:date>2013-01-17T00:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88872#M97283</link>
      <description>&lt;P&gt;Looks like I was right about the cache..  for whatever insane reason, one of the trial attempts using a fully qualified instance name was set in ../launcher/local/database.conf.  Once I blew this away and bounced splunk all was peaceful.. Thanks Ziegfried for all of your help!&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2013 06:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88872#M97283</guid>
      <dc:creator>mjones414</dc:creator>
      <dc:date>2013-01-19T06:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88873#M97284</link>
      <description>&lt;P&gt;Just to clarify: The database stanza in launcher/local/database.conf is not a cache. It's there because it has been created in the context of the launcher app. This happens when you navigate from Launcher to manager instead of navigating there from the DB Connect app. The behavior for other configs in Splunk like inputs or props is similar.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 15:33:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88873#M97284</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2013-01-22T15:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88874#M97285</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;my configuration is Splunk Version 5.0.3, Build 163460, Splunk DB Connect Version 1.0.11. I connect to a MySQL DB all works fine. I trying connect to an Oracle DB 11g. I setup the driver ojdbc6.jar in the folder //&amp;amp;SplunkHome/splunk/etc/apps/dbx/bin/lib. In the File &amp;amp;splunk_Home/splunk/etc/apps/dbx/local/databases.conf i setup database.sid = true, the Connection Manager tell no errors, if i'm select something, a error appear: &lt;/P&gt;

&lt;P&gt;command="dbquery", Error getting database connection: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor &lt;BR /&gt;
Where is my mistake?&lt;/P&gt;

&lt;P&gt;The database.conf file:&lt;/P&gt;

&lt;P&gt;database.sid = true &lt;BR /&gt;
[INEK] &lt;BR /&gt;
disabled = 0 &lt;BR /&gt;
database = INEK &lt;BR /&gt;
host = 'full-host' &lt;BR /&gt;
password = passowrd &lt;BR /&gt;
port = 1521 &lt;BR /&gt;
readonly = 1 &lt;BR /&gt;
type = oracle &lt;BR /&gt;
username = SPLUNK&lt;/P&gt;

&lt;P&gt;[MySQL ] database = splunk &lt;BR /&gt;
host = hostname &lt;BR /&gt;
password = password &lt;BR /&gt;
port = 3306 &lt;BR /&gt;
readonly = 1 &lt;BR /&gt;
type = mysql &lt;BR /&gt;
username = splunk&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2013 10:22:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88874#M97285</guid>
      <dc:creator>amielke</dc:creator>
      <dc:date>2013-07-29T10:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: Error connecting to Oracle Instance ORA-12514</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88875#M97286</link>
      <description>&lt;P&gt;My Solution is: I delete in the Manager, External Databases the connection. Next Step is create a new Connection to the Oracle DB, but disable the icon "Validate Database Connection". After this you can save the connection whitout errors. &lt;/P&gt;

&lt;P&gt;the second step ist change the config-file database.conf to the result:&lt;/P&gt;

&lt;P&gt;[INEK_ORACLE]&lt;BR /&gt;
database.sid = true&lt;BR /&gt;
database = INEK&lt;BR /&gt;
host = 'full-host'&lt;BR /&gt;
password = password&lt;BR /&gt;
port = 1521&lt;BR /&gt;
readonly = 1&lt;BR /&gt;
type = oracle&lt;BR /&gt;
username = SPLUNK&lt;/P&gt;

&lt;P&gt;FINSIH&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2013 06:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-connecting-to-Oracle-Instance-ORA-12514/m-p/88875#M97286</guid>
      <dc:creator>amielke</dc:creator>
      <dc:date>2013-07-31T06:57:27Z</dc:date>
    </item>
  </channel>
</rss>

