You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/06/08 12:10:20 UTC
[jira] [Updated] (AMBARI-17116) Ambari-agent could not successfully
restart on non-root after running as root
[ https://issues.apache.org/jira/browse/AMBARI-17116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk updated AMBARI-17116:
-------------------------------------
Summary: Ambari-agent could not successfully restart on non-root after running as root (was: Heartbeat lost of ambari agent during install)
> 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
>
> Attachments: AMBARI-17116.patch
>
>
> The issue is caused by 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
>
>
> Live cluster with the issue :
> <http://172.22.106.218:8080/>
> For the agent machines :
> 172.22.106.218 os-r7-sbhat-ambari-hosts-3-5.openstacklocal os-r7-sbhat-ambari-
> hosts-3-5 os-r7-sbhat-ambari-hosts-3-5.openstacklocal.
> 172.22.106.217 os-r7-sbhat-ambari-hosts-3-1.openstacklocal os-r7-sbhat-ambari-
> hosts-3-1 os-r7-sbhat-ambari-hosts-3-1.openstacklocal.
> 172.22.106.216 os-r7-sbhat-ambari-hosts-3-2.openstacklocal os-r7-sbhat-ambari-
> hosts-3-2 os-r7-sbhat-ambari-hosts-3-2.openstacklocal.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)