首页 > 其他分享 >opengauss集群安装报错

opengauss集群安装报错

时间:2023-03-10 11:46:42浏览次数:62  
标签:GAUSS devel Failed 集群 ssh 报错 opengauss python3

DB_VERSION:opengauss 3.0.3

1.[GAUSS-51632]
[GAUSS-51632] : Failed to do gs_sshexkey.Error: Please enter password for current user[root].

Error: Failed to register other ssh-agent,output is [Failed to ssh-add perform.Error: /root/.ssh/./ssh-agent.sh: line 18: expect: command not found]
reslove:
解决方案:需要在三个节点上都部署好相关依赖包,单个节点依赖包不全可能会导致预安装不通过
yum install -y java-1.8.0-openjdk* psmisc* bzip2* yum install -y python3-devel* python3* lksctp*

yum install -y yum install -y libaio-devel* flex* bison* ncurses-devel* glibc-devel* patch* readline-devel* redhat-lsb-core* expect* ntp*

 

2.[GAUSS-52200]
[GAUSS-52200] : Unable to import module: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory.
reslove:

再次执行预执行时会因前一次预执行已创建了一些目录和文件,会导致失败。可参照xml文件,将除/opt/software/openGauss之外的其它目录和文件

 

3.[GAUSS-51400]
[GAUSS-51400] : Failed to execute the command: rm -rf '/tmp/step_preinstall_file.dat'. Result:{'opengauss-node1': 'Failure', 'opengauss-node2': 'Failure'}.
Error:
[FAILURE] opengauss-node1:
[FAILURE] opengauss-node2:
reslove:
重新编译python,或者在其它已编译该python版本环境将libpython3.6m.so.1.0拷贝到当前服务器/usr/lib64 目录下
并在/etc/profile里执行 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/python3/bin,并source /etc/profile生效

 

4.[GAUSS-51806]
[GAUSS-51806] : "The cluster has been installed."
reslove:
检查omm用户下的.bashrc文件中$GAUSS_ENV环境变量的值是否为2,如果是2就注释掉
GAUSS_ENV = 1 indicates successful pre-installation 表示预安装成功
GAUSS_ENV = 2 indicates successful installation 表示数据库已经安装成功

 

5.如果因为python环境变量原因无法执行gs_preinstall,可以这样执行:python3 /opt/software/openGauss/script/gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/clusterconfig.xml


标签:GAUSS,devel,Failed,集群,ssh,报错,opengauss,python3
From: https://www.cnblogs.com/houzhiheng/p/17187438.html

相关文章