- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
500 status code received on GET method for API: /api/v1/stacks/HDP/versions/2.3/recommendations
- Labels:
-
Apache Ambari
Created ‎03-01-2016 08:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎03-01-2016 08:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This got resolved after I granted permission to /var/run/ambari-server
Created ‎03-01-2016 08:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Swapnil Prabhu what does the ambari server log say? I'd give it a bit of time and try again.
Created ‎03-01-2016 08:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This got resolved after I granted permission to /var/run/ambari-server
Created ‎03-03-2016 01:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
Created ‎11-20-2016 11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try: sudo chown -R ambari /var/run/ambari-server
Created ‎10-11-2016 06:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you grant a particular user execute permission ? Please be more specific.
Created ‎05-24-2019 08:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
