1
我是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
謝謝你的幫助。
丹尼爾
我再次檢查並發現我錯過了將rsa密鑰添加到node1本身。現在它正在工作。非常感謝。 – XCD