ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Busse (JIRA) <j...@apache.org>
Subject [jira] [Commented] (AMBARI-20324) hdp: Wrong permissions on /var/run/ambari-server when not running as root
Date Mon, 06 Mar 2017 17:59:32 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-20324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897738#comment-15897738
] 

Björn Busse commented on AMBARI-20324:
--------------------------------------

This leads to errors e.g. when installing new services:

"Error occured during stack advisor command invocation: Cannot create /var/run/ambari-server/stack-recommendations"

because /var/run/ambari-server is owned by root:root

> hdp: Wrong permissions on /var/run/ambari-server when not running as root
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-20324
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20324
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.1
>            Reporter: Björn Busse
>
> /var/run/ambari-server has wrong permissions when not running as root.
> The user under which ambari-server is running (ambari-server.user) should own /var/run/ambari-server
> $ cat /etc/ambari-server/conf/ambari.properties | grep server.user
> ambari-server.user=ambari



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message