[
https://issues.apache.org/jira/browse/AMBARI-12386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Onischuk resolved AMBARI-12386.
--------------------------------------
Resolution: Fixed
Committed to trunk and branch-2.1
> After running as root, ambari-agent won't start or stop as non-root
> -------------------------------------------------------------------
>
> Key: AMBARI-12386
> URL: https://issues.apache.org/jira/browse/AMBARI-12386
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.1
>
>
> ambari-agent successfully stopped
> Verifying Python version compatibility...
> Using python /usr/bin/python2.6
> Checking for previously running Ambari Agent...
> cat: /var/run/ambari-agent/ambari-agent.pid: Permission denied
> /var/run/ambari-agent/ambari-agent.pid found with no process. Removing ...
> rm: cannot remove `/var/run/ambari-agent/ambari-agent.pid': Permission
> denied
> Starting ambari-agent
> Verifying ambari-agent process status...
> ERROR: ambari-agent start failed. For more details, see
> /var/log/ambari-agent/ambari-agent.out:
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)