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]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

/usr/bin/env: ambari-python-wrap: No such file or directory

avatar
Contributor

Dear Community,

 

I am trying to install an ambari cluster using Use Public Repository.

I have already configured the Password Less on all the servers and I could connect from ambari node to the others using ssh root@node1,2...

I copied the right ssh private key however the confirmation of hosts failed with:

 

Error while bootstrapping:
/usr/bin/env: ambari-python-wrap: No such file or directory



 I could not find any ambari-agent folder , should I have? I did not install agent manually ..

 

Please help

Thanks and Regards

1 ACCEPTED SOLUTION

avatar
Master Mentor

@asmarz 

Can you try this once.

Copy the "/var/lib/ambari-server/create-python-wrap.sh" file from Ambari Server node and then Place it on the problematic Agent node at "/var/lib/ambari-agent/tmp/create-python-wrap.sh" and then again try to run the same command again and then verify if it creates the link?

# sh -x /var/lib/ambari-agent/tmp/create-python-wrap.sh

.

Also pleas verify if you are using correct ambari agent binary on the host?

# rpm -qa | grep ambari
# grep ambari /var/log/yum.log

 

.

 

View solution in original post

11 REPLIES 11

avatar
Contributor

on all servers i have this 😞

 

[root@luapp698 tmp]# grep run_as /etc/ambari-agent/conf/ambari-agent.ini
run_as_user=root
[root@luapp698 tmp]# ^C
[root@luapp698 tmp]# ambari-agent start
bash: /var/lib/ambari-agent/bin/ambari-agent: Permission denied

avatar
Contributor

Should be the noexec ?