[
https://issues.apache.org/jira/browse/AMBARI-14643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095862#comment-15095862
]
Hudson commented on AMBARI-14643:
---------------------------------
SUCCESS: Integrated in Ambari-branch-2.2 #188 (See
[https://builds.apache.org/job/Ambari-branch-2.2/188/])
AMBARI-14643. Ambari agent dir is not recreated if /var/run/<ambari_dir>
(aonishuk:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d12ac74ded2349960ae4a09c1b99f826434e1a92])
* ambari-agent/src/main/python/ambari_agent/main.py
* ambari-agent/conf/unix/ambari-agent
> Ambari agent dir is not recreated if /var/run/<ambari_dir> is deleted on
> non-root agent
> ---------------------------------------------------------------------------------------
>
> Key: AMBARI-14643
> URL: https://issues.apache.org/jira/browse/AMBARI-14643
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.2.1
>
> Attachments: AMBARI-14643.patch
>
>
> On VM reboot, /var/run is re-created. But Ambari can't start w/o performing
> these commands manually first to re-create the directories.
>
>
>
> mkdir /var/run/ambari-agent
> chown ambari_qa:root /var/run/ambari-agent
> chmod 755 /var/run/ambari-agent
> service ambari-agent start
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)