gpt4 book ai didi

database - vertica 安装失败并出现 ssh 错误

转载 作者:搜寻专家 更新时间:2023-10-30 22:59:44 28 4
gpt4 key购买 nike

我正在尝试使用 /opt/vertica/sbin/install_vertica 脚本和以下命令安装 vertica /opt/vertica/sbin/install_vertica -s vertica001,vertica002,vertica003 -r/root/packages/vertica-6.0.1-7.x86_64.RHEL5.rpm

我遇到了以下错误

Vertica Analytic Database 6.0.1-7 Installation Tool
Starting installation tasks...
Getting system information for cluster (this may take a while)....
'failed to login to 172.16.10.212: EOF ERROR: Could not login with SSH. Here is what SSH said: (publickey,gssapi-keyex,gssapi-with-mic).\r\r\n'

Updating Nodes that are UP

'failed to login to 172.16.10.18: EOF ERROR: Could not login with SSH. Here is what SSH said: (publickey,gssapi-keyex,gssapi-with-mic).\r\r\n'

Updating Nodes that are UP

Removing 172.16.10.212,172.16.10.18 from hosts list
backing up admintools.conf on 172.16.10.52
Info: the package 'pstack' is useful during troubleshooting. Vertica recommends this package is installed.
Checking/fixing OS parameters.....

Error: No JSON object could be decoded
Traceback (most recent call last):
File "/opt/vertica/bin/verticaInstall.py", line 1187, in <module>
if not SSH.check_min_free_kbytes(installerSSH, fix=True):
File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SSH.py", line 2388, in check_min_free_kbytes
data =json.loads( ''.join(res[host][1]))
File "/opt/vertica/oss/python/lib/python2.7/json/__init__.py", line 310, in loads
return _default_decoder.decode(s)
File "/opt/vertica/oss/python/lib/python2.7/json/decoder.py", line 346, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/vertica/oss/python/lib/python2.7/json/decoder.py", line 364, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

我为 dbadmin 设置了无密码 ssh,它也有 sudo 访问权限。

我需要为 root 用户设置无密码 ssh 吗?我在这里缺少什么?

最佳答案

Do I need to have passwordless ssh for root user here ? what I am missing here ?

是的。安装程序在主机参数中指定的节点上运行。如果未在节点之间设置 SSH,安装程序还应该如何完成该过程?参见 Configuring the Network以及如何Enable Secure Shell (SSH) Logins在文档中。

问:为什么要安装 Vertica 6.0?最新版本是7.2

关于database - vertica 安装失败并出现 ssh 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35471022/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com