暂无图片
openGauss预安装环境报错(报错信息在评论区),求大佬解答
我来答
分享
我想打篮球
2022-08-22
openGauss预安装环境报错(报错信息在评论区),求大佬解答
openGauss预安装环境报错(报错信息在评论区),求大佬解答
我来答
添加附件
收藏
分享
问题补充
9条回答
默认
最新
我想打篮球

[GAUSS-51400] : Failed to execute the command: python3 '/soft/openGauss/script/local/PreInstallUtility.py' -t create_cluster_paths -u omm -g dbgrp -X '/soft/openGauss/clusterconfig.xml' -l '/gaussdb/log/omm/om/gs_local.log'.Error:
[GAUSS-50202] : The /gaussdb must be empty. Or user [omm] has write permission to directory /gaussdb. Because it will create symbolic link [/gaussdb/app] to install path [/gaussdb/app_78689da9] in gs_install process with this user.

暂无图片 评论
暂无图片 有用 0
打赏 0
刘贵宾

omm用户下,执行vi ~/.bashrc,将环境变量清空,重新执行初始化脚本试试

暂无图片 评论
暂无图片 有用 0
打赏 0
我想打篮球
题主
2022-08-22
清空了没用
刘贵宾

日志发出来看一下

暂无图片 评论
暂无图片 有用 0
打赏 0
我想打篮球
题主
2022-08-22
[2022-08-22 14:08:51.676989][19381][gs_preinstall][LOG][Step1]:Parsing the configuration file. [2022-08-22 14:08:51.696733][19381][gs_preinstall][DEBUG]:Instance information of cluster: ClusterName=dbCluster,AppPath=/gaussdb/app,LogPath=/gaussdb/log,ClusterType=single-inst HostName=node1,backIps=['10.168.3.107'] InstanceId=10001,MirrorId=-3,Host=node1,Port=0,DataDir=cm_agent,XlogDir=,SsdDir=,InstanceType=-1,Role=5,ListenIps=['10.168.3.107'],HaIps=[] InstanceId=6001,MirrorId=1,Host=node1,Port=26000,DataDir=/gaussdb/data/db1,XlogDir=,SsdDir=,InstanceType=0,Role=4,ListenIps=['10.168.3.107'],HaIps=['10.168.3.107'],azName=AZ1. [2022-08-22 14:08:51.712561][19381][gs_preinstall][LOG][Step1]:Successfully parsed the configuration file. [2022-08-22 14:08:51.712828][19381][gs_preinstall][DEBUG]:gs_preinstall execution takes 14 steps in total [2022-08-22 14:08:51.712906][19381][gs_preinstall][DEBUG]:There is no environment file, skip check repeat. [2022-08-22 14:08:51.712973][19381][gs_preinstall][LOG][Step2]:Installing the tools on the local node. [2022-08-22 14:08:52.253653][19381][gs_preinstall][DEBUG]:Modifying logPath owner [2022-08-22 14:08:52.253738][19381][gs_preinstall][DEBUG]:Successfully modified logPath owner [2022-08-22 14:09:07.642472][19381][gs_preinstall][LOG][Step2]:Successfully installed the tools on the local node. [2022-08-22 14:09:07.642571][19381][gs_preinstall][LOG][Step3]:Setting pssh path
我想打篮球
题主
2022-08-22
[2022-08-22 14:09:07.646326][19381][gs_preinstall][LOG][Step3]:Successfully set core path. [2022-08-22 14:09:07.646399][19381][gs_preinstall][DEBUG]:Creating OS user and create trust for user [2022-08-22 14:09:11.903170][19381][gs_preinstall][DEBUG]:Setting the flag for creating user's trust. [2022-08-22 14:09:12.171376][19381][gs_preinstall][LOG][Step3]:Please enter password for cluster user. [2022-08-22 14:09:18.080262][19381][gs_preinstall][LOG][Step3]:Please enter password for cluster user again. [2022-08-22 14:09:22.155599][19381][gs_preinstall][DEBUG]:Successfully created [omm] user on all nodes. [2022-08-22 14:09:22.491438][19381][gs_preinstall][LOG]:Successfully created [omm] user on all nodes. [2022-08-22 14:09:22.491535][19381][gs_preinstall][LOG][Step4]:Preparing SSH service. [2022-08-22 14:09:23.126763][19381][gs_preinstall][LOG][Step4]:Successfully prepared SSH service. [2022-08-22 14:09:24.050025][19381][gs_preinstall][LOG][Step5]:Checking OS software. [2022-08-22 14:09:24.050458][19381][gs_preinstall][DEBUG]:Checking OS software: python3 '/soft/openGauss/script/local/PreInstallUtility.py' -t check_os_software -u omm -l /gaussdb/log/omm/om/gs_local.log [2022-08-22 14:09:24.356985][19381][gs_preinstall][LOG][Step5]:Successfully check os software. [2022-08-22 14:09:24.357077][19381][gs_preinstall][LOG][Step6]:Checking OS version.
我想打篮球
题主
2022-08-22
[2022-08-22 14:09:24.636418][19381][gs_preinstall][LOG][Step6]:Successfully checked OS version. [2022-08-22 14:09:24.636514][19381][gs_preinstall][LOG][Step7]:Creating cluster's path. [2022-08-22 14:09:24.636568][19381][gs_preinstall][DEBUG]:Paths need to be fixed owner:['/gaussdb/om']. [2022-08-22 14:09:26.308742][19381][gs_preinstall][ERROR]:[GAUSS-51400] : Failed to execute the command: python3 '/soft/openGauss/script/local/PreInstallUtility.py' -t create_cluster_paths -u omm -g dbgrp -X '/soft/openGauss/clusterconfig.xml' -l '/gaussdb/log/omm/om/gs_local.log'.Error: [GAUSS-50202] : The /gaussdb must be empty. Or user [omm] has write permission to directory /gaussdb. Because it will create symbolic link [/gaussdb/app] to install path [/gaussdb/app_78689da9] in gs_install process with this user.
刘贵宾

