ynzd1[/oracle/grid/11.2.0/OPatch/ocm/bin]$./emocmrsp -no_banner -output /tmp/ocm.rsp Provide your email address to be informed of security issues, install and initiate Oracle Configuration Manager. Easier for you if you use your My Oracle Support Email address/User Name. Visit http://www.oracle.com/support/policies.html for details. Email address/User Name:
You have not provided an email address for notification of security issues. Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: y The OCM configuration response file (/tmp/ocm.rsp) was successfully created. ynzd1[/oracle/grid/11.2.0/OPatch/ocm/bin]$
This is the main log file: /oracle/grid/11.2.0/cfgtoollogs/opatchauto2018-09-25_12-13-46.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system: /oracle/grid/11.2.0/cfgtoollogs/opatchauto2018-09-25_12-13-46.report.log
patch /soft/27967757/27734982 apply failed for home /oracle/grid/11.2.0
Starting CRS... Installing Trace File Analyzer CRS-4123: Oracle High Availability Services has been started.
Starting RAC /oracle/ora11g/product ... Started RAC /oracle/ora11g/product successfully
opatch auto succeeded. [root@ynzd1 soft]#
apply失败。查看日志
省略、、、、、、、、、、
Oracle Home : /oracle/grid/11.2.0 Central Inventory : /oracle/grid/oraInventory from : /oracle/grid/11.2.0/oraInst.loc OPatch version : 11.2.0.3.19 OUI version : 11.2.0.4.0 Log file location : /oracle/grid/11.2.0/cfgtoollogs/opatch/opatch2018-09-25_11-21-28AM_1.log
Verifying environment and performing prerequisite checks... Prerequisite check "CheckActiveFilesAndExecutables" failed. The details are:
Following executables are active : /oracle/grid/11.2.0/lib/libclntsh.so.11.1 Prerequisite check "CheckActiveFilesAndExecutables" failed. The details are:
Following executables are active : /oracle/grid/11.2.0/lib/libsqlplus.so UtilSession failed: Prerequisite check "CheckActiveFilesAndExecutables" failed.Prerequisite check "CheckActiveFilesAndExecutables" failed. Log file location: /oracle/grid/11.2.0/cfgtoollogs/opatch/opatch2018-09-25_11-21-28AM_1.log
OPatch failed with error code 73
2018-09-25 11:21:40: patch /soft/27967757/27734982 apply failed for home /oracle/grid/11.2.0
This is the main log file: /oracle/grid/11.2.0/cfgtoollogs/opatchauto2018-09-25_12-33-18.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system: /oracle/grid/11.2.0/cfgtoollogs/opatchauto2018-09-25_12-33-18.report.log
patch /soft/27967757/27734982 apply successful for home /oracle/grid/11.2.0 patch /soft/27967757/27441052 apply successful for home /oracle/grid/11.2.0
Starting CRS... Installing Trace File Analyzer CRS-4123: Oracle High Availability Services has been started.
Starting RAC /oracle/ora11g/product ... Started RAC /oracle/ora11g/product successfully
opatch auto succeeded. [root@ynzd1 soft]#
二节点重复以上步骤
查看补丁情况:
ynzd1[/home/grid]$opatch lspatches 27441052;OCW PATCH SET UPDATE: 11.2.0.4.180417 (27441052) 27734982;Database Patch Set Update : 11.2.0.4.180717 (27734982) 27959254;ACFS Patch Set Update : 11.2.0.4.180717 (27959254)
OPatch succeeded. ynzd1[/home/grid]$exit [root@ynzd1 ~]# su - oracle ynzd1[/home/oracle]$opatch lspatches 27441052;OCW PATCH SET UPDATE: 11.2.0.4.180417 (27441052) 27734982;Database Patch Set Update : 11.2.0.4.180717 (27734982) 27475598;OJVM PATCH SET UPDATE 11.2.0.4.180417 ynzd1[/home/oracle]$