Hello,
Assuming that the /etc/hosts on each of the 3 machines has the correct IP
addresses, and you can manually ssh using the same key from 'master.my.com'
to 'slave1.my.com'?
Regards,
Srimanth




On Wed, Jan 21, 2015 at 11:14 AM, Newton Alex <[email protected]> wrote:

> Was the passwordless ssh set up for "root" user?
>
> If yes, check if the /etc/ssh/sshd_config has "PermitRootLogin" enabled?
>
> -
> Newton
>
> On Wed, Jan 21, 2015 at 10:06 AM, Krish Donald <[email protected]>
> wrote:
>
>> Hi,
>>
>> I have installed Ambari 1.7 but when I am trying to setup the cluster I
>> am getting below error. I have correctly setup passwordless ssh correctly I
>> am able to ssh to all my three slave nodes without password . Not sure why
>> I am getting below error . Please suggest .
>>
>> ********************************************************
>> ==========================
>> Creating target directory...
>> ==========================
>> Command start time 2015-01-21 12:57:04
>> Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
>> SSH command execution finished
>> host=master.my.com, exitcode=255
>> Command end time 2015-01-21 12:57:04
>> ERROR: Bootstrap of host master.my.com fails because previous action
>> finished with non-zero exit code (255)
>> ERROR MESSAGE: Permission denied
>> (publickey,gssapi-keyex,gssapi-with-mic,password).
>> STDOUT:
>> Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
>>
>> *************************************************************
>>
>> Below is some messages which I got from the log:
>>
>> INFO:root:BootStrapping hosts ['master.my.com', 'slave1.my.com', '
>> slave2.my.com'] using /usr/lib/python2.6/site-packages/ambari_server
>> cluster primary OS: redhat6 with
>> user 'root' sshKey File /var/run/ambari-server/bootstrap/9/sshKey
>> password File null using tmp dir /var/run/ambari-server/bootstrap/9 ambari:
>> master.my.com; server_port
>> : 8080; ambari version: 1.7.0
>>
>> Thanks
>> Krish
>>
>>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to