Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 10-23-2015 09:38 PM
While starting the agent on a new node, I get the following:
Checking for previously running Ambari Agent...
Starting ambari-agent
Verifying ambari-agent process status...
ERROR: ambari-agent start failed. For more details, see /var/log/ambari-agent/ambari-agent.out:
====================
File "/usr/lib/python2.6/site-packages/ambari_agent/NetUtil.py", line 21, 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
File "/usr/lib/python2.6/site-packages/ambari_commons/__init__.py", line 21, in <module>
"""
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 133, in <module>
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 115, in __init__
File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 112, in initialize_data
Exception: Couldn't load 'os_family.json' file
Created 10-23-2015 10:05 PM
fixed the issue. I realized that I uninstalled the ambari-server where some of the python libraries symobolic links where sill pointing to the ambari-server folder. recreated the symbolic links in the site-packages to point to ambari-agent folder and that fixed it.
Created 10-23-2015 09:43 PM
What OS are you running on?
Created 10-23-2015 10:05 PM
fixed the issue. I realized that I uninstalled the ambari-server where some of the python libraries symobolic links where sill pointing to the ambari-server folder. recreated the symbolic links in the site-packages to point to ambari-agent folder and that fixed it.
Created 01-25-2016 09:00 PM
@Hassan Do you have commands handy? I did yum -y install ambari-agent and it fixed it
Created 02-19-2016 09:39 AM
Just go and remove all ambari* from /usr/lib/python2.6/site-packages, then
yum remove ambari-agent
yum install ambari-agent
Created 09-12-2016 03:57 AM
I ran into similar issue and did what Miraj said, it works!