incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <>
Subject Re: Permission denied
Date Tue, 13 Aug 2013 06:32:43 GMT
Your question about not able to find
This is by design.  After Ambari uses it to connect to the target hosts, it
is deleted as we don't want to keep the private key on the Ambari server.
If you "ls" the bootstrap folder _while_ bootstrap is in progress, you will
see the sshKey file that you uploaded via the Web UI.


On Sat, Aug 10, 2013 at 5:18 AM, youpeng yang <>wrote:

> Hi All
>    I am trying the ambari.the installaion goes well.
>    I get stuck with the registration when it comes up the error log
>     Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
>   Also check the /var/log/ambari-server/ambari-server.log .
>     INFO:root:BootStrapping hosts ['']using
> /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: redhat6
> with user 'root' sshKey File /var/run/ambari-server/bootstrap/1/sshKey
> password File null using tmp dir /var/run/ambari-server/bootstrap/1 ambari:
> Hadoop; ambari version: 1.3.0
>     INFO:root:Running scp command scp -o ConnectTimeout=60 -o
> BatchMode=yes -o StrictHostKeyChecking=no -i
> /var/run/ambari-server/bootstrap/1/sshKey
> /usr/lib/python2.6/site-packages/ambari_server/
> root@
> INFO:root:scp
> /usr/lib/python2.6/site-packages/ambari_server/ done for
> host, exitcode=1
>    According to the above log, it will copy the to
> root@ through scp.
>    However,  the scp  i option  needs the identity_file
> -/var/run/ambari-server/bootstrap/1/sshKey , the sshKey does not exist
> under the directory  /var/run/ambari-server/bootstrap/1/.
>   So My question is :Why the sshKey does not exist., I pass the ssh
> Private key the Web page localhost:8080/#/installer/step2
> , but it is not used as the sshKey which I suppose that.
>      How to fix the error?
> Regards

View raw message