Support Questions

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

500 status code received on GET method for API: /api/v1/stacks/HDP/versions/2.3/recommendations

avatar
Contributor

I restarted my Ambari based cluster and trying to navigate to any service I am getting this error

500 status codereceived on GET method for API: /api/v1/stacks/HDP/versions/2.3/recommendations

What can be possible reasons for this

1 ACCEPTED SOLUTION

avatar
Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
6 REPLIES 6

avatar
Master Mentor

@Swapnil Prabhu what does the ambari server log say? I'd give it a bit of time and try again.

avatar
Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar

@Swapnil Prabhu What do you mean by granting permission to /var/run/ambari-server ? Did you grant a particular user execute permission ? Please be more specific.

avatar
New Contributor

Try: sudo chown -R ambari /var/run/ambari-server

avatar

@Swapnil Prabhu

Did you grant a particular user execute permission ? Please be more specific.

avatar
Contributor

Step 1: cat /etc/ambari-server/conf/ambari.properties | grep ambari-server.user.

Know the user from above command.


Step 2: change user /var/run/ambari-server

chown -R <output of above command> /var/run/ambari-server