<?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 ambari-server - password authentication failed for user &amp;quot;ambari&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155208#M40837</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/5322/xavierlieutier.html" nodeid="5322"&gt;@xli&lt;/A&gt;, please share how you change the content of the configuration file? any specify command to use?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2017 00:08:10 GMT</pubDate>
    <dc:creator>sasi_c07</dc:creator>
    <dc:date>2017-01-27T00:08:10Z</dc:date>
    <item>
      <title>Unable to start ambari-server - password authentication failed for user "ambari"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155204#M40833</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I work on a cluster with HDP 2.4.&lt;/P&gt;&lt;P&gt;I'm not able to start ambari. I use this command:&lt;/P&gt;&lt;PRE&gt;[ambari@ current]$ service ambari-server restart&lt;/PRE&gt;&lt;P&gt;And I get this error:&lt;/P&gt;&lt;PRE&gt;ERROR: Exiting with exit code -1.
REASON: Ambari Server java process died with exitcode 1. Check /var/log/ambari-server/ambari-server.out for more information&lt;/PRE&gt;&lt;P&gt;In the ambari-server.out and ambari-server.log files i get the same error:&lt;/P&gt;&lt;PRE&gt;15 Sep 2016 10:42:28,893 ERROR [main] DBAccessorImpl:102 - Error while creating database accessor 
org.postgresql.util.PSQLException: FATAL: password authentication failed for user "ambari"&lt;/PRE&gt;&lt;P&gt;So, i guess the ambari-server start command try to connect to the PostgreSQL ambari database, but can't access it because he don't use the correct password.&lt;/P&gt;&lt;P&gt;How can i know which password is used by this command ? What can I do to solve this issue and restart ambari?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Edit: The error appeared after i change the password of the user "ambari" on the PostgreSQL database.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 15:20:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155204#M40833</guid>
      <dc:creator>xavier_lieutier</dc:creator>
      <dc:date>2016-09-16T15:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start ambari-server - password authentication failed for user "ambari"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155205#M40834</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/5322/xavierlieutier.html"&gt;xli&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are using sandbox2.4 or higher then you can reset password as :&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Start your sandbox, ssh using a terminal or the web browser link:&lt;/LI&gt;&lt;LI&gt;Run the following commands:&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;ambari-admin-password-reset&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In general you can run the following query in yoru ambari DB to reset the password of ambari to default "admin/admin"&lt;/P&gt;&lt;P&gt;1. Log on to ambari server host shell &lt;/P&gt;&lt;P&gt;2. Run 'psql -U ambari-server ambari'    (OR)  'psql -U ambari  ambari'&lt;/P&gt;&lt;P&gt;3. Enter password 'bigdata'&lt;/P&gt;&lt;P&gt;4. In psql query as following: &lt;/P&gt;&lt;PRE&gt;   update ambari.users set user_password='538916f8943ec225d97a9a86a2c6ec0818c1cd400e09e03b660fdaaec4af29ddbb6f2b1033b81b00' where user_name='admin' &lt;/PRE&gt;&lt;P&gt;5. Quit psql &lt;/P&gt;&lt;P&gt;6. Run 'ambari-server restart'&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 15:38:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155205#M40834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-16T15:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start ambari-server - password authentication failed for user "ambari"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155206#M40835</link>
      <description>&lt;P&gt;I'm not using the sandbox. I'm working on a cluster with HDP 2.4. &lt;/P&gt;&lt;P&gt;This procedure updates the password for the "admin" user of Ambari. But the error seems to concern the "ambari" user.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 15:56:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155206#M40835</guid>
      <dc:creator>xavier_lieutier</dc:creator>
      <dc:date>2016-09-16T15:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start ambari-server - password authentication failed for user "ambari"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155207#M40836</link>
      <description>&lt;P&gt;I found the issue and how to solve it. here is my explaination:&lt;/P&gt;&lt;P&gt;ambari-server starts using "ambari" user and the password found in the configuration file /etc/ambari-server/conf/password.dat&lt;/P&gt;&lt;P&gt;By default, the password is "bigdata".&lt;/P&gt;&lt;P&gt;As I updated, via psql, the PostgreSQL ambari password, the password in the configration file was incorrect.&lt;/P&gt;&lt;P&gt;Si i changed the content of the configuration file with the value of my new password and the server restarted well.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 16:51:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155207#M40836</guid>
      <dc:creator>xavier_lieutier</dc:creator>
      <dc:date>2016-09-16T16:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start ambari-server - password authentication failed for user "ambari"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155208#M40837</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/5322/xavierlieutier.html" nodeid="5322"&gt;@xli&lt;/A&gt;, please share how you change the content of the configuration file? any specify command to use?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 00:08:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155208#M40837</guid>
      <dc:creator>sasi_c07</dc:creator>
      <dc:date>2017-01-27T00:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start ambari-server - password authentication failed for user "ambari"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155209#M40838</link>
      <description>&lt;P&gt;hi &lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823" target="_blank"&gt;@jss&lt;/A&gt; &amp;amp; &lt;A rel="user" href="https://community.cloudera.com/users/5322/xavierlieutier.html" nodeid="5322" target="_blank"&gt;@xli&lt;/A&gt;, tried the step. and im getting the below error. i am missing any configuration?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11803-postgresql-password.png" style="width: 1002px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20965iA624E12294710807/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11803-postgresql-password.png" alt="11803-postgresql-password.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:29:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-ambari-server-password-authentication-failed/m-p/155209#M40838</guid>
      <dc:creator>sasi_c07</dc:creator>
      <dc:date>2019-08-18T12:29:06Z</dc:date>
    </item>
  </channel>
</rss>

