RHEL 7.6安装openGauss企业版python版本要求

操作系统:Red Hat Enterprise Linux Server release 7.6 (Maipo)

数据库版本:openGauss-All-6.0.5 centOS 7.6

[root@dbnode01 script]# ./gs_preinstall -U omm -G dbgrp -X /data/openGauss-All-6.0.5/cluster_config.xml --unused-third-party
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
Traceback (most recent call last):
File “/data/openGauss/install/om/script/gs_sshexkey”, line 59, in
copy_lib()
File “/data/openGauss/install/om/script/gspylib/common/copy_python_lib.py”, line 17, in copy_lib
raise Exception(“cp file failed.\nError:%s\nThe cmd is: %s\n” %
Exception: cp file failed.
Error:cp: cannot stat ‘/data/openGauss/install/om/script/gspylib/common/../../../lib/bcrypt/lib3.9/_bcrypt.abi3.so’: No such file or directory
The cmd is: cp /data/openGauss/install/om/script/gspylib/common/../../../lib/bcrypt/lib3.9/_bcrypt.abi3.so /data/openGauss/install/om/script/gspylib/common/../../../lib/bcrypt/[root@dbnode01 script]# ./gs_preinstall -U omm -G dbgrp -X /data/openGauss-All-6.0.5/cluster_config.xml --unused-third-party
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
Traceback (most recent call last):
File “/data/openGauss/install/om/script/gs_sshexkey”, line 59, in
copy_lib()
File “/data/openGauss/install/om/script/gspylib/common/copy_python_lib.py”, line 17, in copy_lib
raise Exception(“cp file failed.\nError:%s\nThe cmd is: %s\n” %
Exception: cp file failed.
Error:cp: cannot stat ‘/data/openGauss/install/om/script/gspylib/common/../../../lib/bcrypt/lib3.9/_bcrypt.abi3.so’: No such file or directory
The cmd is: cp /data/openGauss/install/om/script/gspylib/common/../../../lib/bcrypt/lib3.9/_bcrypt.abi3.so /data/openGauss/install/om/script/gspylib/common/../../../lib/bcrypt/

看了centos 7.6介质里相关文件路径是3.6,openEuler 20.03 LTS的安装包里的是3.7

看到有一篇这个:天龙八部之Centos/RHEL 7 安装部署openGauss 5.0 企业版 一主二备一级联操作指南-鸿蒙开发者社区-51CTO.COM

感谢回复。您发的文档里是直接使用python 3.6,这应该没问题。

我的疑问是:官方说明里是支持3.6以上版本,但实际只支持3.6。

这个文档里有个场景跟我的不太一样,但是按里面说的是支持任意版本:

此外preinstall也提供了一种方式,可以选择用系统自带的依赖,可以做到任意版本都能兼容。

./gs_preinstall -U omm -G omm -X single.xml --unused-third-party

**前提:**系统使用pip install如下组件:

  • psutil

  • netifaces

  • cryptography

  • paramiko

我再试试,如果实在不行,我就装个python 3.6再装。

有安装成功吗