4 Star 0 Fork 16

src-openEuler / opengauss-server

 / 详情

[23.09 RC3]opengauss安装后不能直接使能且部分二进制无法执行

已验收
缺陷
创建于  
2023-09-09 14:53

**【标题描述】[23.09 RC3]opengauss安装后不能直接使能且部分二进制无法执行

【环境信息】
软件信息

  • OS版本及分支信息:openEuler 23.09
  • 内核信息:6.4.0-5.0.0.13.oe2309.aarch64

【问题复现步骤】,请描述具体的操作步骤

  1. yum install -y opengauss
  2. which gaussdb
  3. cd /usr/local/opengauss/bin && ./gsql -d postgres -p 15400
  4. 分别执行:ldd gsql; ldd gs_dump; ldd gs_dumpall; gs_restore
  5. 分别执行:./gaussdb -V; ./gs_ctl --help; ./gs_guc --help; ./gs_probackup --help; ./pg_recvlogical --help

【实际结果】,请描述出问题的结果和影响
步骤2:安装后不能直接使能
输入图片说明
步骤3和步骤4:二进制执行找不到动态库
输入图片说明
输入图片说明
输入图片说明
输入图片说明
输入图片说明
步骤5:命令执行报错:
输入图片说明
输入图片说明
输入图片说明
输入图片说明
输入图片说明

【其他相关附件信息】

[OS]
name=OS
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/OS/$basearch/RPM-GPG-KEY-openEuler

[everything]
name=everything
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/everything/$basearch/RPM-GPG-KEY-openEuler

[EPOL]
name=EPOL
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.09/rc3_openeuler-2023-09-06-17-35-50/OS/$basearch/RPM-GPG-KEY-openEuler

评论 (6)

erin_dan 创建了缺陷

Hi erin_dan, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: DB, and any of the maintainers: @ZhengZhenyu , @陈棋德 , @zhangxubo

openeuler-ci-bot 添加了
 
sig/DB
标签
erin_dan 里程碑设置为openEuler-23.09-round-3
erin_dan 计划截止日期设置为2023-09-10
erin_dan 计划开始日期设置为2023-09-09
erin_dan 计划截止日期2023-09-10 修改为2023-09-13
erin_dan 优先级设置为主要
erin_dan 修改了描述
erin_dan 修改了标题
erin_dan 修改了描述
erin_dan 修改了描述

@erin_dan

opengauss不是这样使用的。
由于opengauss和postgres部分lib的so文件,二进制文件,.h头文件名称一样,postgres已经集成到openEuler上面,所以opengauss无法再去集成到系统的目录下,如/usr/bin /usr/lib /usr/incldue, 否则会导致文件冲突。

opengauss在安装时候,将二进制放到 /usr/local/opengauss下,默认创建opengauss用户以及初始化和启动数据库。

使用方式:
https://docs.opengauss.org/zh/docs/latest/docs/InstallationGuide/RPM%E5%AE%89%E8%A3%85.html

yum install opengauss

如果想在其他用户下使用,则需要将opengauss的库导入到环境变量里面

export GAUSSHOME=/usr/local/opengauss
export LD_LIBRARY_PATH=$GAUSSHOME/lib/:$LD_LIBRARY_PATH
export PATH=$GAUSSHOME/bin/:$PATH

初始化:

gs_initdb -D /xxx/datanode -w test@123 --nodename=test

启动

gs_ctl start -D /xxx/datanode

连接:

gsql -d postgres -p <port> -r

建议按照非问题关闭

根据指导文档验证通过:
arm:
输入图片说明
输入图片说明
x86:
输入图片说明

arm/x86其他用户验证通过:
输入图片说明
输入图片说明
输入图片说明
输入图片说明
x86:
输入图片说明

erin_dan 任务状态待办的 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/opengauss-server.git
git@gitee.com:src-openeuler/opengauss-server.git
src-openeuler
opengauss-server
opengauss-server

搜索帮助