首页 > 其他分享 >安装35042068补丁

安装35042068补丁

时间:2023-04-26 17:57:04浏览次数:49  
标签:35042068 19.3 0.0 补丁 OPatch oracle 安装 slnngk

环境:
OS:Centos 8
DB:19.3.0.0

 

1.解压
[root@slnngk soft]#unzip p35042068_190000_Linux-x86-64.zip

 

2.修改目录权限
[root@slnngk soft]# chown -R oracle:oinstall ./patch/

 

3.检查

[oracle@slnngk 35042068]$ /u01/app/oracle/product/19.3.0.0/db_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.2.0.1.17
Copyright (c) 2023, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/app/oracle/product/19.3.0.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/19.3.0.0/db_1/oraInst.loc
OPatch version    : 12.2.0.1.17
OUI version       : 12.2.0.7.0
Log file location : /u01/app/oracle/product/19.3.0.0/db_1/cfgtoollogs/opatch/opatch2023-04-25_05-06-16AM_1.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.

 

3.关闭数据库和监听程序
[oracle@slnngk 35042068]$ lsnrctl stop
SQL> connect / as sysdba
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.

 

4.打补丁

[oracle@slnngk 35042068]$cd /soft/patch/35042068
[oracle@slnngk 35042068]$/u01/app/oracle/product/19.3.0.0/db_1/OPatch/opatch apply

The OPatch being used has version 12.2.0.1.17 while the following patch(es) require higher versions: 
Patch 35042068 requires OPatch version 12.2.0.1.36.
Please download latest OPatch from My Oracle Support.

UtilSession failed: Prerequisite check "CheckMinimumOPatchVersion" failed.
Log file location: /u01/app/oracle/product/19.3.0.0/db_1/cfgtoollogs/opatch/opatch2023-04-25_05-13-03AM_1.log

OPatch failed with error code 73

 

这里需要升级补丁安装程序,可以参考:
https://www.cnblogs.com/hxlasky/p/15624579.html

查看补丁情况
/u01/app/oracle/product/19.3.0.0/db_1/OPatch/opatch lsinventory>a.txt

 

5.安装完19.3后,然后打完补丁35042068,使用rman有如下的提示报错误:

[oracle@slnngk ~]$ rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Tue Apr 25 20:39:46 2023
Version 19.19.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

PL/SQL package SYS.DBMS_BACKUP_RESTORE version 19.03.00.00 in TARGET database is not current
PL/SQL package SYS.DBMS_RCVMAN version 19.03.00.00 in TARGET database is not current
connected to target database: SLNNGK (DBID=3553282077)

解决办法:
connect / as sysdba
@$ORACLE_HOME/rdbms/admin/dbmsrman.sql
@$ORACLE_HOME/rdbms/admin/prvtrmns.plb   
@$ORACLE_HOME/rdbms/admin/dbmsbkrs.sql 
@$ORACLE_HOME/rdbms/admin/prvtbkrs.plb

 

rman重新登录

[oracle@slnngk ~]$ rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Tue Apr 25 20:42:41 2023
Version 19.19.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.
connected to target database: SLNNGK (DBID=3553282077)

 

标签:35042068,19.3,0.0,补丁,OPatch,oracle,安装,slnngk
From: https://www.cnblogs.com/hxlasky/p/17356849.html

相关文章

  • Ubuntu20.04 安装 Docker
    在Ubuntu上安装Docker非常直接。我们将会启用Docker软件源,导入GPGkey,并且安装软件包。首先,更新软件包索引,并且安装必要的依赖软件,来添加一个新的HTTPS软件源:sudoaptupdatesudoaptinstallapt-transport-httpsca-certificatescurlgnupg-agentsoftware-prop......
  • window10|window11下 ubuntu 安装docker 和docker-compose 流程
    一、先决条件1.要成功安装DockerDesktop,您必须:满足系统要求拥有64位版本的UbuntuJammyJellyfish22.04(LTS)或UbuntuImpishIndri21.10。x86_64DockerDesktop在(或)架构上受支持amd64。对于非Gnome桌面环境,gnome-terminal必须安装:$sudoaptinstallgnom......
  • php升级 编译安装php7 支持openeuler欧拉
    php版本下载包查询:https://www.php.net/releases/ yum-yinstallcmakelibxml2libxml2-developensslopenssl-develcurl-devellibjpeg-devellibpng-develfreetype-devellibziplibzip-devellibsodiumsqlitesqlite-develonigurumaoniguruma-devellibwebp-devel......
  • playwite 安装的坑
    当在cmd下执行playwiteinstall命令报错Error:unabletoverifythefirstcertificateatTLSSocket.onConnectSecure(node:_tls_wrap:1540:34)atTLSSocket.emit(node:events:513:28)atTLSSocket._finishInit(node:_tls_wrap:959:8)atssl.onhandshak......
  • 全网最详细的Python安装教程
    https://zhuanlan.zhihu.com/p/569019068 1.首先打开下载配置环境  https://www.python.org/downloads/windows/ 2.64位操作系统:找到windowsx86-64executableinstaller并点击,耐心等待下载完成!3.安装python4.2-1下载完后双击点开python-3.7.4.exe 下面两个都 ......
  • 关于conda在创建虚拟环境时使用env.yaml安装pip的开源git包失败的解决办法
    以下env.yaml配置为例:name:alpacachannels:-pytorch-defaultsdependencies:-python=3.8.5-pip=20.3-cudatoolkit=11.3-pytorch=2.0.0-numpy=1.19.2-pip:-datasets-loralib-sentencepiece-accelerate-bitsan......
  • MySQL 安装及配置
     1、准备工作mysql-installer-community-5.7.34.0.msiVisualC++2013Framework4.5.2补丁说明:安装MySQL5.7之前,先安装VisualC++2013和Framework4.5.2补丁。 2、开始安装服务器部署,选择“ServerOnly” 准备就绪 检查完成  选择配置类型和端口 选择“S......
  • centos7 go语言环境安装
    要在CentOS7上安装Go环境,可以按照以下步骤进行操作:1.访问Go官网下载页面(https://golang.google.cn/dl/),并选择适合自己系统的版本和包。2.下载完成后,使用以下命令将下载的tar包解压到/usr/local目录:```sudotar-C/usr/local-xzfgo$VERSION.$OS-$ARCH.tar......
  • 基于 Docker Compose 安装 Kuboard
    1、Docker安装参考:https://www.cnblogs.com/a120608yby/p/9883175.html2、DockerCompose安装https://www.cnblogs.com/a120608yby/p/14582853.html3、服务配置文件#vimdocker-compose.yamlversion:"3.9"services:kuboard:image:eipwork/kuboard:v3......
  • Rocky Linux 9 离线安装 MySQL 8.0
    1、离线安装包下载https://dev.mysql.com/downloads/mysql/5.5.html?os=31&version=5.12、解压并安装#解压tarxfmysql-8.0.33-1.el9.x86_64.rpm-bundle.tar#安装MySQLdnf-ylocalinstallmysql-community-common-8.0.33-1.el9.x86_64.rpmdnf-ylocalinstallmys......