solaris X86-64下ORACLE打11.2.0.3.8补丁之一波三折

solaris X86-64下ORACLE打11.2.0.3.8补丁:

正确步骤:

1.BUG6880880 ,OPATCH的补丁

2.BUG16902043,11.2.0.3.8补丁

感慨就是要实践啊看着容易的事也一波三折--像OPATCH的版本问题在安装11.2.0.3.8补丁前有提示的,要细心唉。

MOS还是很好用的哈哈。

安装过程:

1.环境检查

-bash-3.2$ ls

16902043                           alert_byssolaris.log

Desktop                            p16902043_112030_Solaris86-64.zip

Documents                          u01

-bash-3.2$ cd 16902043/

-bash-3.2$ ls

13343438     13923374     14727310     16619892     README.html  patchmd.xml

13696216     14275605     16056266     16902043     README.txt

-bash-3.2$ ./opatch lsinventory Cdetail

Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7

Copyright (c) 2011, Oracle Corporation.  All rights reserved.

Oracle Home       : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1

Central Inventory : /export/home/oracle/u01/app/oraInventory

from           : /var/opt/oracle/oraInst.loc

OPatch version    : 11.2.0.1.7

OUI version       : 11.2.0.3.0

Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-18-52PM.log

Lsinventory Output file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-05-13_16-18-52PM.txt

--------------------------------------------------------------------------------

Installed Top-level Products (1):

Oracle Database 11g                                                  11.2.0.3.0

There are 1 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

--------------------------------------------------------------------------------

OPatch succeeded.

-bash-3.2$ ls

16902043                           alert_byssolaris.log

Desktop                            p16902043_112030_Solaris86-64.zip

Documents                          u01

###########

-bash-3.2$ cd 16902043/

-bash-3.2$ pwd

/export/home/oracle/16902043/16902043

-bash-3.2$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./

Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7

Copyright (c) 2011, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1

Central Inventory : /export/home/oracle/u01/app/oraInventory

from           : /var/opt/oracle/oraInst.loc

OPatch version    : 11.2.0.1.7

OUI version       : 11.2.0.3.0

Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-21-21PM.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.

#####################################################

2.开始安装

-bash-3.2$ cd ..

-bash-3.2$ pwd

/export/home/oracle/16902043

-bash-3.2$ ls

13343438     13923374     14727310     16619892     README.html  patchmd.xml

13696216     14275605     16056266     16902043     README.txt

-bash-3.2$ opatch apply

Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7

Copyright (c) 2011, Oracle Corporation.  All rights reserved.

Oracle Home       : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1

Central Inventory : /export/home/oracle/u01/app/oraInventory

from           : /var/opt/oracle/oraInst.loc

OPatch version    : 11.2.0.1.7

OUI version       : 11.2.0.3.0

Log file location : /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-27-02PM.log

Verifying environment and performing prerequisite checks...

UtilSession failed:

Patch 13696216 requires OPatch version 11.2.0.3.0.

Patch 13923374 requires OPatch version 11.2.0.3.0.

Patch 14275605 requires OPatch version 11.2.0.3.0.

Patch 14727310 requires OPatch version 11.2.0.3.0.

Patch 16056266 requires OPatch version 11.2.0.3.0.

Patch 16619892 requires OPatch version 11.2.0.3.0.

Patch 16902043 requires OPatch version 11.2.0.3.0.

The OPatch version being used (11.2.0.1.7) doesn‘t meet the minimum version required by the patch(es). Please download latest OPatch from My Oracle Support.

Log file location: /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_16-27-02PM.log

OPatch failed with error code 73

从提示中可以看到:The OPatch version being used (11.2.0.1.7) doesn‘t meet the minimum version required by the patch(es)

是OPATCH版本低。

OPatch - Where Can I Find the Latest Version of OPatch? [Video] (文档 ID 224346.1)

文档最后找到:

For Oracle11g Release 2 (11.2.0.x),

select release "11.2.0.0.0" (description "OPatch 11.2") and download

p6880880_112000_platform.zip

As of December 2013 the OPatch release is 11.2.0.3.6

####下载补丁p6880880_112000_platform.zip  -----其实这个在PSU的README的最开始就有:

2.1 OPatch Utility

You must use the OPatch utility version 11.2.0.3.0 or later to apply this patch. Oracle recommends that you use the latest released OPatch version for 11.2, which is available for download from My Oracle Support patch
6880880 by selecting the 11.2.0.0.0 release.

For information about OPatch documentation, including any known issues, see My Oracle Support Document
293369.1 OPatch documentation list.

3.安装OPATCH

在ORACLE_HOME下备份OPATCH目录:

-bash-3.2$ tar -cvf opatch.tar OPatch/

解压p6880880_112000_platform.zip,将ORACLE_HOME下备份OPATCH目录文件删除,再移动解压目录。

-bash-3.2$ mv OPatch/ /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/

-bash-3.2$ opatch -help

查看是否可用。

###############################

4.再次打补丁(数据库关闭、监听关闭、DBCONSOLE关闭) :

-bash-3.2$ opatch apply

日志中有warnings:

-bash-3.2$ tail /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_18-29-20PM_1.log

[May 13, 2014 6:52:15 PM]    1) OUI-67215:

OPatch found the word "warning" in the stderr of the make command.

Please look at this stderr. You can re-run this make command.

Stderr output:

ld: warning: option -YP appears more than once, first setting taken

ld: warning: option -Q appears more than once, first setting taken

[May 13, 2014 6:52:15 PM]    --------------------------------------------------------------------------------

[May 13, 2014 6:52:15 PM]    OUI-67008:OPatch Session completed with warnings.

[May 13, 2014 6:52:15 PM]    Finishing UtilSession at Tue May 13 18:52:15 CST 2014

