Ssh 使用Python安装程序安装Trafodion时遇到的问题

Ssh 使用Python安装程序安装Trafodion时遇到的问题,ssh,Ssh,我是trafodion的新手,我正在尝试根据ApacheTrafodion站点使用python安装程序在CDH5.7上安装traofdion [root@node1 python-installer]# ./db_install.py ********************************** Trafodion Installation ToolKit ********************************** Enter HDP/CDH web manager URL:p

我是trafodion的新手,我正在尝试根据ApacheTrafodion站点使用python安装程序在CDH5.7上安装traofdion

[root@node1 python-installer]# ./db_install.py
**********************************
Trafodion Installation ToolKit
**********************************
Enter HDP/CDH web manager URL:port, (full URL, if no http/https prefix, default prefix is http://): http://10.1.1.10:7180
Enter HDP/CDH web manager user name [admin]:
Enter HDP/CDH web manager user password:
Confirm Enter HDP/CDH web manager user password:

***[ERROR]: Host [node1]: Failed to connect using ssh. Be sure:
1. Remote host's name and IP is configured correctly in /etc/hosts.
2. Remote host's sshd service is running.
3. Passwordless SSH is set if not using 'enable-pwd' option.
4. 'sshpass' tool is installed and ssh password is correct if using 'enable-pwd' option.
还要检查这些错误 1./etc/hosts和主机名已更正

[root@node1 python-installer]# hostname
node1.trafodion.local
[root@node1 python-installer]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.1.1.10 node1.trafodion.local node1
10.1.1.11 node2.trafodion.local node2
10.1.1.12 node3.trafodion.local node3
10.1.1.13 node4.trafodion.local node4
二,。sshd服务正在运行

[root@node1 python-installer]# service sshd status
openssh-daemon (pid  3480) is running...
三,。每两个节点都可以使用无密码ssh

4.未安装sshpass

[root@node1 python-installer]# sshpass
-bash: sshpass: command not found
谢谢你的帮助


Daniel

请尝试通过ssh连接到node1。。node4手动使用
root
user,可以更容易地检测任何ssh登录问题。如果手动ssh可以工作,安装程序也应该可以工作。

请尝试ssh到node1。。node4手动使用
root
user,可以更容易地检测任何ssh登录问题。如果手动ssh可以工作,安装程序也应该可以工作。

我再次检查,发现我没有将rsa密钥添加到节点1本身。现在它正在工作。非常感谢。我再次检查,发现我没有将rsa密钥添加到节点1本身。现在它正在工作。非常感谢你。