<?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: I am getting error while trying to perform Ambari server setup. Can someone provide guidance? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170341#M54048</link>
    <description>&lt;P&gt;Hmmm.. interesting. I'm not sure how the postgres DB failed or stopped, but now that we've established this is the Sandbox, I'd suggest just killing this instance and upload a new Sandbox instance and try the steps I've outlined in my first reply.&lt;/P&gt;</description>
    <pubDate>Sat, 11 Feb 2017 05:32:28 GMT</pubDate>
    <dc:creator>aparanjape</dc:creator>
    <dc:date>2017-02-11T05:32:28Z</dc:date>
    <item>
      <title>I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170334#M54041</link>
      <description>&lt;P&gt;[root@sandbox ~]# sudo yum -y install ambari-server &lt;/P&gt;&lt;P&gt;Loaded plugins: fastestmirror, ovl, priorities &lt;/P&gt;&lt;P&gt;Setting up Install Process &lt;/P&gt;&lt;P&gt;Loading mirror speeds from cached hostfile
 * base: mirrors.cmich.edu
 * epel: mirror.steadfast.net
 * extras: mirrors.cmich.edu
 * updates: mirrors.lga7.us.voxel.net &lt;/P&gt;&lt;P&gt;Package ambari-server-2.4.0.0-1225.x86_64 already installed and latest version &lt;/P&gt;&lt;P&gt;Nothing to do &lt;/P&gt;&lt;P&gt;[root@sandbox ~]# ambari-server setup &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python
Setup ambari-server &lt;/P&gt;&lt;P&gt;Checking SELinux...
SELinux status is 'disabled' &lt;/P&gt;&lt;P&gt;Customize user account for ambari-server daemon [y/n] (n)? n
ERROR: Failed: [Errno 22] Invalid argument: '/var/run/ambari-server/bootstrap' &lt;/P&gt;&lt;P&gt;ERROR: Exiting with exit code 4.
REASON: Failed to create user. Exiting.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 04:24:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170334#M54041</guid>
      <dc:creator>manish_raj_anan</dc:creator>
      <dc:date>2017-02-11T04:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170335#M54042</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/15988/manishrajanand.html"&gt;Manish Anand&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Customize user account for ambari-server daemon [y/n] (n)" It appears like Ambari server is trying to create the user. can you keep the default  value for " and just press enter and see how that goes?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 04:44:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170335#M54042</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-02-11T04:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170336#M54043</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11311/apappu.html" nodeid="11311"&gt;@apappu&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I tried all the options with 'y' , 'n' and no value (enter only). In all these steps, I received the same error.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 04:49:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170336#M54043</guid>
      <dc:creator>manish_raj_anan</dc:creator>
      <dc:date>2017-02-11T04:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170337#M54044</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29580"&gt;@Manish&lt;/a&gt;, &lt;/P&gt;&lt;P&gt;You cannot run the &lt;EM&gt;ambari-server setup &lt;/EM&gt;command on the Hortonworks Sandbox. It's already been completed for you. Once the Sandbox is running, go to &lt;A href="http://127.0.0.1:8888/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8888/&lt;/A&gt; to get to the welcome page and to enable your access to the Ambari UI. See blow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12303-screen-shot-2017-02-10-at-25005-pm.png" style="width: 1281px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20099iB118E839750F563C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12303-screen-shot-2017-02-10-at-25005-pm.png" alt="12303-screen-shot-2017-02-10-at-25005-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then click on &lt;STRONG&gt;Quick Links&lt;/STRONG&gt; on the botton right to get the Ambari access instructions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12304-screen-shot-2017-02-10-at-25107-pm.png" style="width: 1268px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20100i303B477638C7851D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12304-screen-shot-2017-02-10-at-25107-pm.png" alt="12304-screen-shot-2017-02-10-at-25107-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:45:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170337#M54044</guid>
      <dc:creator>aparanjape</dc:creator>
      <dc:date>2019-08-18T10:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170338#M54045</link>
      <description>&lt;P&gt;Hi @Ameet,&lt;/P&gt;&lt;P&gt;I am unable to access the Ambari URL even though &lt;A href="http://127.0.0.1:8888/" target="_blank"&gt;http://127.0.0.1:8888/&lt;/A&gt; is accessible.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12300-capture.jpg"&gt;capture.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:00:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170338#M54045</guid>
      <dc:creator>manish_raj_anan</dc:creator>
      <dc:date>2017-02-11T05:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170339#M54046</link>
      <description>&lt;P&gt;What's the output of ambari-server status command? You should see something like:&lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# ambari-server status
