<?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>question Re: Unable to verify database connection in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7502#M1290</link>
    <description>&lt;P&gt;I notice you have the mysql-java-connector in your classpath, maybe that should be moved out of the way so that the oracle driver is the only one that can pick up the connection?&lt;/P&gt;</description>
    <pubDate>Tue, 18 Mar 2014 17:17:13 GMT</pubDate>
    <dc:creator>Clint</dc:creator>
    <dc:date>2014-03-18T17:17:13Z</dc:date>
    <item>
      <title>Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7498#M1288</link>
      <description>&lt;P&gt;Trying to point cloudera manager to &amp;nbsp;the database while installation.I am pastinng the error trace.Any one knows what the issue could be.I have the &amp;nbsp;oracle db driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Executing: /usr/java/default/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/cmf/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /etc/cloudera-scm-server/db.properties com.cloudera.cmf.db.&lt;BR /&gt;[ main] DbCommandExecutor INFO Able to connect to db server on host '10.7.123.21:1530' but not able to find database 'cluderamgr'.&lt;BR /&gt;[ main] DbCommandExecutor ERROR Error when connecting to database.&lt;BR /&gt;java.sql.SQLException: 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;at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:458)[ojdbc6.jar:11.2.0.3.0]&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:55:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7498#M1288</guid>
      <dc:creator>Nishan</dc:creator>
      <dc:date>2022-09-16T08:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7500#M1289</link>
      <description>&lt;P&gt;Can any body help me with this?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:14:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7500#M1289</guid>
      <dc:creator>Nishan</dc:creator>
      <dc:date>2014-03-18T17:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7502#M1290</link>
      <description>&lt;P&gt;I notice you have the mysql-java-connector in your classpath, maybe that should be moved out of the way so that the oracle driver is the only one that can pick up the connection?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:17:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7502#M1290</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2014-03-18T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7508#M1291</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It sounds like the user doesn't exist in your oracle database.&amp;nbsp;&lt;/SPAN&gt;Did you already create the user in your Oracle database?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the command-line invocation that you used?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:26:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7508#M1291</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-03-18T17:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7512#M1292</link>
      <description>&lt;P&gt;Oh, good point, and are you sure there's not a typo in the db name? &amp;nbsp;Did you really create the db in Oracle as "&lt;SPAN&gt;cluderamgr"?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:32:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7512#M1292</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2014-03-18T17:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7518#M1293</link>
      <description>&lt;P&gt;There is no mysql jdbc jar on class pasth .It is echoed from the cloudera shell.In fact I copiedmy oracle jdbc jar file to that location but I am still getting the same result.This i sthe command I run to prepare my database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;scm_prepare_database.sh -h10.x.x..x -P1000 --scm-host x.x.x.x oracle &amp;nbsp;ENTLOG user pwrd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the stack trace.Any break through.I am able to telnet to this db server port from my cloudera manager host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Executing: /usr/java/default/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/cmf/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /etc/cloudera-scm-server/db.properties com.cloudera.cmf.db.&lt;BR /&gt;[ main] DbCommandExecutor INFO Able to connect to db server on host '10.7.123.21:1530' but not able to find database 'ENTLOG'.&lt;BR /&gt;[ main] DbCommandExecutor ERROR Error when connecting to database.&lt;BR /&gt;java.sql.SQLException: 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;at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:458)[ojdbc6.jar:11.2.0.3.0]&lt;BR /&gt;at oracle.jdbc.driver.PhysicalConnection.&amp;lt;init&amp;gt;(PhysicalConnection.java:546)[ojdbc6.jar:11.2.0.3.0]&lt;BR /&gt;at oracle.jdbc.driver.T4CConnection.&amp;lt;init&amp;gt;(T4CConnection.java:236)[ojdbc6.jar:11.2.0.3.0]&lt;BR /&gt;at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)[ojdbc6.jar:11.2.0.3.0]&lt;BR /&gt;at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)[ojdbc6.jar:11.2.0.3.0]&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:571)[:1.7.0_51]&lt;BR /&gt;at java.sql.DriverManager.getConnection(DriverManager.java:215)[:1.7.0_51]&lt;BR /&gt;at com.cloudera.enterprise.dbutil.DbCommandExecutor.testDbConnection(DbCommandExecutor.java:229)[common-4.8.2.jar:]&lt;BR /&gt;at com.cloudera.enterprise.dbutil.DbCommandExecutor.main(DbCommandExecutor.java:132)[common-4.8.2.jar:]&lt;BR /&gt;[ main] DbCommandExecutor ERROR Exiting with exit code 7&lt;BR /&gt;--&amp;gt; Error 7, giving up (use --force if you wish to ignore the error)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 18:35:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7518#M1293</guid>
      <dc:creator>Nishan</dc:creator>
      <dc:date>2014-03-18T18:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7520#M1294</link>
      <description>&lt;P&gt;I am able to connect to this db using other tools like toad,db visualzer etc using the same credentials.Any thing else I need to set up.&lt;/P&gt;&lt;P&gt;I was able to set up this yesterday against a postgres db.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 18:39:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7520#M1294</guid>
      <dc:creator>Nishan</dc:creator>
      <dc:date>2014-03-18T18:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7522#M1295</link>
      <description>&lt;P&gt;&lt;SPAN&gt;here is the command line invocation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;scm_prepare_database.sh -h10.x.x..x -P1000 --scm-host x.x.x.x oracle &amp;nbsp;ENTLOG user pwrd.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 18:41:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7522#M1295</guid>
      <dc:creator>Nishan</dc:creator>
      <dc:date>2014-03-18T18:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7528#M1296</link>
      <description>&lt;P&gt;If some can point to the log file location it would be great&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2014 21:21:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7528#M1296</guid>
      <dc:creator>Nishan</dc:creator>
      <dc:date>2014-03-18T21:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7530#M1297</link>
      <description>The relevant error is already displayed. It looks like your Oracle TNS listener doesn't know the Oracle SID "ENTLOG". Is that the right TNS name?&lt;BR /&gt;"&lt;BR /&gt;[ main] DbCommandExecutor INFO Able to connect to db server on host '10.7.123.21:1530' but not able to find database 'ENTLOG'.&lt;BR /&gt;[ main] DbCommandExecutor ERROR Error when connecting to database.&lt;BR /&gt;java.sql.SQLException: 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;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;Does the following work from the machine where you are trying to run CM server? This is basically what the scm script is trying to do. (replace with real user and password)&lt;BR /&gt;sqlplus user/pwrd@10.7.123.21:1530/ENTLOG&lt;BR /&gt;&lt;BR /&gt;You also probably don't need to specify --scm-host, though I don't think that would cause this error.</description>
      <pubDate>Tue, 18 Mar 2014 21:25:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7530#M1297</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2014-03-18T21:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to verify database connection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7576#M1298</link>
      <description>&lt;P&gt;It was a problem with specifying the TNS name.Got That resolved.Thank you all.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2014 15:54:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-verify-database-connection/m-p/7576#M1298</guid>
      <dc:creator>Nishan</dc:creator>
      <dc:date>2014-03-19T15:54:26Z</dc:date>
    </item>
  </channel>
</rss>

