ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krish Donald <gotomyp...@gmail.com>
Subject Re: Ambari 1.7 error while registering
Date Wed, 21 Jan 2015 20:03:53 GMT
Hi Srimanth,

I am able to ssh without password from master to slave1, slave2 and slave 3
and vice versa.

Is there anything I should check?

On Wed, Jan 21, 2015 at 11:25 AM, Srimanth Gunturi <srimanth@hortonworks.com
> wrote:

> 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 <nalex@pivotal.io> 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 <gotomypc27@gmail.com>
>> 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.

Mime
View raw message