perhaps this can shed more light:
ERROR: ambari-agent start failed. For more details, see
/var/log/ambari-agent/ambari-agent.out:
====================
import hostname
File "/usr/lib/python2.6/site-packages/ambari_agent/hostname.py", line
24, in <module>
import AmbariConfig
File "/usr/lib/python2.6/site-packages/ambari_agent/AmbariConfig.py",
line 24, in <module>
from NetUtil import NetUtil
File "/usr/lib/python2.6/site-packages/ambari_agent/NetUtil.py", line 22,
in <module>
from HeartbeatHandlers import HeartbeatStopHandlers
File
"/usr/lib/python2.6/site-packages/ambari_agent/HeartbeatHandlers.py", line
21, in <module>
from ambari_commons.exceptions import FatalException
ImportError: No module named ambari_commons.exceptions
On Mon, May 4, 2015 at 2:54 PM, Artem Ervits <[email protected]> wrote:
> thanks Jun, results are the same if I use root and if I change permission
> of install-helper.sh and run yum reinstall, it will overwrite permissions
> to the original. Where would the logs be?
>
> On Mon, May 4, 2015 at 2:41 PM, jun aoki <[email protected]> wrote:
>
>> Hi Artem,
>>
>> Not knowing too much background context, I'd start to check the user you
>> use for the agent upgrade (yum upgrade??) and the permission of
>> /var/lib/ambari-agent/install-helper.sh, and use root to see if it
>> works.
>>
>> If you are using yum to upgrade, the log won't be in
>> /var/log/ambari-agent
>>
>> On Mon, May 4, 2015 at 6:09 AM, Artem Ervits <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>> I am trying to upgrade an agent from 1.4.4 to 2.0.0-151. I am getting
>>> the following error during install
>>>
>>> Running Transaction
>>> Installing : ambari-agent-2.0.0-151.x86_64
>>>
>>> 1/1
>>> /var/tmp/rpm-tmp.viOzTf: line 31:
>>> /var/lib/ambari-agent/install-helper.sh: Permission denied
>>> Verifying : ambari-agent-2.0.0-151.x86_64
>>>
>>> RHEL 6.5 machine. There are no new logs in /var/log/ambari-agent.
>>>
>>>
>>>
>>
>>
>> --
>> -jun
>>
>
>