OpenGuass 版本:3.1.0
OpenGuass 部署架构:一主一备
主机类型:openEuler 20.03 (LTS-SP3)
Python 版本:3.7.9
db01 主节点 db02 备节点
[root@db01 script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/cluster_config.xml
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
Password:
[GAUSS-51632] : Failed to do gs_sshexkey.Error: /etc/profile.d/system-info.sh: line 26: bc: command not found
/etc/profile.d/system-info.sh: line 35: bc: command not found
/etc/profile.d/system-info.sh: line 26: bc: command not found
/etc/profile.d/system-info.sh: line 35: bc: command not found
[GAUSS-51808] : The env file contains errmsg: {'Node[192.168.56.181]': 'Output: [/etc/profile.d/system-info.sh: line 26: bc: command not found ] print by /etc/profile or ~/.bashrc, please check it.'}{'Node[192.168.56.182]': 'Output: [/etc/profile.d/system-info.sh: line 26: bc: command not found\n/etc/profile.d/system-info.sh: line 35: bc: command not found ] print by /etc/profile or ~/.bashrc, please check it.'}.
Please enter password for current user[root].
数据库安装预检查缺少依赖包,但在安装依赖要求里面未发现要求按照该包,可能是在其他地方有要求,如下是我看到的数据库 3.1.0 安装依赖包:

配置yum 源或者直接取该包安装
例如:
[root@db01 script]# mount /dev/cdrom /mnt
mount: /mnt: WARNING: source write-protected, mounted read-only.
[root@db01 script]# yum -y install bc
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26342786/viewspace-2925347/ ,如需转载,请注明出处,否则将追究法律责任。