<?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 Ambari setup erorr: Unable to start PostgreSQL server. Exiting in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187753#M68054</link>
    <description>&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;I am getting below error while installing Ambari. How do I resolve this?&lt;/P&gt;&lt;P&gt;Completing setup...&lt;BR /&gt;Configuring database...&lt;BR /&gt;Enter advanced database configuration [y/n] (n)? n&lt;BR /&gt;Configuring database...&lt;BR /&gt;Default properties detected. Using built-in database.&lt;BR /&gt;Configuring ambari database...&lt;BR /&gt;Checking PostgreSQL...&lt;BR /&gt;Running initdb: This may take up to a minute.&lt;BR /&gt;About to start PostgreSQL&lt;BR /&gt;[sudo] password for kfkadm:&lt;BR /&gt;ERROR: Exiting with exit code 3.&lt;BR /&gt;REASON: Unable to start PostgreSQL server. Exiting&lt;/P&gt;&lt;P&gt;I had installed PostgreSQL by running below command:&lt;/P&gt;&lt;P&gt;sudo
yum install &lt;A href="https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm"&gt;https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and then ran following command to Setup Ambari:&lt;/P&gt;&lt;P&gt;sudo
yum install ambari-server&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2017 01:35:01 GMT</pubDate>
    <dc:creator>mayank_rathi</dc:creator>
    <dc:date>2017-09-15T01:35:01Z</dc:date>
    <item>
      <title>Ambari setup erorr: Unable to start PostgreSQL server. Exiting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187753#M68054</link>
      <description>&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;I am getting below error while installing Ambari. How do I resolve this?&lt;/P&gt;&lt;P&gt;Completing setup...&lt;BR /&gt;Configuring database...&lt;BR /&gt;Enter advanced database configuration [y/n] (n)? n&lt;BR /&gt;Configuring database...&lt;BR /&gt;Default properties detected. Using built-in database.&lt;BR /&gt;Configuring ambari database...&lt;BR /&gt;Checking PostgreSQL...&lt;BR /&gt;Running initdb: This may take up to a minute.&lt;BR /&gt;About to start PostgreSQL&lt;BR /&gt;[sudo] password for kfkadm:&lt;BR /&gt;ERROR: Exiting with exit code 3.&lt;BR /&gt;REASON: Unable to start PostgreSQL server. Exiting&lt;/P&gt;&lt;P&gt;I had installed PostgreSQL by running below command:&lt;/P&gt;&lt;P&gt;sudo
yum install &lt;A href="https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm"&gt;https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and then ran following command to Setup Ambari:&lt;/P&gt;&lt;P&gt;sudo
yum install ambari-server&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 01:35:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187753#M68054</guid>
      <dc:creator>mayank_rathi</dc:creator>
      <dc:date>2017-09-15T01:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup erorr: Unable to start PostgreSQL server. Exiting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187754#M68055</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/19359/mayankrathi.html" nodeid="19359"&gt;@M R&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think if you are using the built-in database, which it appears are you trying to use, you likely do not need to install the postgres db manually.  Ambari can do this for you.  I suspect because you have installed it outside of Ambari, there is a conflict.  I would try removing the manual postgres rpm based installation, and re-run the ambari-server setup&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 01:56:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187754#M68055</guid>
      <dc:creator>ssahi</dc:creator>
      <dc:date>2017-09-15T01:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup erorr: Unable to start PostgreSQL server. Exiting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187755#M68056</link>
      <description>&lt;P&gt;If you want to use the existing postgres db make sure it been setup already before running the ambari-server setup.&lt;/P&gt;&lt;P&gt;Link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-administration/content/using_non-default_databases_-_ambari.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-administration/content/using_non-default_databases_-_ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Otherwise , as Sonu said, remove the rpm of postgres and have ambari manage its postgres db.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 02:07:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187755#M68056</guid>
      <dc:creator>ranjitsingh05</dc:creator>
      <dc:date>2017-09-15T02:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup erorr: Unable to start PostgreSQL server. Exiting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187756#M68057</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/19359/mayankrathi.html" nodeid="19359"&gt;@M R&lt;/A&gt;&lt;P&gt;As you downloaded your own version of Postgres, So you will need to perform some additional steps on your PostgresSQL before you start using it with Ambari.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-administration/content/using_ambari_with_postgresql.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-administration/content/using_ambari_with_postgresql.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;The above link talks about how you can use your own version of Postgres with AmbariServer.   (else in Embedded Postgres Mode Ambari Server will create the schema on it's own).&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;After following the above link you can run the ambari-server setup  and this time  you will need to choose "&lt;/P&gt;&lt;P&gt;Enter advanced database configuration [y/n] (n)?&lt;STRONG&gt; y&lt;/STRONG&gt;"   and then choose the Option 4 [PostgresSql]      (Please do not choose Option 1 Embedded Postgres).&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 02:10:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187756#M68057</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-15T02:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari setup erorr: Unable to start PostgreSQL server. Exiting</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187757#M68058</link>
      <description>&lt;P&gt;Thank you all. All 3 answers were correct and pointed me in right direction. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 08:33:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-setup-erorr-Unable-to-start-PostgreSQL-server-Exiting/m-p/187757#M68058</guid>
      <dc:creator>mayank_rathi</dc:creator>
      <dc:date>2017-09-15T08:33:23Z</dc:date>
    </item>
  </channel>
</rss>

