Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Ambari-Server error on restart: Unable to find stack definitions under stackRoot

avatar
New Member

Hi,

After restarting ambari server, it failed to launch and we started to have following error:

Ambari database consistency check started...
No errors were found.
ERROR: Exiting with exit code 1.
REASON: Database check failed to complete. Please check /var/log/ambari-server/ambari-server.log and /var/log/ambari-server/ambari-server-check-database.log for more information. 
In logs, we can find this:
Error injecting constructor, org.apache.ambari.server.AmbariException: Unable to find stack definitions under stackRoot = /var/lib/ambari-server/resources/stacks

Has anyone encounter this error before? What might be the reason why it happened and what are the possible solutions?

We're using HDF 2.0 on RHEL7

1 ACCEPTED SOLUTION

avatar

@ymoiseev

I faced the same issue and the issue was in my problem is with export the /etc/amba-server/conf of ambari and restart the postgres.

View solution in original post

2 REPLIES 2

avatar

@ymoiseev

I faced the same issue and the issue was in my problem is with export the /etc/amba-server/conf of ambari and restart the postgres.

avatar
Visitor

Hello Ashnee,

could you please provide a little more information ?

Best Regards

Abdou