<?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: ERROR main:com.cloudera.server.cmf.Main:Server failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ERROR-main-com-cloudera-server-cmf-Main-Server-failed/m-p/42654#M40474</link>
    <description>&lt;P&gt;Late in answering though , the issue happenes because PostGRESql or any other database has not been set , and CDH server tries to look for default mysql database . To resolve it I followed below steps :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Installed PostGRESql database following steps in this link : &amp;nbsp;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_embed_pstgrs.html#cmig_topic_5_7" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_embed_pstgrs.html#cmig_topic_5_7&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. The above link however assumes that you do not need to configure the database , but if you're following Path B , you still need to configure the database like an extenal PostGRESQl database instructions . To configure I followed steps in this link :&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_extrnl_pstgrs.html#cmig_topic_5_6_1" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/cm_ig_extrnl_pstgrs.html#cmig_topic_5_6_1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Once it's configured then you run this command to initilize the parameters files :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ /usr/share/cmf/schema/scm_prepare_database.sh postgresql scm scm scm&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this once you start the the server using command :&lt;/P&gt;&lt;P&gt;sudo service cloudera-scm-server start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to open the cloudera manager server using URL&amp;nbsp;http://&amp;lt;host&amp;gt;:7180 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2016 22:33:39 GMT</pubDate>
    <dc:creator>singh101</dc:creator>
    <dc:date>2016-07-06T22:33:39Z</dc:date>
  </channel>
</rss>

