使用Python安装程序安装Trafodion的问题

时间:2017-10-17 17:18:53

标签: ssh

我是trafodion的新手,我尝试使用python安装程序根据apache trafodion网站在CDH 5.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

2。 sshd服务正在运行

[root@node1 python-installer]# service sshd status
openssh-daemon (pid  3480) is running...

3。每两个节点都可以无密码ssh

4.sshpass未安装

[root@node1 python-installer]# sshpass
-bash: sshpass: command not found

感谢您的帮助。

丹尼尔

1 个答案:

答案 0 :(得分:0)

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