opengauss集群安装报错
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
6.[GAUSS-50201]
[GAUSS-50201]:The /opt/software/openGauss/xxxx-RedHat-64bit.tar.bz2 does not exist
reslove:https://www.cnblogs.com/avasteven/p/17261829.html
分类:
openGauss
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!