<?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: Ambari Server fails to start after installing JCE in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163323#M125697</link>
    <description>&lt;P&gt;run&lt;/P&gt;&lt;OL&gt;
&lt;/OL&gt;&lt;P&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=path&lt;/P&gt;&lt;P&gt;usually path of mysql driver is /usr/share/java/mysql-connector-java.jar. It may be different for you.&lt;/P&gt;&lt;P&gt;restart ambari server.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2017 13:19:56 GMT</pubDate>
    <dc:creator>76_subhasis</dc:creator>
    <dc:date>2017-03-20T13:19:56Z</dc:date>
    <item>
      <title>Ambari Server fails to start after installing JCE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163319#M125693</link>
      <description>&lt;P&gt;While restarting ambari server after installing JCE, it fails to come up&lt;/P&gt;&lt;P&gt;This is what i see in ambari server logs&lt;/P&gt;&lt;PRE&gt;7 Mar 2017 17:53:03,666 ERROR [main] DBAccessorImpl:117 - If you are using a non-default database for Ambari and a custom JDBC driver jar, you need to set property "server.jdbc.driver.path={path/to/custom_jdbc_driver}" in ambari.properties config file, to include it in ambari-server classpath.
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.apache.ambari.server.orm.DBAccessorImpl.&amp;lt;init&amp;gt;(DBAccessorImpl.java:89)
	at org.apache.ambari.server.orm.DBAccessorImpl$$FastClassByGuice$$86dbc63e.newInstance(&amp;lt;generated&amp;gt;)
	at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
&lt;/PRE&gt;&lt;P&gt;I see server.jdbc.driver.path missing in ambari.properties. I added it but still seeing this issue&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2017 06:05:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163319#M125693</guid>
      <dc:creator>vrathod</dc:creator>
      <dc:date>2017-03-18T06:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server fails to start after installing JCE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163320#M125694</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/239/vrathod.html" nodeid="239"&gt;@vrathod&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you have the following symlink present in the /usr/share/java directory to point to the mysql JDBC driver?&lt;/P&gt;&lt;PRE&gt;# ls -l /usr/share/java | grep mysql
-rwxrwxrwx. 1 root root   992808 Mar  9 08:49 mysql-connector-java-5.1.41-bin.jar
lrwxrwxrwx. 1 root root       35 Mar  9 08:50 mysql-connector-java.jar -&amp;gt; mysql-connector-java-5.1.41-bin.jar&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If the mysql connector jar is not present there then please refer to then following link and then install the driver and create the symlink:  &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-reference/content/using_ambari_with_mysql.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-reference/content/using_ambari_with_mysql.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
&lt;STRONG&gt;Install the connector&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# yum install mysql-connector-java&lt;/PRE&gt;&lt;P&gt;
&lt;STRONG&gt;Confirm that .jar is in the Java share directory.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# ls /usr/share/java/mysql-connector-java.jar&lt;/PRE&gt;&lt;P&gt;Make sure the .jar file has the appropriate&lt;STRONG&gt;permissions - 644&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Execute the following command: &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar&lt;/PRE&gt;</description>
      <pubDate>Sat, 18 Mar 2017 07:21:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163320#M125694</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-18T07:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server fails to start after installing JCE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163321#M125695</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I was pointing to the wrong path. After correcting it, ambari server started successfully. Still not sure what removed server.jdbc.driver.path.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2017 01:10:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163321#M125695</guid>
      <dc:creator>vrathod</dc:creator>
      <dc:date>2017-03-19T01:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server fails to start after installing JCE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163322#M125696</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/239/vrathod.html" nodeid="239"&gt;@vrathod
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The driver jar might have been deleted accidentally. As i have never seen such issue earlier, there is no existing JIRA as well on the similar issue. So i am suspecting that it might be deleted accidentally.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/239/vrathod.html" nodeid="239"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2017 02:10:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163322#M125696</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-19T02:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server fails to start after installing JCE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163323#M125697</link>
      <description>&lt;P&gt;run&lt;/P&gt;&lt;OL&gt;
&lt;/OL&gt;&lt;P&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=path&lt;/P&gt;&lt;P&gt;usually path of mysql driver is /usr/share/java/mysql-connector-java.jar. It may be different for you.&lt;/P&gt;&lt;P&gt;restart ambari server.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 13:19:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163323#M125697</guid>
      <dc:creator>76_subhasis</dc:creator>
      <dc:date>2017-03-20T13:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server fails to start after installing JCE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163324#M125698</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/239/vrathod.html" nodeid="239"&gt;@vrathod
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As this issue is resolved then please mark the answer as "Accepted".
&lt;A rel="user" href="https://community.cloudera.com/users/239/vrathod.html" nodeid="239"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 13:26:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/163324#M125698</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-20T13:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server fails to start after installing JCE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/289876#M214510</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50614"&gt;@jsensharma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i was do that these steps but still gives this problems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ambari Server running with administrator privileges.&lt;BR /&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;BR /&gt;Ambari database consistency check started...&lt;BR /&gt;No errors were found.&lt;BR /&gt;ERROR: Exiting with exit code 1.&lt;BR /&gt;REASON: Database check failed to complete. Please check /var/log/ambari-server/ambari-server.log and /var/log/ambari-server/ambari-server-check-database.log for more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 12:39:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/289876#M214510</guid>
      <dc:creator>AarifAkhter</dc:creator>
      <dc:date>2020-02-16T12:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Server fails to start after installing JCE</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/289879#M214511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/73700"&gt;@AarifAkhter&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As this thread was marked 'Solved' 03-18-2017 you would have a better chance of receiving a resolution by &lt;A href="https://community.cloudera.com/t5/forums/postpage/board-id/Questions" target="_blank" rel="noopener"&gt;starting a new thread&lt;/A&gt;. This will also provide the opportunity to provide details specific to your environment that could aid others in providing a more targeted answer to your question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 21:04:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Server-fails-to-start-after-installing-JCE/m-p/289879#M214511</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2020-02-16T21:04:21Z</dc:date>
    </item>
  </channel>
</rss>

