<?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 start postgres for ambari in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/unable-to-start-postgres-for-ambari/m-p/154324#M116780</link>
    <description>&lt;P&gt;login as 
	&lt;STRONG&gt;root&lt;/STRONG&gt; &lt;/P&gt;
&lt;PRE&gt;[root@Node0 ~]$
[root@Node0 ~]$ cd /var/lib/pgsql  
[root@Node0 ~]$ su - postgres 
[root@Node0 pgsql]$ sudo su  - postgres
-bash-4.2 $ grep listen /var/lib/pgsql/data/postgresql.conf

#listen_addresses = 'localhost'		# what IP address(es) to listen on;
&lt;/PRE&gt;&lt;PRE&gt;-bash-4.2 $ vi /var/lib/pgsql/data_bkp/postgresql.conf
&lt;/PRE&gt;&lt;P&gt;
	Find  
	&lt;STRONG&gt;listen_address= 'localhost'&lt;/STRONG&gt; and change to l&lt;STRONG&gt;ocal_address='*'&lt;/STRONG&gt;, then and exit vi, then &lt;STRONG&gt;exit&lt;/STRONG&gt; back to &lt;EM&gt;root.&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;service postgresql restart
&lt;/PRE&gt;&lt;P&gt;
	Redirecting to /bin/systemctl restart  postgresql.service&lt;/P&gt;&lt;PRE&gt;[root@Node0 ~]$ ambari-server setup&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;and accept all prompts, and when ambari-server setup will successfully complete,&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[root@Node0 ~]$ ambari-server start &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Ambari Server 'start' completed successfully.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Apr 2017 02:27:37 GMT</pubDate>
    <dc:creator>adaher</dc:creator>
    <dc:date>2017-04-09T02:27:37Z</dc:date>
  </channel>
</rss>

