GBase 8s
安装配置
问答

急需

发表于2025-04-14 12:11:5237次浏览5个评论

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

【GBase版本】:

【操作系统】:

【CPU】:

【问题描述】*:[root@gbase-primary script]# ./gs_preinstall -U gbase -G gbase -X /opt/database/package/cluster_config.xml
Parsing the configuration file.
Successfully parsed the configuration file.
Installing the tools on the local node.
Successfully installed the tools on the local node.
Are you sure you want to create trust for root (yes/no)?yes
Please enter password for current user[root].
Password: 
Checking network information.
All nodes in the network are Normal.
Successfully checked network information.
Creating SSH trust.
Creating the local key file.
Successfully created the local key files.
Appending local ID to authorized_keys.
Successfully appended local ID to authorized_keys.
Updating the known_hosts file.
Successfully updated the known_hosts file.
Appending authorized_key on the remote node.
[GAUSS-51101] : SSH exception: 
Without this node[10.225.20.70] of the correct password.
Without this node[10.225.20.69] of the correct password.
Without this node[10.225.20.68] of the correct password.这是为什么我都做了免密了,他可以正常ssh 10.225.20.69和70上不需要密码为什么会报错

评论

登录后才可以发表评论
用户头像
GBase用户137发表于 1年前
可能是免密之后更换密码,或者免密文件有问题,建议重新配置下
最佳回答
GBase用户27057发表于 1年前
@GBase用户137:[root@gbase-primary script]# ./gs_preinstall -U gbase -G gbase -X /opt/database/package/cluster_config.xml这个命令到底是让谁做免密为什么root免密之后不行,gbase用户免密之后也不行。
GBase用户27057发表于 1年前
@GBase用户137:我到底是root做免密还是gbase呢,我是切换到那个用户需要执行下面的命令
ssh-keygen -t rsa
ssh-copy-id gbase@10.225.20.68
ssh-copy-id gbase@10.225.20.69
ssh-copy-id gbase@10.225.20.70
GBase用户27057发表于 1年前
@GBase用户137:[root@gbase-primary script]# ./gs_preinstall -U gbase -G gbase -X /opt/database/package/cluster_config.xml
Parsing the configuration file.
Successfully parsed the configuration file.
Installing the tools on the local node.
Successfully installed the tools on the local node.
Are you sure you want to create trust for root (yes/no)?yes
Please enter password for current user[root].
Password:
Checking network information.
All nodes in the network are Normal.
Successfully checked network information.
Creating SSH trust.
Creating the local key file.
Successfully created the local key files.
Appending local ID to authorized_keys.
Successfully appended local ID to authorized_keys.
Updating the known_hosts file.
Successfully updated the known_hosts file.
Appending authorized_key on the remote node.
[GAUSS-51101] : SSH exception:
Without this node[10.225.20.68] of the correct password.
Without this node[10.225.20.69] of the correct password.
Without this node[10.225.20.70] of the correct password.

[root@gbase-primary script]# ssh 10.225.20.69
Last login: Mon Apr 14 12:12:01 2025 from gbase-primary
[root@gbase-hdr ~]# exit
logout
Connection to 10.225.20.69 closed.
[root@gbase-primary script]# ssh gbase@10.225.20.69
gbase@10.225.20.69's password:

[root@gbase-primary script]# su gbase
[gbase@gbase-primary script]$ ssh gbase@10.225.20.69
Last failed login: Mon Apr 14 12:25:09 CST 2025 from gbase-primary on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Mon Apr 14 12:19:19 2025 from gbase-primary
[gbase@gbase-hdr ~]$ exit
logout
Connection to 10.225.20.69 closed.
[gbase@gbase-primary script]$
麻烦看一下我哪里错了什么情况
崔哥发表于 1个月前
一番荷芰生池沼,槛前风送馨香。昔年于此伴萧娘。相偎伫立,牵惹叙衷肠。时逞笑容无限态,还如菡萏争芳。别来虚遣思悠飏。慵窥往事,金锁小兰房。