Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
Contributor

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
Explorer

Hello Ashnee,

could you please provide a little more information ?

Best Regards

Abdou