GBase 8s
安装配置
问答

急需看一下这个帮忙回复一下

发表于2025-04-14 11:49:11115次浏览6个评论

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

【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还是no

评论

登录后才可以发表评论
用户头像
GBase用户137发表于 1年前
选择yes,为root用户创建互信,是后续必须的。
GBase用户27057发表于 1年前
@GBase用户137:这是什么错误[root@gbase-primary script]# ./gs_preinstall -U gbase -G gbase -X /opt/database/package/cluster_config.xml
[GAUSS-50204] : Failed to read database node configuration on host [gbase-primary]. There is no host named base-rss.
[root@gbase-primary script]# vim /etc/hosts
[root@gbase-primary script]# cd -
/opt/database/package
[root@gbase-primary package]# vim cluster_config.xml
[root@gbase-primary package]# cd script/
[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.
Failed to clear id_rsa in ssh-agent,Errors:/bin/sh: /usr/bin/ssh-add: No such file or directory
Creating the local key file.
Failed to clear id_rsa in ssh-agent,Errors:/bin/sh: /usr/bin/ssh-add: No such file or directory
Creating the local key file.
Failed to clear id_rsa in ssh-agent,Errors:/bin/sh: /usr/bin/ssh-add: No such file or directory
Error: Failed to create public private keyfile,output is [[GAUSS-51632] : Failed to do clear ssh agent. Error:
/bin/sh: /usr/bin/ssh-add: No such file or directory]

[root@gbase-primary script]#
GBase用户27057发表于 1年前
@GBase用户137:是我上面的ssh没有弄好吗
用户头像
GBase用户137发表于 1年前
@GBase用户27057:看了下之前的帖子,部署配置文件还是有点问题。有些hostname还没改
GBase用户27057发表于 1年前
@GBase用户137:等一会我看看还报错没,如果还有我给您截图一下我配置文件
用户头像
GBase用户137发表于 1年前
@GBase用户27057
最佳回答