oracle 19c补丁下载,rpm 安装oracle 19c,通过补丁升级到19.8
文章目录
第一次安装rpm包
再次安装rpm包
创建数据库
通过补丁升级到19.8
修改归档路径
第一次安装rpm包
[root@rac192 oracle]# yum -y localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm
Warning: RPMDB altered outside of yum.
Installing : oracle-database-ee-19c-1.0-1.x86_64 1/1
'DetachHome' failed.
'AttachHome' failed.
[SEVERE] An error occurred while registering the Oracle home. Verify logs in /var/log/oracle-database-ee-19c/results/oraInstall.log and for more details and try again.
warning: %post(oracle-database-ee-19c-1.0-1.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package oracle-database-ee-19c-1.0-1.x86_64
Verifying : oracle-database-ee-19c-1.0-1.x86_64 1/1
Installed:
oracle-database-ee-19c.x86_64 0:1.0-1
Complete!
[root@rac192 oracle]# [oracle@rac192 /]$ cd opt/oracle/product/19c/dbhome_1/
[oracle@rac192 ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Sep 15 15:37:33 2020
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
[oracle@rac192 ~]$ /opt/oracle/product/19c/dbhome_1/OPatch/opatch version
OPatch Version: 12.2.0.1.17
OPatch succeeded.
[oracle@rac192 ~]$
再次安装rpm包
这个文件不对:/etc/oraInst.loc,OPatch不能用,再次强制重新安装
[oracle@rac192 31219897]$ /opt/oracle/product/19c/dbhome_1/OPatch/opatch lsinventory -invPtrLoc /etc/oraInst.loc
.......
LsInventorySession failed: OPatch failed to locate Central Inventory.
Possible causes are:
The Central Inventory is corrupted
The oraInst.loc file specified is not valid.
[root@rac192 oracle]# rpm -ivh --force oracle-database-ee-19c-1.0-1.x86_64.rpm
warning: oracle-database-ee-19c-1.0-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:oracle-database-ee-19c-1.0-1 ################################# [100%]
[INFO] Executing post installation scripts...
[INFO] Oracle home installed successfully and ready to be configured.
To configure a sample Oracle Database you can execute the following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-19c configure
安装后再检查
[root@rac192 ~]# cat /etc/oraInst.loc
inventory_loc=/opt/oracle/oraInventory
inst_group=oinstall
opatch终于可以用了!
创建数据库
修改数据库文件目录 /etc/sysconfig/oracledb_ORCLCDB-19c.conf
ORACLE_DATA_LOCATION=/ofsdata/app/oracle/oradata
[root@rac192 ~]# /etc/init.d/oracledb_ORCLCDB-19c configure
Configuring Oracle Database ORCLCDB.
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
43% complete
46% complete
Completing Database Creation
51% complete
54% complete
Creating Pluggable Databases
58% complete
77% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
/opt/oracle/cfgtoollogs/dbca/ORCLCDB.
Database Information:
Global Database Name:ORCLCDB
System Identifier(SID):ORCLCDB
Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log" for further details.
Database configuration completed successfully. The passwords were auto generated, you must change them by connecting to the database using 'sqlplus / as sysdba' as the oracle user.
[root@rac192 ~]#
通过补丁升级到19.8
[oracle@rac192 31281355]$/opt/oracle/product/19c/dbhome_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
PREREQ session
Oracle Home : /opt/oracle/product/19c/dbhome_1
Central Inventory : /opt/oracle/oraInventory
from : /opt/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /opt/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-09-15_17-35-09PM_1.log
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.
关闭数据库后再升级
[oracle@rac192 31281355]$ /opt/oracle/product/19c/dbhome_1/OPatch/opatch apply
[oracle@rac192 ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Sep 15 17:52:27 2020
Version 19.8.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
BANNER_FULL
--------------------------------------------------------------------------------
BANNER_LEGACY
--------------------------------------------------------------------------------
CON_ID
----------
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
0
BANNER
--------------------------------------------------------------------------------
BANNER_FULL
--------------------------------------------------------------------------------
BANNER_LEGACY
--------------------------------------------------------------------------------
CON_ID
----------
修改归档路径
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /ofsdata/app/oracle/oradata/archive
Oldest online log sequence 164
Next log sequence to archive 166
Current log sequence 166
alter system set log_archive_dest_1='location=/ofsdata/app/oracle/oradata/archive';
oracle 19c补丁下载,rpm 安装oracle 19c,通过补丁升级到19.8相关推荐
- Linux上安装oracle19c客户端,Oracle 19c的下载和安装部署(图形安装和静默安装)
Oracle 19C的下载和安装部署(图形安装和静默安装) Oracle Database 19c ,也就是12.2.0.3,最初在livesql.oracle.com上发布,是Oracle Data ...
- oracle怎么下载安装,Oracle数据库的下载和安装方法
一.Oracle数据的下载与安装: 我这里是Oracle Database 11g Release 2版本的. 1.百度云链接: 链接:https://pan.baidu.com/s/1QYvBVS3 ...
- Oracle Linux 6 3下安装Oracle 11g R2 11 2 0 3
分享一下我老师大神的人工智能教程.零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow 本文主要描述了在O ...
- Oracle(一):我与安装Oracle的那些事
Oracle(一):我与安装Oracle的那些事 这里以安装Oracle-11g为例,其他版本的大同小异哦! 如果没有成功安装的伙伴们看二的内容哦~ 一.Oracle的安装及配置 由于小森也是小白,所 ...
- Windows下批量下载rpm安装文件
Windows下批量下载rpm安装文件 1.需求 内网服务器需要更新yum源,又因为内网不允许接公网. 就转换成了在win10下,批量下载rpm安装包.找了 一些资料,基本没有问题. 2.准备工作 h ...
- 红帽如何安装oracle数据库,红帽系Linux安装Oracle 19C数据库
环境准备 本文使用的系统及软件版本为: Redhat 7.7 Oracle 19C Xmanager 5 操作系统及Oracle数据库下载地址为: 如使用Redhat安装需先修改系统自带的yum源,详 ...
- oracle内置帐号安装,无metalink帐号,oracle 补丁下载及安装
oracle 补丁下载新方法. 使用迅雷新建任务下载地址填写 /p__.zip 就可以下载到你想要的补丁了. 以下是几个常用补丁的下载地址. (10.2.0.3 patch) oracle 9.2.0 ...
- Oracle数据库的下载和安装
那天分享一下Oracle的下载和安装的过程,有需要的朋友可以借鉴参考一下.如有雷同不胜感激! 首先可以到Oracle的官网下载Oracle的最次年版本的Oracle数据库.一下是个人下载的数据库版本百 ...
- Oracle Linux 6.5 RPM安装Mysql 5.7.11
安装Oracle Liunx 6.5 开发包全部选择上 不然后面安装Mysql报错 [root@localhost /]# cd /tool [root@localhost tool]# tar -x ...
最新文章
- 基于 Go 语言构建企业级的 RESTful API 服务
- ICSharpCode.SharpZipLib 压缩
- (转)解决Android SDK Manager无法更新或下载太慢问题
- 做重?做轻?关键是要解决客户问题
- 8.2.1.3 Range Optimization
- Linux系统proc详解
- 聊聊高并发(六)实现几种自旋锁
- C#使用Aspose.Words操作word文档(利用模板2)
- 供给测结构性改革内容_智能包装结构,提高可测性
- 两款404页面自动跳转源码html
- 特斯拉将美国政府告了:要求停止对华关税并退款!
- 使用MesaSQLite入库CSV文件
- libtorch下载
- 辅助驾驶等级_BBA霸榜、特斯拉折戟 E-NCAP辅助驾驶评测结果公布
- scratch ios html,scratch手机版
- 惊艳!ftrack和UE4,强强联合!
- OracleRAC基本概念及入门
- 利用计算机模拟人脑进行演绎推理,2014年4月全国自学考试计算机应用技术试题...
- 国内首家专注影视文化产业的数藏平台“神缘”即将上线
- 在Android应用中使用自定义证书,CER转BKS