暂无图片
opengauss安装问题报错
我来答
分享
听着DJ飘着走
2023-11-21
opengauss安装问题报错

opengauss安装在执行预安装的时候发生报错

./gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/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 root
Password:
[GAUSS-51632] : Failed to do gs_sshexkey.Error: Please enter password for current user[root].
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.
Successfully appended authorized_key on all remote node.
Checking common authentication file content.
Successfully checked common authentication content.
Distributing SSH trust file to all node.
Distributing trust keys file to all node successfully.
Successfully distributed SSH trust file to all node.
Error: Failed to register other ssh-agent,output is [[GAUSS-50214] : Failed to copy shell file to remote node;.cmd is source ~/.bashrc;scp -q -o "BatchMode yes" -o "NumberOfPasswordPrompts 0" /opt/openGauss/om/script/./local/ssh-agent.sh 192.168.56.66:.ssh/; Node:192.168.56.66. Error:
lost connection]

两边的网络环境是OK的,python也已经升级到3.6.15,依赖包也安装全了,尝试过scp拷贝文件,没有任何问题,请各位大佬路过解答!

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
言笑

GAUSS-51632: “Failed to do %s.”

错误原因:执行python脚本失败、root互信建立失败。

解决办法:

1.确保python脚本存在

2.根据官网要求检查python版本是否达到支持的版本以及是否正常建立软链接(关键)

3.检查安装包和系统环境是否兼容

4.检查个节点主机的root密码是否一致(关键)

5.可以通过手动调用gs_sshexkey -f file_name (文件中按行填写各节点ip)观察是否报错;或手动建立root互信,删除/root/.ssh文件夹,使用ssh-keygen -t rsa生成密钥,再通过ssh-copy-id ip的方式建立互信


GAUSS-50214: “Failed to copy %s.”

错误原因:拷贝文件失败(未建立互信),由于GAUSS-51632导致的该问题产生,所以需要弄清楚为何会报错GAUSS-51632。

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交
相关推荐
opengauss 3.1.0 企业版 centos 7.6
回答 1
在createdatabase时,要指定数据库的兼容模式为B,并且通过初始用户使用gsql登录一次后,才能使用dolphin相关特性
openguass 安装2.0企业版创建库报错
回答 2
已采纳
问题在这
openGauss-谁给解释一下这几个英文名词简称OM、CM、GTM、CN、DN ?
回答 1
OM:OperationManager运维管理模块,提供集群日常运维、配置管理的管理接口、工具。CM:ClusterManager集群管理模块,管理和监控分布式系统种的各个功能单元和物力资源的运行情况
openguass docker镜像运行出错
回答 1
升级问题到:紧急故障
opengauss如何设置密码不过期?
回答 1
gsgucreloadNallIallc"passwordeffecttime0"  不建议这样设置,不安全gsgucreloadNallIallc"passwordnotifyt
编译安装openguass3.0之后,使用vscode进行单步调试时出现user undefined 2错误
回答 1
??
gs_om -t start命令执行失败,有无大佬帮忙看一下如何解决?求求
回答 3
python3找不到,环境变量是不是没配置?
openguass unlogged表和普通表是否可以相互转换?
回答 2
已采纳
是否可以简单将openguass的unlogged表理解为oracletable的nologging属性?可以这么简单理解,openguass的unlogged是不记录WAL,oracle里的nolo
GaussDB(for openGauss)的优势有哪些?
回答 1
参考阅读:GaussDB(foropenGauss)华为公司倾力打造的自研企业级分布式关系型数据库,该产品具备企业级复杂事务混合负载能力,同时支持优异的分布式事务,同城跨AZ部署,数据0丢失,支持10
openguass如何设置兼容大小写
回答 3
已有springbootmybatismysql,换成opengauss,大小写问题解决后。以前的代码逻辑不改,所有的CURD都不好使了,咋回事