暂无图片
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
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