[ 
https://issues.apache.org/jira/browse/AMBARI-17116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Onischuk updated AMBARI-17116:
-------------------------------------
    Attachment:     (was: AMBARI-17116.patch)

> Ambari-agent could not successfully restart on non-root after running as root
> -----------------------------------------------------------------------------
>
>                 Key: AMBARI-17116
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17116
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>
> The issue is caused QE restarting ambari-agent and after it is stopped it
> cannot start with:
>     
>     
>     Restarting ambari-agent
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python
>     ambari-agent is not running. No PID found at 
> /var/run/ambari-agent/ambari-agent.pid
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python
>     Checking for previously running Ambari Agent...
>     Starting ambari-agent
>     /usr/sbin/ambari-agent: line 172: /var/log/ambari-agent/ambari-agent.out: 
> Permission denied
>     Verifying ambari-agent process status...
>     ERROR: ambari-agent start failed. For more details, see 
> /var/log/ambari-agent/ambari-agent.out:
>     ====================
>     tail: cannot open ‘/var/log/ambari-agent/ambari-agent.out’ for reading: 
> Permission denied
>     ====================
>     Agent out at: /var/log/ambari-agent/ambari-agent.out
>     Agent log at: /var/log/ambari-agent/ambari-agent.log



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to