暂无图片
分享
Cloud
2023-08-22
GAUSS-51802:Failed to obtain the environment variable %s. SQLSTATE: 无
openGauss预安装报错,不知道咋解决,有专家帮助一下吗? [root@dbhost script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/cluster_config.xml --unused-thi rd-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. Setting host ip env Successfully set host ip env. Are you sure you want to create the user[omm] (yes/no)? yes Preparing SSH service. Successfully prepared SSH service. Checking OS software. Successfully check os software. Checking OS version. Successfully checked OS version. Creating cluster's path. Successfully created cluster's path. Set and check OS parameter. Setting OS parameters. Successfully set OS parameters. Warning: Installation environment contains some warning messages. Please get more details by "/opt/software/openGauss/script/gs_checkos -i A -h dbhost --detail". Set and check OS parameter completed. Preparing CRON service. Successfully prepared CRON service. Setting user environmental variables. Successfully set user environmental variables. Setting the dynamic link library. Successfully set the dynamic link library. Setting Core file Successfully set core path. Setting pssh path Successfully set pssh path. Setting Cgroup. Error: Failed to set Cgroup. [GAUSS-51400] : Failed to execute the command: ldd /opt/software/openGauss/libcgroup/bin/gs_cgroup | grep 'libcg roup.so.1'. Error: not a dynamic executable [root@dbhost script]#
收藏
分享
3条回答
默认
最新
Cloud

[root@dbhost 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.
Setting host ip env
Successfully set host ip env.
Are you sure you want to create the user[omm] (yes/no)? no
Preparing SSH service.
Successfully prepared SSH service.
Checking OS software.
Successfully check os software.
Checking OS version.
Successfully checked OS version.
Creating cluster's path.
Successfully created cluster's path.
Set and check OS parameter.
Setting OS parameters.
Successfully set OS parameters.
Warning: Installation environment contains some warning messages.
Please get more details by "/opt/software/openGauss/script/gs_checkos -i A -h dbhost --detail".
Set and check OS parameter completed.
Preparing CRON service.
Successfully prepared CRON service.
Setting user environmental variables.
Successfully set user environmental variables.
Setting the dynamic link library.
Successfully set the dynamic link library.
Setting Core file
Successfully set core path.
Setting pssh path
Successfully set pssh path.
Setting Cgroup.
Error: Failed to set Cgroup.
[GAUSS-51400] : Failed to execute the command: ldd /opt/software/openGauss/libcgroup/bin/gs_cgroup | grep 'libcgroup.so.1'.
not a dynamic executable

[root@dbhost script]#

暂无图片 评论
暂无图片 有用 1
redgame
环境变量 解决方法:1.确保环境变量配置完成;2.检查获取环境变量的路径是否正确。
暂无图片 评论
暂无图片 有用 4
Cloud
问题已关闭: 问题已经得到解决
暂无图片 评论
暂无图片 有用 1
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