麒麟V10安装问题

1.使用的是openGauss-All-6.0.3-openEuler20.03-aarch64.tar.gz包

2.运行的是一站式安装指南

3.报错

[omm@opendb01 script]$ ./gs_install -X /opt/openGauss/install/tool/script/base_utils/template/cluster.xml --gsinit-parameter="--locale=en_US.utf8"                                      

Parsing the configuration file.

Successfully checked gs_uninstall on every node.

Check preinstall on every node.

[GAUSS-51805] : The environmental variable [GAUSS_ENV]'s value is invalid.

[omm@opendb01 script]$ export GAUSS_ENV=KYLINV10_ARM

[omm@opendb01 script]$ ./gs_install -X /opt/openGauss/install/tool/script/base_utils/template/cluster.xml --gsinit-parameter=“–locale=en_US.utf8”

Parsing the configuration file.

Successfully checked gs_uninstall on every node.

Check preinstall on every node.

[GAUSS-51805] : The environmental variable [GAUSS_ENV]'s value is invalid.

[omm@opendb01 script]$ export GAUSS_ENV=KYLINV10_AARCH64

[omm@opendb01 script]$ ./gs_install -X /opt/openGauss/install/tool/script/base_utils/template/cluster.xml --gsinit-parameter=“–locale=en_US.utf8”

Parsing the configuration file.

Successfully checked gs_uninstall on every node.

Check preinstall on every node.

[GAUSS-51805] : The environmental variable [GAUSS_ENV]'s value is invalid.

[omm@opendb01 script]$ export GAUSS_ENV=KYLIN_V10

[omm@opendb01 script]$

[omm@opendb01 script]$ ./gs_install -X /opt/openGauss/install/tool/script/base_utils/template/cluster.xml --gsinit-parameter=“–locale=en_US.utf8”

Parsing the configuration file.

Successfully checked gs_uninstall on every node.

Check preinstall on every node.

[GAUSS-51805] : The environmental variable [GAUSS_ENV]'s value is invalid.

[omm@opendb01 script]$ export GAUSS_ENV=KY10_ARM

[omm@opendb01 script]$ ./gs_install -X /opt/openGauss/install/tool/script/base_utils/template/cluster.xml --gsinit-parameter=“–locale=en_US.utf8”

Parsing the configuration file.

Successfully checked gs_uninstall on every node.

Check preinstall on every node.

[GAUSS-51805] : The environmental variable [GAUSS_ENV]'s value is invalid.

[omm@opendb01 script]$ 设置过好多种变量了

设置测试环境

export GAUSS_ENV=1

或者设置生产环境

export GAUSS_ENV=3

新问题

[omm@opendb01 script]$ export RANDFILE=/dev/urandom

[omm@opendb01 script]$ export OPENSSL_RAND_SOURCE=/dev/urandom

[omm@opendb01 script]$ ./gs_install -X /opt/openGauss/install/tool/script/base_utils/template/cluster.xml --gsinit-parameter=“–locale=en_US.utf8”

Parsing the configuration file.

Successfully checked gs_uninstall on every node.

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.

Please enter password for database:

Please repeat for database:

begin to create CA cert files

The sslcert will be generated in /opt/openGauss/install/app/share/sslcert/om

[GAUSS-53700] : Failed to execute the command: %s.

This is because the OpenSSL random number generatordoes not work properly. This may be due to a lack ofsufficient entropy in the system, or an issue with the configuration of OpenSSL.

The following are commonly used inspection items:

1. Increase system entropy pool: If the system lackssufficient entropy, the randomness of the entropy poolcan be increased by increasing system activity. For example, several terminal

windows can be opened andrandom operations can be performed, such as moving the mouse, keyboard input, etc.

2. Check OpenSSL configuration: Ensure that the OpenSSLconfiguration is correct. You can check the OpenSSL configuration files and environment variables to ensurethat they point to the

correct path and file.

3. Update OpenSSL version: If the OpenSSL version is older, there may be some known issues and bugs. Tryupdating to the latest stable version.

4. Check file permissions: Ensure that the directoryand file where the certificate is being generatedhave sufficient permissions so that OpenSSL can generatethe certificate.

5. Use other random number generators: If the above methodsdo not solve the problem, you can try to use other randomnumber generators instead of the default OpenSSL random number gener

ators.

openssl rand -base64 12 | tr “[0-9][a-z]” “[A-Z]” | tr -d [/+=] |cut -c 1-3

[omm@opendb01 script]$

export GAUSS_ENV=1 试试

嗯嗯,这个没问题了,现在是另外一个问题 :rofl:

现在是什么问题请描述发错误和命令看看