You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Björn Busse (JIRA)" <ji...@apache.org> on 2017/03/06 17:59:32 UTC
[jira] [Commented] (AMBARI-20324) hdp: Wrong permissions on
/var/run/ambari-server when not running as root
[ 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)