incubator-ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chadwick Banning <chadwickbann...@gmail.com>
Subject Re: Permission denied
Date Mon, 12 Aug 2013 17:53:35 GMT
Hi Youpeng,

You could also just generate the key as the root user on your Ambari server
and then authorize that key on each of the nodes.  You would then paste
that private key in for each deployed node.


On Mon, Aug 12, 2013 at 1:13 PM, Siddharth Wagle <swagle@hortonworks.com>wrote:

> Hi Youpeng,
>
> Did you use the private ssh key in the web UI?
> Make sure you can do a "ssh -i <your-private-key> <host-name>" from your
> ambari server host.
>
> You could try to register agents manually, here is the link to the
> instructions on how to do manual registration,
>
> http://incubator.apache.org/ambari/1.2.2/installing-hadoop-using-ambari/content/ambari-chap6-1.html
>
> -Sid
>
>
> On Sun, Aug 11, 2013 at 9:51 PM, youpeng yang <stanleyyang1987@gmail.com>wrote:
>
>> Hi All
>>
>>    Could  anybody  help me . Any suggestions will  be appreciated。
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: youpeng yang <stanleyyang1987@gmail.com>
>> Date: 2013/8/10
>> Subject: Permission denied
>> To: ambari-user@incubator.apache.org
>>
>>
>> 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 ['192.168.1.150']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/os_type_check.sh
>> root@192.168.1.150:/tmp/os_type_check1376134137.sh
>> INFO:root:scp
>> /usr/lib/python2.6/site-packages/ambari_server/os_type_check.sh done for
>> host 192.168.1.150, exitcode=1
>>
>>
>>    According to the above log, it will copy the os_type_check.sh to
>> root@192.168.1.150 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
>>
>>
>

Mime
View raw message