确认一下python3已安装并且可以直接用python3命令启动

暂无图片 评论
暂无图片 有用 0
打赏 0
我想打篮球
题主
2022-08-22
安装了3.7.9的
刘贵宾

这不找罪受呢么,官网都写了要求了,重装个3.6版本的吧



暂无图片 评论
暂无图片 有用 0
打赏 0
我想打篮球
题主
2022-08-22
我是在欧拉系统上装的
刘贵宾

欧拉上不是能够用yum一键安装么

暂无图片 评论
暂无图片 有用 0
打赏 0
我想打篮球
题主
2022-08-22
我是执行的脚本
刘贵宾

你执行下Python -V

暂无图片 评论
暂无图片 有用 0
打赏 0
我想打篮球
题主
2022-08-22
是3.7.9
Kongo

The /gaussdb must be empty ==》这个目录是空的么

暂无图片 评论
暂无图片 有用 0
打赏 0
我想打篮球
题主
2022-08-22
这个是安装的时候创建的
Kongo
答主
2022-08-22
你看看这个目录是不是空的,不是空清空一下
我想打篮球
题主
2022-08-22
清除了然后运行它会在里面生成文件然后就会又报那个错误
Zoe

也遇到和你一样的问题 ,请问现在解决了吗? 怎么解决的呢?

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


请输入正文
提交
相关推荐
有麒麟v10安装opengauss的文档吗?
回答 3
VMWare用麒麟V10系统安装openGauss3.0(单机)墨天轮https://www.modb.pro/db/502385还有这篇用户分享的文章
openGauss数据库相关的工作(开发/运维等)好找吗?
回答 1
这么问肯定是刚接触,或者是初学者,建议有兴趣就先学习。另外,找工作跟技术本身关系不是太大(个人综合能力为主),当然,现在包含openGauss数据库在内的“开源、国产”的数据库越来越“热”。建议持续关
链接数据库(openGauss),修改密码提示the old password is invalid
回答 1
使用alterrole重置密码,详细请参见https://opengauss.org/zh/docs/1.0.0/docs/Developerguide/ALTERROLE.html 注:如
openGauss源码,在window系统用VSCode维护吗?
回答 1
可以的看看这个https://developer.huaweicloud.com/hero/thread11941811.html
openGauss数据库问题基本分析方法及思路?
回答 1
以下请参考:方法一查看日志查看数据库日志ERROR级别以上日志1.先查找数据目录的位置,可通过psfuombm查看数据目录,或者gsomtstatusdetail查看数据目录比如数据目录为/var/l
高斯数据库日期和时间类型区别?
回答 3
可以用官方给的介绍亲测一下:DATE             &nbs
openGauss 大并发问题解决方案有木有?
回答 1
openGauss大并发问题:1、连接池一般在客户端设置,连接池避免了连接的频繁创建和销毁。连接复用。2、线程池在数据库服务器上配置,控制数据库服务器活动线程数目。线程复用。对系统的业务起到流控作用,
opengauss从库停掉,发现主库无法写入数据
回答 1
问题解决,需要开启如下参数mostavailablesyncon
openGauss 3.1.0版本维护周期0.5年是怎么理解
回答 2
已采纳
openGauss版本号采用点分位命名规则(X.Y.Z)模式,其中X表示架构变更版本,Y表示每年发布版本,Z表示补丁版本。正常每年会发布一个Y版本,重大架构或特性变更,发布一个新的X版本。openGa
openGauss是用什么开发语言开发的,开发框架是怎样的?
回答 1
代码都在这里了https://gitee.com/opengauss/openGaussserver可以看到C占了81%
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~