探索Oracle之数据库升级四11.2.0.4.0PSU11.2.0.4.3(二)

2015-02-02 23:08:35 · 作者: · 浏览: 46
tch version 11.2.0.3.5. Patch 18031668 requiresOPatch version 11.2.0.3.5. Patch 18522509 requiresOPatch version 11.2.0.3.5. Please download latestOPatch from My Oracle Support. UtilSession failed:Prerequisite check "CheckMinimumOPatchVersion" failed. Log file location:/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-25-14AM_1.log OPatch failed with errorcode 73 [oracle@db01 18522509]$

五、OPatch应用报错,检查日志:

[oracle@db01 admin]$ cat/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-25-14AM_1.log |grep failed

[Oct 4, 20145:25:18 AM]     Prerequisite check "CheckMinimumOPatchVersion"failed.

[Oct 4, 20145:25:18 AM]     OUI-67073:UtilSessionfailed: Prerequisite check "CheckMinimumOPatchVersion" failed.

[Oct 4, 20145:25:18 AM]     Stack Description:java.lang.RuntimeException: Prerequisite check "CheckMinimumOPatchVersion"failed.

[oracle@db01 admin]$

 

##检查后,发现是Opatch版本的问题,先更新opatch ,下载p6880880,并解压缩。

[oracle@db01~]$ ll p6880880_112000_Linux-x86-64.zip 

-rw-r--r--1 oracle oinstall 33020933 Oct  4 05:29p6880880_112000_Linux-x86-64.zip

[oracle@db01~]$ unzip p6880880_112000_Linux-x86-64.zip

 

 

##查看最新Opatch版本号:

[oracle@db01 OPatch]$./opatch version

OPatch Version: 11.2.0.3.6

 

OPatch succeeded.

[oracle@db01 OPatch]$

 

##再执行一次安装前的检查:

[oracle@db01 18522509]$/home/oracle/OPatch/opatch  prereqCheckConflictAgainstOHWithDetail -ph ./

Oracle Interim PatchInstaller version 11.2.0.3.6

Copyright (c) 2013, OracleCorporation.  All rights reserved.

 

PREREQ session

 

Oracle Home       : /DBSoft/Product/11.2.4/db_1

Central Inventory :/DBSoft/oraInventory

   from           :/DBSoft/Product/11.2.4/db_1/oraInst.loc

OPatch version    : 11.2.0.3.6

OUI version       : 11.2.0.4.0

Log file location :/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-43-23AM_1.log
Invoking prereq"checkconflictagainstohwithdetail"
Prereq"checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.

六、通过新版本Opatch安装PSU

[oracle@db01 ~]$ cd18522509/

[oracle@db01 18522509]$ ls

17478514  18031668 18522509  patchmd.xml  README.html README.txt

 

[oracle@db01 18522509]$/home/oracle/OPatch/opatch apply

Oracle Interim PatchInstaller version 11.2.0.3.6

Copyright (c) 2013, OracleCorporation.  All rights reserved.

 

 

Oracle Home       : /DBSoft/Product/11.2.4/db_1

Central Inventory :/DBSoft/oraInventory

   from           :/DBSoft/Product/11.2.4/db_1/oraInst.loc

OPatch version    : 11.2.0.3.6

OUI version       : 11.2.0.4.0

Log file location :/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-36-04AM_1.log

 

Verifying environment andperforming prerequisite checks...

OPatch continues with thesepatches:   17478514  18031668 18522509  

 

Do you want to proceed?[y|n]

y

User Responded with: Y

All checks passed.

Provide your email addressto be informed of security issues, install and

initiate OracleConfiguration Manager. Easier for you if you use your My

Oracle Support Emailaddress/User Name.

Visithttp://www.oracle.com/support/policies.html for details.

Email address/User Name: 

 

You have not provided anemail address for notification of security issues.

Do you wish to remainuninformed of security issues ([Y]es, [N]o) [N]:  y

 

 

 

Please shutdown Oracleinstances running out of this ORAC