[GAUSS-51808] : The env file contains errmsg: {'Node[192.168.56.181]': 'Output:

Haoword_wang發表於2022-11-27
  • 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部落格 ” ,連結:http://blog.itpub.net/26342786/viewspace-2925347/,如需轉載,請註明出處,否則將追究法律責任。

相關文章