Mogdb - 安装报错Failed to encrypt the password for databaseError

Mogdb - 安装报错 Failed to encrypt the password for databaseError
本文出处:https://www.modb.pro/db/418363

版本
Mogdb V2.0.1 红旗 V6

故障现象
安装过程中出现报错[GAUSS-50322] : Failed to encrypt the password for databaseError: /dbdata/app/mogdb/bin/gs_guc: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory

[omm@ngdpetl01 /opt/software]$/opt/software/script/gs_install -X /opt/software/clusterconfig.xml -l /home/omm/gs_install.log --gsinit-parameter="--encoding=UTF8" --gsinit-parameter="--locale=en_US.UTF8" --gsinit-parameter="--lc-collate=en_US.UTF8" --gsinit-parameter="--lc-ctype=en_US.UTF8" --gsinit-parameter="--lc-messages=en_US.UTF8" --gsinit-parameter="--dbcompatibility=PG" --gsinit-parameter="--pwpasswd=Mogdb@1234" Parsing the configuration file. Check preinstall on every node. Successfully checked preinstall on every node. Creating the backup directory. Last time end with Install cluster. Continue this step. Successfully created the backup directory. begin deploy.. Rolling back. Rollback succeeded. Installing the cluster. begin prepare Install Cluster.. Checking the installation environment on all nodes. begin install Cluster.. Installing applications on all nodes. Successfully installed APP. begin init Instance.. encrypt cipher and rand files for database. [GAUSS-50322] : Failed to encrypt the password for databaseError: /dbdata/app/mogdb/bin/gs_guc: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory Please enter password for database:
故障分析:
liblzma.so.5 对应解压缩 XZ,使用命令查看当前系统安装的 XZ 版本,发现只安装了 XZ4,进一步检查,发现操作系统对应 CnetOS 6,在查找数据源之后,返现 CentOS 6 目前只支持到 XZ 4.999

[root@ngdpetl01 /root]#xz -V
xz (XZ Utils) 4.999.9beta
liblzma 4.999.9beta
[root@ngdpetl01 /root]#rpm -qa|grep xz-lzma-compat
xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64
[root@ngdpetl01 /root]#cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
检查数据库安装要求后,发现当前Mogdb V2.0.1版本不支持CentOS 7以下版本
故障处理更换系统版本后,问题消失

posted @   openGaussbaby  阅读(125)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示