Support Questions

Find answers, ask questions, and share your expertise

/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 ?