I installed Ambari server 220.127.116.11. But previously i installed in same server older version of ambari (18.104.22.168) by mistake and cleaned completely based on one of the article given here. Now I started fresh installation , after Ambari setup , I got below error, when I try to start Ambari-server
AmbariServer:1073 - Failed to run the Ambari Server org.apache.ambari.server.AmbariException: Current database store version is not compatible with current server version, serverVersion=22.214.171.124, schemaVersion=126.96.36.199 at org.apache.ambari.server.checks.DatabaseConsistencyCheckHelper.checkDBVersionCompatible(DatabaseConsistencyCheckHelper.java:245) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1058)
Current database store version is not compatible with current server version, serverVersion=188.8.131.52, schemaVersion=184.108.40.206
The above error indicates that the Ambari Database Schema version is still pointing to old ambari 220.127.116.11 .... Means even if you have installed the Ambari binary 18.104.22.168 but the "metainfo" table of your ambari database still points to 22.214.171.124.
So in order to fix that you should try "ambari-server upgrade" command first (so that all the other tables also get refreshed and modified by the ambari 2.6) before starting the ambari server sothat the ambari DB schema gets upgraded to 2.6.
# ambari-server upgrade # ambari-server start