Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

When attempting to add abari-agent: Can't find HostCleanup.py

avatar
Explorer

When trying to add an agent I get warning messages: 64534-screen-shot-2018-03-07-at-14602-pm.png

The command I am trying to execute:

python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip=users

When looking for the file i notice that ambari_agent doesn't exist under site-packages

[root@HOST usr]# ls /usr/lib/python2.6/site-packages/
resource_management  resource_monitoring

Did I install the ambari-agent incorrectly? How do i get HostCleanup.py?

[root@HOST usr]# yum info ambari-server
Loaded plugins: langpacks, ulninfo
Installed Packages
Name        : ambari-server
Arch        : x86_64
Version     : 2.6.1.3
Release     : 3
Size        : 781 M
Repo        : installed
From repo   : ambari-2.6.1.3
Summary     : Ambari Server
URL         : http://www.apache.org
License     : (c) Apache Software Foundation
Description : Maven Recipe: RPM Package.
1 ACCEPTED SOLUTION

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
1 REPLY 1

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login