Using python  /usr/bin/python
Ambari-server status
Ambari Server running
Found Ambari Server PID: 1356 at: /var/run/ambari-server/ambari-server.pid
[root@sandbox ~]#&lt;/PRE&gt;&lt;P&gt;If it's stopped, try:&lt;/P&gt;&lt;PRE&gt;ambari-server start
ambari-agent restart&lt;/PRE&gt;&lt;P&gt;Then try the Ambari URL again. &lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:20:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170339#M54046</guid>
      <dc:creator>aparanjape</dc:creator>
      <dc:date>2017-02-11T05:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170340#M54047</link>
      <description>&lt;P&gt;Its not running and throwing error for some issue with PostgreSQL.&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# ambari-server status &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python
Ambari-server status &lt;/P&gt;&lt;P&gt;Ambari Server not running. &lt;/P&gt;&lt;P&gt;Stale PID File at: /var/run/ambari-server/ambari-server.pid &lt;/P&gt;&lt;P&gt;[root@sandbox ~]# ambari-server restart &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python
Restarting ambari-server &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python &lt;/P&gt;&lt;P&gt;Stopping ambari-server &lt;/P&gt;&lt;P&gt;Ambari Server is not running &lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python &lt;/P&gt;&lt;P&gt;Starting ambari-server &lt;/P&gt;&lt;P&gt;Ambari Server running with administrator privileges. &lt;/P&gt;&lt;P&gt;Running initdb: This may take up to a minute. &lt;/P&gt;&lt;P&gt;About to start PostgreSQL &lt;/P&gt;&lt;P&gt;ERROR: Exiting with exit code 1. &lt;/P&gt;&lt;P&gt;REASON: Unable to start PostgreSQL server. Status None. . Exiting &lt;/P&gt;&lt;P&gt;[root@sandbox ~]#&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:27:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170340#M54047</guid>
      <dc:creator>manish_raj_anan</dc:creator>
      <dc:date>2017-02-11T05:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170341#M54048</link>
      <description>&lt;P&gt;Hmmm.. interesting. I'm not sure how the postgres DB failed or stopped, but now that we've established this is the Sandbox, I'd suggest just killing this instance and upload a new Sandbox instance and try the steps I've outlined in my first reply.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:32:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170341#M54048</guid>
      <dc:creator>aparanjape</dc:creator>
      <dc:date>2017-02-11T05:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170342#M54049</link>
      <description>&lt;P&gt;I also recommend that we review one issue per HCC topic. I believe my initial comment answered the original question, but please mark it as so if you agree. Thanks &lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 05:33:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170342#M54049</guid>
      <dc:creator>aparanjape</dc:creator>
      <dc:date>2017-02-11T05:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting error while trying to perform Ambari server setup. Can someone provide guidance?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170343#M54050</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/15988/manishrajanand.html"&gt;Manish Anand&lt;/A&gt; it could be that in trying to re-run the ambari-server install you inadvertantly corrupted the postgreSQL database that was part of the Sandbox. It makes more sense to blow this away and reimport the Sandbox image rather than try and troubleshoot the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 04:43:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-am-getting-error-while-trying-to-perform-Ambari-server/m-p/170343#M54050</guid>
      <dc:creator>rtempleton</dc:creator>
      <dc:date>2017-02-28T04:43:55Z</dc:date>
    </item>
  </channel>
</rss>