[May 13, 2014 6:52:15 PM]    Log file location: /export/home/oracle/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-05-13_18-29-20PM_1.log

从MOS上查询此报错:

Opatch Warning During Patch Apply : "ld: warning: option -YP appears more than once, first setting taken" (文档 ID 1571550.1)

可以忽略:

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.4 [Release 11.2]

Oracle Solaris on SPARC (64-bit)

Oracle Solaris on x86-64 (64-bit)

Cause

Make warnings caused due to Options for ld command appears more than once.

Solution

These warnings are safely ignorable.

----至此安装完成。

solaris X86-64下ORACLE打11.2.0.3.8补丁之一波三折

时间: 2024-07-30 10:18:26

solaris X86-64下ORACLE打11.2.0.3.8补丁之一波三折的相关文章

ORACLE RAC 11.2.0.4 CentOS release 6.9 静默安装1.0版本

RAC11.2.0.4静默安装 1.0版本,20180613 #本文档IP地址使用X隐藏,个人可按照自己的当前环境IP进行适当修改 1. 清除原环境中的单实例软件 #清除原环境: 删除/etc/ora* 删除 /usr/local/bin/oraenv 删除 /usr/local/bin/dbhome 删除 /usr/local/bin/coraenv 删除 $ORACLE_BASE/* 删除 cd /picclife/app  rm -rf * #解释说明: /etc/oratab ?数据库实

Oracle 11g(11.2.0.4)手动打补丁PSU(11.2.0.4.8)

一.准备工作 1,数据库环境操作系统版本   : Redhat 6.5 x64数据库版本     : Oracle 11.2.0.4 x64Oracle database: 11.2.0.4 2,准备内容OPatch : p6880880_112000_Linux-x86-64.zipDB PSU : p21352635_112040_Linux-x86-64.zip 仅单实例使用.OPatch下载地址:https://updates.oracle.com/download/6880880.ht

Oracle database 11.2.0.3.0 升级至 11.2.0.3.14

下载PSU p20299017_112030_Linux-x86-64(DATABASE PATCH SET UPDATE 11.2.0.3.14 (INCLUDES CPUAPR2015)).zip 及Opatch p6880880_112000_Linux-x86-64(OPatch patch of version 11.2.0.3.10 for Oracle software releases 11..zip 下载地址 http://yunpan.cn/cHACmBerMb526 访问密

rhel7.4安装oracle 11G 11.2.0.4.0 RAC

一.操作系统 red hat 7.4oracle数据库版本11.2.0.4oracle grid版本11.2.0.4对应的文件p13390677_112040_Linux-x86-64_1of7.zip - database softwarep13390677_112040_Linux-x86-64_2of7.zip - database softwarep13390677_112040_Linux-x86-64_3of7.zip - grid software IP地址规划:DNS serve

CentOS7 静默安装Oracle 11gR2(11.2.0.1)

最近有个项目需要迁移,项目中数据库用的是oracle,期间折腾了好久,特此记录. 一,下载Oracle 1,首先下载Oracle 11gR2,地址如下:http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?spm=a2c4e.11153940.blogcont566703.10.36ae6c23iChOrf2,在页面上方勾选同意许可:3,在下方选择对应的oracle版本,这里选择11g

Oracle Rac 11.2.0.3迁移OCR和VOTEDISK

环境:AIX7.1+Oracle Rac 11.2.0.3 迁移描述:今天在装Oracle Rac的时候,错误的将500G的数据盘用作OCRDG了,遂后续比较麻烦,只能讲ocr和votedisk迁移到新建的OCRDG上,并把DATADG删除并格式化该盘.(OCRDG为normal 冗余) 操作如下: [email protected]:/home/grid>/oraapp/grid/gridhome/bin/ocrcheck Status of Oracle Cluster Registry i

Oracle Grid 11.2.0.4 安装是出现"INS-30510: Insufficient number of ASM disks selected."

错误的原因是由于磁盘数和冗余层级不匹配: 如果创建用来存放OCR和VOTEDISK的ASM磁盘组,那么External.Normal.High三种冗余级别对应的Failgroup个数是1.3.5.也就是说,创建这三种冗余级别的磁盘组至少分别需要1.3.5个ASM磁盘. 如果创建用于非OCR和VOTEDISK存储的ASM磁盘组,那么External.Normal.High三种冗余级别对应的Failgroup至少是1.2.3.也就是说,创建这三种冗余级别的磁盘组至少分别需要1.2.3个ASM磁盘.

Oracle Grid 11.2.0.4 安装是出现“[INS-41112] Specified network interface doesnt maintain connectivity across cluster”错误

安装Oracle 11.2.0.4 的RAC,在Grid 安装时报错: [INS-41112]Specified network interface doesnt maintain connectivity across cluster nodes 首先尝试在节点间ping 各个IP 地址没有问题. 因为使用安装程序做的SSH 验证,所以尝试测试ssh远程连接是否还需要确认: [[email protected] ~]$ ssh vdb1 date # 验证vdb1 ssh Thu Aug 7

ORACLE RAC 11.2.0.4启动后报ORA-01172、ORA-01151错误

环境描述 操作系统:redhat6.4 64位 oracle版本:11.2.0.4 RAC(两节点) 盘阵:宏彬3300e 问题描述 年前实施RAC集群时,在rac集群所在的操作系统中只有一组路径,另外一组冗余路径没显示出来,但RAC能正常启动,因为时间关系,并没有去解决,直接shutdown RAC集群所在服务器.年后到现场,发现了启动文件集群发现了此问题,把一组光纤的两个小头在光纤交换机上交换一下即可,接着启动RAC集群时,发现存储的路径映射多一组冗余路径,但数据库启动不了,报错 ORA-0