Trafodion安装Python安装程序的问题
问题描述:
我是trafodion的新手,我尝试根据apache的trafodion网站在python安装程序上在CDH 5.7上安装traofdion。Trafodion安装Python安装程序的问题
[[email protected] 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和主机名被修正
[[email protected] python-installer]# hostname
node1.trafodion.local
[[email protected] 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服务正在运行
[[email protected] python-installer]# service sshd status
openssh-daemon (pid 3480) is running...
3.每两个节点可以使用密码的ssh
4.sshpass未安装
[[email protected] python-installer]# sshpass
-bash: sshpass: command not found
谢谢你的帮助。
丹尼尔
答
请尝试ssh到NODE1 ..节点4使用手动root
用户,它会更容易检测到任何ssh登录的问题。如果手动ssh可以工作,安装程序也应该工作。
我再次检查并发现我错过了将rsa密钥添加到node1本身。现在它正在工作。非常感谢。 – XCD