暂无图片
openGauss企业版安装出错
我来答
分享
cqiwen
2022-02-10
openGauss企业版安装出错
$ **./gs_install -X /opt/software/openGauss/cluster_config.xml**
Parsing the configuration file.
Check preinstall on every node.
Successfully checked preinstall on every node.
Creating the backup directory.
Last time end with Config cluster.
Continue this step.
Successfully created the backup directory.
begin deploy..
Configuring.
Deleting instances from all nodes.
Successfully deleted instances from all nodes.
Checking node configuration on all nodes.
Initializing instances on all nodes.
[GAUSS-51400] : Failed to execute the command: source /home/omm/.bashrc;python3 '/opt/huawei/install/om/script/local/InitInstance.py' -U omm  -l /opt/huawei/log/omm/omm/om/gs_local.log.Error:
Initializing instance.
[GAUSS-51615] : Failed to initialize instance. Command:/opt/huawei/install/app/bin/gs_initdb --locale=C -D /opt/huawei/install/data/dn --nodename=dn_6001  -C /opt/huawei/install/app/bin. Error:
no data was returned by command ""/opt/huawei/install/app/bin/gaussdb" -V"
The program "gaussdb" is needed by gs_initdb but was not found in the
same directory as "/opt/huawei/install/app/bin/gs_initdb".
Check your installation.
$ **ls -lh /opt/huawei/install/app/bin |grep gaussdb**
-rwx------ 1 omm dbgrp 105M Sep 30 14:37 gaussdb
lrwxrwxrwx 1 omm dbgrp    7 Sep 30 14:37 gs_encrypt -> gaussdb

可见gaussdb是存在于对应目录下的,为什么安装过程会提示找不到呢?
复制
我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
DarkAthena

这里已经报错了

[GAUSS-51400] : Failed to execute the command: source /home/omm/.bashrc;python3 ‘/opt/huawei/install/om/script/local/InitInstance.py’ -U omm -l /opt/huawei/log/omm/omm/om/gs_local.log.Error:
Initializing instance.

导致没有"/opt/huawei/install/app/bin/gs_initdb"这个目录,因此才报的第二个错

前面报错的是两条命令,第一个命令需要确保"/home/omm/.bashrc"文件存在,且文件内没有错误,第二个命令需要确保python3已安装并且可以直接用python3命令启动,还有要确保"/opt/huawei/install/om/script/local/InitInstance.py"这个文件是存在的

暂无图片 评论
暂无图片 有用 1
打赏 0
暂无图片
回答交流
Markdown


请输入正文
提交
相关推荐
qt怎么连接opengauss数据库?
回答 1
已采纳
要在Qt中连接OpenGauss数据库,你需要遵循几个步骤。OpenGauss是一个开源的关系型数据库管理系统,与PostgreSQL有很多相似之处,因此一些PostgreSQL的驱动和工具也可以用于
请问gs_obs是什么意思,有什么作用谢谢
回答 1
已采纳
这里的obs对应的应该是华为云的OBS(对象存储服务),主要用于数据库与云服务OBS之间的交互。
学习openGauss还是MySql?
回答 3
目前oracle、mysql等国外的数据库依然是主流,但未来国产数据库肯定拥有不可小觑的发展,只是这个时间跨度暂无法预测,所以,建议各种数据库都去了解下
openGauss中怎么通过权限控制用户无法查询到其他数据库的信息?
回答 1
在OpenGauss中,可以通过以下步骤控制用户无法查询到其他数据库的信息:1.创建新用户。使用createuser命令创建新用户。例如,创建名为testdbuser的新用户:textCREATEUS
openGauss主备
回答 1
一主八备
OpenGauss 安装报 GAUSS-51400 错误
回答 2
已采纳
可以用PTK安装试试https://docs.mogdb.io/zh/ptk/v0.8/usageinstall写好配置文件,然后在安装时指定opengauss的安装包即可ptkinstallfcon
opengauss 5.0.0 支持使用sqlalchemy连接吗?
回答 5
大佬sqlalchemy连接opengauss5.0可以指导一下方法
opengauss 是否支持nbu带库备份恢复
回答 2
备份软件是否支持,得看备份软件是否做了适配。哪怕说是可以,实际上使用也要打个大问号。就我所知,HW同爱数有合作,应该是拿了爱数的东西做成了产品DPA,可以看看是否支持。GaussT是这个做备份的,不过
opengauss已经编译了postgis的情况下执行create extension postgis报错User defined window function only support INTERNAL language.
回答 2
试试yukon吧,有编译好的包http://yukon.supermap.io/2.0beta/appendix/appendixB.htmlyukonforopengauss
一键部署脚本
回答 1
贾老师分享的一键部署脚本(https://www.modb.pro/db/106407)可参考!  注:脚本里面对应的ip、版本号替换掉