- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ambari-agent failing to come up....
- Labels:
-
Apache Ambari
Created ‎10-23-2015 09:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What OS are you running on?
Created ‎10-23-2015 10:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Hassan Do you have commands handy? I did yum -y install ambari-agent and it fixed it
Created ‎02-19-2016 09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran into similar issue and did what Miraj said, it works!
