<?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: Ambar-server start failes with &amp;quot;DB configs consistency check failed&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131106#M47634</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/1672/brianramsel.html" nodeid="1672"&gt;@Brian Ramsel&lt;/A&gt;&lt;P&gt;Did you remove ZEPPELIN and AMBARI_METRICS from Ambari in past by any chance?&lt;/P&gt;&lt;P&gt;If that is the case, some traces might have left in Ambari DB.&lt;/P&gt;&lt;P&gt;Can you please follow below steps:&lt;/P&gt;&lt;P&gt;1. Take backup of Ambari DB to be on safer side.&lt;/P&gt;&lt;P&gt;2. Login to Ambari DB, check below tables and remove any leftover traces of AMBARI_METRICS and ZEPPELIN&lt;/P&gt;&lt;PRE&gt;hostcomponentstate
hostcomponentdesiredstate
servicecomponentdesiredstate
servicedesiredstate
serviceconfighosts
serviceconfigmapping
serviceconfig
requestresourcefilter
requestoperationlevel
clusterservices
clusterconfig&lt;/PRE&gt;&lt;P&gt;Hope this information helps!  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2016 03:22:20 GMT</pubDate>
    <dc:creator>KuldeepK</dc:creator>
    <dc:date>2016-12-01T03:22:20Z</dc:date>
    <item>
      <title>Ambar-server start failes with "DB configs consistency check failed"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131105#M47633</link>
      <description>&lt;P&gt;Recently we have been dealing with some server issues I believe we may have lost power at some point.  Upon starting the ambari-server I am met with the "DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip" message.  The message from /var/log/ambari-server/ambari-server-check-database.log is:&lt;/P&gt;&lt;P&gt;2016-11-30 09:25:53,306  INFO - ******************************* Check database started ******************************* &lt;/P&gt;&lt;P&gt;2016-11-30 09:25:57,570  INFO - Checking for configs not mapped to any cluster &lt;/P&gt;&lt;P&gt;2016-11-30 09:25:57,593  INFO - Checking for configs selected more than once &lt;/P&gt;&lt;P&gt;2016-11-30 09:25:57,595  INFO - Checking for hosts without state &lt;/P&gt;&lt;P&gt;2016-11-30 09:25:57,596  INFO - Checking host component states count equals host component desired states count &lt;/P&gt;&lt;P&gt;2016-11-30 09:25:57,598  INFO - Checking services and their configs &lt;/P&gt;&lt;P&gt;2016-11-30 09:26:02,972 ERROR - You have non selected configs: ams-hbase-log4j,ams-hbase-security-site,ams-hbase-policy,ams-log4j for service AMBARI_METRICS from cluster slush! &lt;/P&gt;&lt;P&gt;2016-11-30 09:26:02,973 ERROR - You have non selected configs: zeppelin-config,zeppelin-ambari-config for service ZEPPELIN from cluster slush! &lt;/P&gt;&lt;P&gt;2016-11-30 09:26:02,973  INFO - ******************************* Check database completed ******************************* &lt;/P&gt;&lt;P&gt;2016-11-30 09:26:12,880  INFO - Checking DB store version &lt;/P&gt;&lt;P&gt;2016-11-30 09:26:13,360  INFO - DB store version is compatible&lt;/P&gt;&lt;P&gt;I have started ambari-server with the "--skip-database-check" option however upon start up no services are show to be in the cluster.  I have tried re-adding the services but end up with a server error and stopping at "Preparing to deploy: 18 of 18 tasks completed.&lt;/P&gt;&lt;P&gt;Any advice or path forward would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 22:53:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131105#M47633</guid>
      <dc:creator>brian_ramsel</dc:creator>
      <dc:date>2016-11-30T22:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambar-server start failes with "DB configs consistency check failed"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131106#M47634</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1672/brianramsel.html" nodeid="1672"&gt;@Brian Ramsel&lt;/A&gt;&lt;P&gt;Did you remove ZEPPELIN and AMBARI_METRICS from Ambari in past by any chance?&lt;/P&gt;&lt;P&gt;If that is the case, some traces might have left in Ambari DB.&lt;/P&gt;&lt;P&gt;Can you please follow below steps:&lt;/P&gt;&lt;P&gt;1. Take backup of Ambari DB to be on safer side.&lt;/P&gt;&lt;P&gt;2. Login to Ambari DB, check below tables and remove any leftover traces of AMBARI_METRICS and ZEPPELIN&lt;/P&gt;&lt;PRE&gt;hostcomponentstate
hostcomponentdesiredstate
servicecomponentdesiredstate
servicedesiredstate
serviceconfighosts
serviceconfigmapping
serviceconfig
requestresourcefilter
requestoperationlevel
clusterservices
clusterconfig&lt;/PRE&gt;&lt;P&gt;Hope this information helps!  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 03:22:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131106#M47634</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-12-01T03:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambar-server start failes with "DB configs consistency check failed"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131107#M47635</link>
      <description>&lt;P&gt;Thank you.  This worked out just need a little sql know how to handle the serviceconfigmapping.  Thanks again for the quick response!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 04:41:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131107#M47635</guid>
      <dc:creator>brian_ramsel</dc:creator>
      <dc:date>2016-12-01T04:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ambar-server start failes with "DB configs consistency check failed"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131108#M47636</link>
      <description>&lt;P&gt;This is what I ran to clean up the issue on my ambari database, thank you for the post:&lt;/P&gt;&lt;P&gt;delete from ambari.serviceconfigmapping where service_config_id in (select service_config_id from ambari.serviceconfig where service_name in ('PXF','HAWQ','ZEPPELIN')); &lt;/P&gt;&lt;P&gt;delete from ambari.hostcomponentstate where service_name in ('PXF','HAWQ','ZEPPELIN'); &lt;/P&gt;&lt;P&gt;delete from ambari.hostcomponentdesiredstate where service_name in ('PXF','HAWQ','ZEPPELIN'); &lt;/P&gt;&lt;P&gt;delete from ambari.servicecomponentdesiredstate where service_name in ('PXF','HAWQ','ZEPPELIN'); &lt;/P&gt;&lt;P&gt;delete from ambari.servicedesiredstate where service_name in ('PXF','HAWQ','ZEPPELIN'); &lt;/P&gt;&lt;P&gt;delete from ambari.serviceconfig where service_name in ('PXF','HAWQ','ZEPPELIN'); &lt;/P&gt;&lt;P&gt;delete from ambari.requestresourcefilter where service_name in ('PXF','HAWQ','ZEPPELIN'); &lt;/P&gt;&lt;P&gt;delete from ambari.requestoperationlevel where service_name in ('PXF','HAWQ','ZEPPELIN'); &lt;/P&gt;&lt;P&gt;delete from ambari.clusterservices where service_name in ('PXF','HAWQ','ZEPPELIN');&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:50:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambar-server-start-failes-with-quot-DB-configs-consistency/m-p/131108#M47636</guid>
      <dc:creator>jhorsch</dc:creator>
      <dc:date>2017-01-30T23:50:21Z</dc:date>
    </item>
  </channel>
</rss>

