[GAUSS-50201]:The /opt/software/openGauss/xxxx-RedHat-64bit.tar.bz2 does not exist
问题描述:使用redhat7.9来安装opengauss集群,预安装过不去。opengauss官方只支持centos版本,最好是centos7.6。
[root@db01 script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/clusterconfig.xml
Parsing the configuration file.
Successfully parsed the configuration file.
Installing the tools on the local node.
[GAUSS-50201] : The /opt/software/openGauss/openGauss-3.0.3-RedHat-64bit.tar.bz2 does not exist.
官方解决文档:https://gitee.com/opengauss/openGauss-OM/issues/I3HXVL 解决文档给了几种方式,但是我的并没有通过
方式一:修改/etc/redhat-release版本信息
# cat /etc/redhat-release
#Red Hat Enterprise Linux Server release 7.9 (Maipo)
CentOS Linux release 7.6.2003 (Core)
方式二: 修改/etc/os-release 的redhat的信息为centos相关的
# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
方式三:修改script/gspylib/os/gsplatform.py文件,具体修改内容如下

将1500行左右的PAK_REDHAT修改为PAK_CENTOS,修改后的截图如下:

以上在我的opengauss3.0.0+redhat7.9版本没通过,但是可以通过修改软件包名称通过预安装
原解压文件
# ll /opt/software/openGauss
total 204712
-rw-r--r-- 1 root root 4528 Mar 27 10:32 clusterconfig.xml
drwxr-xr-x 15 root root 321 Mar 27 10:34 lib
-rw-r--r-- 1 root root 104387581 Mar 27 10:15 openGauss-3.0.3-CentOS-64bit-all.tar.gz
-rw-r--r-- 1 root root 105 Jan 10 22:52 openGauss-3.0.3-CentOS-64bit-cm.sha256
-rw-r--r-- 1 root root 6380530 Jan 10 22:52 openGauss-3.0.3-CentOS-64bit-cm.tar.gz
-rw-r--r-- 1 root root 65 Jan 10 22:52 openGauss-3.0.3-CentOS-64bit-om.sha256
-rw-r--r-- 1 root root 11920235 Jan 10 22:52 openGauss-3.0.3-CentOS-64bit-om.tar.gz
-rw-r--r-- 1 root root 65 Jan 10 22:52 openGauss-3.0.3-CentOS-64bit.sha256
-rw-r--r-- 1 root root 86443209 Jan 10 22:52 openGauss-3.0.3-CentOS-64bit.tar.bz2
drwxr-xr-x 10 root root 4096 Jan 10 22:52 script
-rw------- 1 root root 65 Jan 10 22:51 upgrade_sql.sha256
-rw------- 1 root root 447869 Jan 10 22:51 upgrade_sql.tar.gz
-rw-r--r-- 1 root root 32 Jan 10 22:50 version.cfg
修改解压文件名称,此方式可以通过
# ll
total 204712
-rw-r--r-- 1 root root 4528 Mar 27 10:32 clusterconfig.xml
drwxr-xr-x 15 root root 321 Mar 27 10:34 lib
-rw-r--r-- 1 root root 104387581 Mar 27 10:15 openGauss-3.0.3-RedHat-64bit-all.tar.gz
-rw-r--r-- 1 root root 105 Jan 10 22:52 openGauss-3.0.3-RedHat-64bit-cm.sha256
-rw-r--r-- 1 root root 6380530 Jan 10 22:52 openGauss-3.0.3-RedHat-64bit-cm.tar.gz
-rw-r--r-- 1 root root 65 Jan 10 22:52 openGauss-3.0.3-RedHat-64bit-om.sha256
-rw-r--r-- 1 root root 11920235 Jan 10 22:52 openGauss-3.0.3-RedHat-64bit-om.tar.gz
-rw-r--r-- 1 root root 65 Jan 10 22:52 openGauss-3.0.3-RedHat-64bit.sha256
-rw-r--r-- 1 root root 86443209 Jan 10 22:52 openGauss-3.0.3-RedHat-64bit.tar.bz2
drwxr-xr-x 10 root root 4096 Jan 10 22:52 script
-rw------- 1 root root 65 Jan 10 22:51 upgrade_sql.sha256
-rw------- 1 root root 447869 Jan 10 22:51 upgrade_sql.tar.gz
-rw-r--r-- 1 root root 32 Jan 10 22:50 version.cfg
预安装
# ./gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/clusterconfig.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:
Successfully created SSH trust for the root permission user.
Setting host ip env
Successfully set host ip env.
Distributing package.
Begin to distribute package to tool path.
Successfully distribute package to tool path.
Begin to distribute package to package path.
Successfully distribute package to package path.
Successfully distributed package.
Are you sure you want to create the user[omm] and create trust for it (yes/no)? yes
Preparing SSH service.
Successfully prepared SSH service.
Installing the tools in the cluster.
Successfully installed the tools in the cluster.
Checking hostname mapping.
Successfully checked hostname mapping.
Creating SSH trust for [omm] user.
Please enter password for current user[omm].
Password:
Checking network information.
All nodes in the network are Normal.
Successfully checked network information.
Creating SSH trust.
Creating the local key file.
Successfully created the local key files.
Appending local ID to authorized_keys.
Successfully appended local ID to authorized_keys.
Updating the known_hosts file.
Successfully updated the known_hosts file.
Appending authorized_key on the remote node.
Successfully appended authorized_key on all remote node.
Checking common authentication file content.
Successfully checked common authentication content.
Distributing SSH trust file to all node.
Distributing trust keys file to all node successfully.
Successfully distributed SSH trust file to all node.
Verifying SSH trust on all hosts.
Successfully verified SSH trust on all hosts.
Successfully created SSH trust.
Successfully created SSH trust for [omm] user.
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 db01,db02,03 --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.
Successfully set Cgroup.
Set ARM Optimization.
No need to set ARM Optimization.
Fixing server package owner.
Setting finish flag.
Successfully set finish flag.
Preinstallation succeeded.
[GAUSS-50201]:The /opt/software/openGauss/xxxx-RedHat-64bit.tar.bz2 does not exist的更多相关文章
- Centos 7.6 安装部署 openGauss 3.1.0 企业版一主两备集群
一.安装环境设置 1.1 硬件环境 名称 最低配置 建议配置 测试配置 服务器数量 3 略 略 硬盘 * 至少1GB用于安装openGauss的应用程序.* 每个主机需大约300MB用于元数据存储.* ...
- 华为高斯 GaussDB 100 OLTP 单机在 RHEL 7.6 上的安装
目录 你需要知道的 操作系统安装 GaussDB 100 安装 环境设置 创建用户组/用户/文件夹 软件上传/解压/安装 启动数据库 DataStudio 连接 服务器环境设置 DataStudio ...
- Ubuntu 14 编译安装 PHP 5.4.45 + Nginx 1.4.7 + MySQL 5.6.26 笔记
Ubuntu 14 编译安装 PHP 5.4.45 + Nginx 1.8.0/1.4.7 + MySQL 5.6.26 笔记,主要是给自己的PC机安装,非生产环境! 一.下载必要的源码 1.1.下 ...
- centos下linux运行asp网站搭建配置-mono+nginx
一.首先安装一些需要的软件包 1. 首先更新CentOS上的软件包:yum –y update. 2. 安装一些需要的库: yum -y install gcc gcc-c++ bison pkg ...
- lighttpd 介绍及安装
一,为什么要使用lighttpd? apache不可以吗? 在支持纯静态的对象时,比如图片,文件等 , lighttpd速度更快,更理想 (lighttp 图片处理好,nginx负载 ...
- TIBCO EMS安装部署
创建用户 groupadd -g 800 tibcouseradd -u 801 -g tibco -d /home/tibco/ -s /bin/bash tibco 目前关于sharedatast ...
- nginx配置SSL实现服务器/客户端双向认证
http://blog.csdn.net/kunoy/article/details/8239653 本人不才,配置了两天,终于搞出来了,结合网上诸多博文,特此总结一下! 配置环境: Ubuntu 1 ...
- centos 7 上Hive-2.1.1的安装与基本操作
首先安装mysql 1. 在线安装mysql a) yum install mysql b) yum install mysql-devel c) ...
- Centos7+hadoop2.7.3+jdk1.8
修改主机名 1. 修改主机名 vi /etc/sysconfig/network ,改为 master , slave1 , slave2 2. source /etc/sy ...
- 大数据技术之_08_Hive学习_04_压缩和存储(Hive高级)+ 企业级调优(Hive优化)
第8章 压缩和存储(Hive高级)8.1 Hadoop源码编译支持Snappy压缩8.1.1 资源准备8.1.2 jar包安装8.1.3 编译源码8.2 Hadoop压缩配置8.2.1 MR支持的压缩 ...
随机推荐
- web.xml文件报错'org.springframework.web.filter.CharacterEncodingFilter' is not assignable to 'javax.servlet.Servlet,jakarta.servlet.Servlet'
在web.xml文件中出现下列错误:'org.springframework.web.filter.CharacterEncodingFilter' is not assignable to 'jav ...
- 如何安装vm虚拟机软件并用该软件建立虚拟机
一.安装vm虚拟机软件 1.双击打开虚拟机应用程序 找到VM应用程序所在的位置,双击安装 2.根据向导安装 根据提示点击下一步 点击安装之后耐心等待一会,会出现需要输入许可证的的界面,这时候不要关闭界 ...
- 纯css实现卡券式半圆及阴影(整理)
<!-- html部分 --> <div class="a"> <!-- a这个大卡片里边分上下两个卡片,对应上边灰色和下边白色部分 --> & ...
- Spring Boot中的JSON技术
Spring Boot中的JSON技术 平日里在项目中处理JSON一般用的都是阿里巴巴的Fastjson,后来发现使用Spring Boot内置的Jackson来完成JSON的序列化和反序列化操作也挺 ...
- 微信小程序地理定位和城市选择列表
1.先获取用户是否授权地理定位,如果没有让其跳转到设置页面手动开启(获取到的位置是经纬度,需要借助其他地图SDK的地址逆解析获取省市区的名字) getSetting() { wx.getSetting ...
- Laravel自定义JSON错误消息 The given data was invalid.
Laravel自定义错误消息 在Laravel验证请求时出现错误,默认会返回如下的错误: 可以看到JSO结构中的message为The given data was invalid.而并非是我们具体自 ...
- 实践课:i至诚app案例分析---江洁兰
这个作业属于哪个课程 至诚软工实践F班 这个作业要求在哪里 作业要求 这个作业的目标 分析产品软件,找出其中的问题并进行分析,提高对产品软件bug方面的认识 学号 212106715 第一部分 找Bu ...
- ASP.NET的MVC模式中分布页和布局页的使用
大概描述一下,分布页是布局页的一部分,分布页就相当于小图标,布局页就相当于PPT模板,PPT模板可以加入一些小图标(分布页),你只需要改改内容就好,视图创建的时候要选择包含布局页的 首先,去Contr ...
- 【javascript】export 与 export default 区别
总是记不得,自己打一遍 通过export方式导出,在导入时要加{ },export default则不需要,因为它本身只能有一个
- 全新TI AM62xx系列核心板上市,小小身板蕴藏巨大势能!
2011年TI推出AM335x,成为了此后市场上最受欢迎的通用工业级ARM处理器,并广泛应用于工业HMI, 医疗电子,机器人,能源,汽车等领域.随着工业4.0的发展,HMI人机交互.工业工控.医疗等领 ...