<?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 how to resolve the DB configs consistency check failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240906#M202710</link>
    <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;we have a problem to start the ambari server&lt;/P&gt;&lt;P&gt;we try to start the ambari server after removing some services from ambari&lt;/P&gt;&lt;P&gt;for now we get the error as&lt;/P&gt;&lt;PRE&gt;
DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip. You may try --auto-fix-database flag to attempt to fix issues automatically. If you use this "--skip-database-check" option, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See /var/log/ambari-server/ambari-server-check-database.log for more details on the consistency issues.
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process has stopped. Please check the logs for more information.
You have mail in &lt;/PRE&gt;&lt;P&gt;we try also the flag --auto-fix-database  ( but not help )&lt;/P&gt;&lt;PRE&gt;[root@master ~]# ambari-server restart
Using python  /usr/bin/python
Restarting ambari-server
Waiting for server stop...
Ambari Server stopped
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start............
DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip. You may try --auto-fix-database flag to attempt to fix issues automatically. If you use this "--skip-database-check" option, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See /var/log/ambari-server/ambari-server-check-database.log for more details on the consistency issues.
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process has stopped. Please check the logs for more information.
You have mail in /var/spool/mail/root




[root@master ~]# ambari-server restart --auto-fix-database
Using python  /usr/bin/python
Restarting ambari-server
Ambari Server is not running
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start............
DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip. You may try --auto-fix-database flag to attempt to fix issues automatically. If you use this "--skip-database-check" option, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See /var/log/ambari-server/ambari-server-check-database.log for more details on the consistency issues.
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process has stopped. Please check the logs for more information.




[root@master ~]# ambari-server start --skip-database-check
Using python  /usr/bin/python
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari Server is starting with the database consistency check skipped. Do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See "/var/log/ambari-server/ambari-server-check-database.log" for more details on the consistency issues.
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start.........................
Server started listening on 8080
Ambari Server 'start' completed successfully.&lt;/PRE&gt;&lt;P&gt;and finally we not have choice and we start the ambari  with skip --database check&lt;/P&gt;&lt;PRE&gt;ambari-server start --skip-database-check&lt;/PRE&gt;&lt;P&gt;so what  the steps that neded in order to fix this isshue ?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 05:02:06 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2018-12-21T05:02:06Z</dc:date>
    <item>
      <title>how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240906#M202710</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;we have a problem to start the ambari server&lt;/P&gt;&lt;P&gt;we try to start the ambari server after removing some services from ambari&lt;/P&gt;&lt;P&gt;for now we get the error as&lt;/P&gt;&lt;PRE&gt;
DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip. You may try --auto-fix-database flag to attempt to fix issues automatically. If you use this "--skip-database-check" option, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See /var/log/ambari-server/ambari-server-check-database.log for more details on the consistency issues.
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process has stopped. Please check the logs for more information.
You have mail in &lt;/PRE&gt;&lt;P&gt;we try also the flag --auto-fix-database  ( but not help )&lt;/P&gt;&lt;PRE&gt;[root@master ~]# ambari-server restart
Using python  /usr/bin/python
Restarting ambari-server
Waiting for server stop...
Ambari Server stopped
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start............
DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip. You may try --auto-fix-database flag to attempt to fix issues automatically. If you use this "--skip-database-check" option, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See /var/log/ambari-server/ambari-server-check-database.log for more details on the consistency issues.
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process has stopped. Please check the logs for more information.
You have mail in /var/spool/mail/root




[root@master ~]# ambari-server restart --auto-fix-database
Using python  /usr/bin/python
Restarting ambari-server
Ambari Server is not running
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start............
DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip. You may try --auto-fix-database flag to attempt to fix issues automatically. If you use this "--skip-database-check" option, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See /var/log/ambari-server/ambari-server-check-database.log for more details on the consistency issues.
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process has stopped. Please check the logs for more information.




[root@master ~]# ambari-server start --skip-database-check
Using python  /usr/bin/python
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari Server is starting with the database consistency check skipped. Do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See "/var/log/ambari-server/ambari-server-check-database.log" for more details on the consistency issues.
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start.........................
Server started listening on 8080
Ambari Server 'start' completed successfully.&lt;/PRE&gt;&lt;P&gt;and finally we not have choice and we start the ambari  with skip --database check&lt;/P&gt;&lt;PRE&gt;ambari-server start --skip-database-check&lt;/PRE&gt;&lt;P&gt;so what  the steps that neded in order to fix this isshue ?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 05:02:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240906#M202710</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-21T05:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240907#M202711</link>
      <description>&lt;P&gt;
	Hi &lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;
	Can you please in /var/log/ambari-server/ambari-server-check-database.log and see what exception you are hitting.&lt;/P&gt;&lt;P&gt;
	You can refer to following article if you are having same warning : &lt;A href="https://community.hortonworks.com/articles/227486/how-to-fix-database-consistency-warnings-in-ambari.html" target="_blank"&gt;https://community.hortonworks.com/articles/227486/how-to-fix-database-consistency-warnings-in-ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
	If this is not the warning, please give the server log  snippet in this thread and tag me too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P style="color:green"&gt;
	&lt;STRONG&gt;If this comment helps you please accept my answer&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 11:10:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240907#M202711</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-12-21T11:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240908#M202712</link>
      <description>&lt;P&gt;regarding the article - what is the login/password before running SELECT commands and how to get the SHELL ?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 14:46:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240908#M202712</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-21T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240909#M202713</link>
      <description>&lt;P&gt;in case we have the following warning , then how should be the commands of SELECT ?&lt;/P&gt;&lt;PRE&gt;&amp;lt;br&amp;gt;2018-12-20 20:32:50,045  WARN - You have config(s): [LOT_SER, GOP_SER] that is(are) not mapped (in clusterconfigmapping table) to any cluster!
2018-12-20 20:32:50,061  WARN - Service BON_SER is not available for stack HDP-2.6 in cluster HDP&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 15:28:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240909#M202713</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-21T15:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240910#M202714</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You need to login to ambari database to perform the steps mentioned in the article.&lt;/P&gt;&lt;P&gt;If your database is postgresql you need to login like this :&lt;/P&gt;&lt;PRE&gt;[root@alatestambari1 tmp]# psql -U ambari ambari
Password for user ambari: &amp;lt;default password is bigdata&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;and execute the commands as mentioned there.&lt;/P&gt;&lt;P&gt;If you are using non-default databases it depends on your database :&lt;/P&gt;&lt;P&gt;for ex: mysql&lt;/P&gt;&lt;PRE&gt;[root@alatestambari1 tmp]#mysql -u ambari ambari&lt;BR /&gt;password: &amp;lt;password of user ambari&amp;gt;&lt;BR /&gt;ambari=&amp;gt; use ambari;&lt;/PRE&gt;&lt;P&gt;Please see if this is helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 15:37:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240910#M202714</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-12-21T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240911#M202715</link>
      <description>&lt;P&gt;about the warning as :&lt;/P&gt;&lt;P&gt;what should be the releb]vant SQL command? &lt;/P&gt;&lt;PRE&gt;LOT_SER, GOP_SER , BON_SER &amp;lt;-- they are services&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;br&amp;gt;2018-12-20 20:32:50,045  WARN - You have config(s): [LOT_SER, GOP_SER] that is(are) not mapped (in clusterconfigmapping table) to any cluster!
2018-12-20 20:32:50,061  WARN - Service BON_SER is not available for stack HDP-2.6 in cluster HDP

&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 15:50:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240911#M202715</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-21T15:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240912#M202716</link>
      <description>&lt;P&gt;I have also this warning - maybe this is more relevant &lt;/P&gt;&lt;PRE&gt;WARN - You have config(s): MOON_SERVICE-version1530186236790,MOON_SERVICE-version1530714719817475,MOON_SERVICE-version1530714831573,MOON_SERVICE-version1530174193259482,JWE_SER-version1545298738838,GFT_SER-version1529923094645387,MOON_SERVICE-version1529922706468805,MOON_SERVICE-version1530108940699945,MOON_SERVICE-version1531392078026,GFT_SER-version1545298738838 that is(are) not mapped (in serviceconfigmapping table) to any service!

while the article talk about this warning

WARN - You have config(s): webhcat-site-version1540591929056,webhcat-log4j-version1540591928580,hive-exec-log4j-version1540591929168,webhcat-env-version1540591929289,hive-log4j-version1540591929465,hcat-env-version1540591928892 that is(are) not mapped (in serviceconfigmapping table) to any service!




&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:05:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240912#M202716</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-21T16:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240913#M202717</link>
      <description>&lt;P&gt;
	Hi &lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;,,
&lt;/P&gt;
&lt;P&gt;
	Basically this error happens due to some orphan configs in your database that is not linked to any service.
&lt;/P&gt;
&lt;P&gt;
	you can ignore those warnings if required or fix it as mentioned in article abouve.
&lt;/P&gt;
&lt;P&gt;
	you can take a backup of your database if you are worried to do it.
&lt;/P&gt;
&lt;P&gt;
	and yes these warnings are related .
&lt;/P&gt;
&lt;P style="color:green"&gt;
	&lt;STRONG&gt;Please accept answer if it helped.&lt;/STRONG&gt;
&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 17:06:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240913#M202717</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-12-21T17:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240914#M202718</link>
      <description>&lt;P&gt;meanwhile I cant ignore because the ambari server not start , so I need to fix it&lt;/P&gt;&lt;P&gt;since article not slimier to my warning , I just want to know how to do  as explained in the article but change the syntax  according to the warning as get                    &lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 17:11:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240914#M202718</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-21T17:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240915#M202719</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;refer to this article : &lt;A href="https://community.hortonworks.com/articles/227486/how-to-fix-database-consistency-warnings-in-ambari.html" target="_blank"&gt;https://community.hortonworks.com/articles/227486/how-to-fix-database-consistency-warnings-in-ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The solution given here is irrespective of any config, it will work 100% for your DB warning too. &lt;/P&gt;&lt;P&gt;its taking backup of your orphaned configs and making the value mapped=1.&lt;/P&gt;&lt;P&gt;Please let me know if it doesnt work.&lt;/P&gt;&lt;P&gt;You can take backup if you are afraid to do so.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 17:55:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240915#M202719</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-12-21T17:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240916#M202720</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;@Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Do you remember the components you removed?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 19:15:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240916#M202720</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-12-21T19:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to resolve the DB configs consistency check failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240917#M202721</link>
      <description>&lt;P&gt;yes  they are:&lt;/P&gt;&lt;PRE&gt;MOON_SERVICE&lt;BR /&gt;JWE_SER&lt;BR /&gt;GFT_SER&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 19:55:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-resolve-the-DB-configs-consistency-check-failed/m-p/240917#M202721</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-21T19:55:12Z</dc:date>
    </item>
  </channel>
</rss>

