[db@oracle:/home/oracle/patch/16989630]$ /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installerバージョン11.2.0.3.21
Copyright (c) 2019, Oracle Corporation. All rights reserved。
PREREQ session
Oracleホーム : /u01/app/oracle/product/11.2.0/dbhome_1
中央インベントリ : /u01/app/oraInventory
元 : /etc/oraInst.loc
OPatchのバージョン : 11.2.0.3.21
OUIのバージョン : 11.2.0.4.0
ログ?ファイルの場所 : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-05-29_12-31-53午後_1.log
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.
[db@oracle:/home/oracle/patch/16989630]$ $ORACLE_HOME/OPatch/opatch apply
Oracle Interim Patch Installerバージョン11.2.0.3.21
Copyright (c) 2019, Oracle Corporation. All rights reserved。
Oracleホーム : /u01/app/oracle/product/11.2.0/dbhome_1
中央インベントリ : /u01/app/oraInventory
元 : /etc/oraInst.loc
OPatchのバージョン : 11.2.0.3.21
OUIのバージョン : 11.2.0.4.0
ログ?ファイルの場所 : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-05-29_12-42-58午後_1.log
Verifying environment and performing prerequisite checks...
--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...
Oracle Interim Patch Installerバージョン11.2.0.3.21
Copyright (c) 2019, Oracle Corporation. All rights reserved。
Oracleホーム : /u01/app/oracle/product/11.2.0/dbhome_1
中央インベントリ : /u01/app/oraInventory
元 : /etc/oraInst.loc
OPatchのバージョン : 11.2.0.3.21
OUIのバージョン : 11.2.0.4.0
ログ?ファイルの場所 : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-05-29_12-43-02午後_1.log
Verifying environment and performing prerequisite checks...
UtilSessionが失敗しました:
To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM).
Please run "/tmp/oracle-home-155910498122588/OPatch/ocm/bin/emocmrsp" to generate an OCM response file. The generated response file
can be reused on different platforms and in multiple OPatch silent installs.
To regenerate an OCM response file, Please rerun "/tmp/oracle-home-155910498122588/OPatch/ocm/bin/emocmrsp".
Log file location: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-05-29_12-43-02午後_1.log
OPatch failed with error code 73
[db@oracle:/home/oracle/patch/16989630]$ more /tmp/oracle-home-155910498122588/OPatch/ocm/bin/emocmrsp
/tmp/oracle-home-155910498122588/OPatch/ocm/bin/emocmrsp: そのようなファイルやディレクトリはありません
[db@oracle:/home/oracle/patch/16989630]$ ls -l $ORACLE_HOME/OPatch/ocm/bin/emocmrsp
-rwxr-x--- 1 oracle oinstall 9063 5月 9 14:59 /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/ocm/bin/emocmrsp
[db@oracle:/home/oracle/patch/16989630]$ ls -l
合計 12
-rw-rw-r-- 1 oracle oinstall 10037 2月 5 2016 README.txt
drwxr-xr-x 4 oracle oinstall 31 2月 5 2016 etc
drwxr-xr-x 3 oracle oinstall 17 2月 5 2016 files
drwxr-xr-x 4 oracle oinstall 30 2月 5 2016 online
[db@oracle:/home/oracle/patch/16989630]$ pwd
/home/oracle/patch/16989630
[db@oracle:/home/oracle/patch/16989630]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/app/oracle/file.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 (/u01/app/oracle/file.rsp) was successfully created.
[db@oracle:/home/oracle/patch/16989630]$ ls -l /u01/app/oracle/file.rsp
-rw-r--r-- 1 oracle oinstall 623 5月 29 12:50 /u01/app/oracle/file.rsp
[db@oracle:/home/oracle/patch/16989630]$ $ORACLE_HOME/OPatch/opatch apply -silent -ocmrf /u01/app/oracle/file.rsp
Oracle Interim Patch Installerバージョン11.2.0.3.21
Copyright (c) 2019, Oracle Corporation. All rights reserved。
Oracleホーム : /u01/app/oracle/product/11.2.0/dbhome_1
中央インベントリ : /u01/app/oraInventory
元 : /etc/oraInst.loc
OPatchのバージョン : 11.2.0.3.21
OUIのバージョン : 11.2.0.4.0
ログ?ファイルの場所 : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-05-29_12-50-55午後_1.log
Verifying environment and performing prerequisite checks...
--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...
Oracle Interim Patch Installerバージョン11.2.0.3.21
Copyright (c) 2019, Oracle Corporation. All rights reserved。
Oracleホーム : /u01/app/oracle/product/11.2.0/dbhome_1
中央インベントリ : /u01/app/oraInventory
元 : /etc/oraInst.loc
OPatchのバージョン : 11.2.0.3.21
OUIのバージョン : 11.2.0.4.0
ログ?ファイルの場所 : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-05-29_12-50-59午後_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 16989630
続行しますか。[y|n]
Y (auto-answered by -silent)
User Responded with: Y
All checks passed.
ローカル?システムのこのORACLE_HOME以外で実行しているOracleインスタンスを停止してください。
(Oracleホーム = '/u01/app/oracle/product/11.2.0/dbhome_1')
ローカル?システムにパッチを適用する準備ができましたか。 [y|n]
Y (auto-answered by -silent)
User Responded with: Y
Backing up files...
仮パッチ'16989630'をOH '/u01/app/oracle/product/11.2.0/dbhome_1'に適用中
コンポーネントoracle.rdbms.rsf, 11.2.0.4.0にパッチを適用中...
コンポーネントoracle.rdbms, 11.2.0.4.0にパッチを適用中...
Patch 16989630 successfully applied.
Log file location: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-05-29_12-50-59午後_1.log
OPatch succeeded.
[db@oracle:/home/oracle/patch/16989630]$ $ORACLE_HOME/OPatch/opatch apply lsinventory
Oracle Interim Patch Installerバージョン11.2.0.3.21
Copyright (c) 2019, Oracle Corporation. All rights reserved。
ZOP-50: The patch location is not valid because it may not exist (or) current user has no permission to access it. Please check the same.
引数エラー... Patch Location not valid
Please check the arguments and try again.
OPatch failed with error code 135
[db@oracle:/home/oracle/patch/16989630]$ ^C
[db@oracle:/home/oracle/patch/16989630]$ $ORACLE_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installerバージョン11.2.0.3.21
Copyright (c) 2019, Oracle Corporation. All rights reserved。
Oracleホーム : /u01/app/oracle/product/11.2.0/dbhome_1
中央インベントリ : /u01/app/oraInventory
元 : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatchのバージョン : 11.2.0.3.21
OUIのバージョン : 11.2.0.4.0
ログ?ファイルの場所 : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2019-05-29_12-51-38午後_1.log
Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2019-05-29_12-51-38午後.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: db
ARU platform id: 226
ARU platform description:: Linux x86-64
インストールされた最上位製品(1):
Oracle Database 11g 11.2.0.4.0
このOracleホームには1の製品がインストールされています。
仮パッチ(1) :
Patch 16989630 : applied on Wed May 29 12:51:08 CST 2019
Unique Patch ID: 18750365
Created on 5 Feb 2016, 01:46:14 hrs PST8PDT
Bugs fixed:
16989630
--------------------------------------------------------------------------------
OPatch succeeded.
[db@oracle:/home/oracle/patch/16989630]$
===========================================================
Opatch 11.2.0.3.20 : Applying PSU/Windows BP fails with:'To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM)', 'error code = 73' (文档 ID 2507120.1) | 转到底部 |
In this Document
APPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]Generic UNIX Generic Windows SYMPTOMS While applying latest WINDOWS DB BUNDLE PATCH 11.2.0.4.181016 with latest OPatch-11.2.0.3.20,the following errors are seen - C:\app\Administrator\product\11.2.0\dbhome_1\patches\28265827>opatch apply Oracle Home : C:\app\Administrator\product\11.2.0\dbhome_1 Verifying environment and performing prerequisite checks... ------------------------------------------------------------------------------ Start OOP by Prereq process. Oracle Interim Patch Installer version 11.2.0.3.20 Oracle Home : C:\app\Administrator\product\11.2.0\dbhome_1 Verifying environment and performing prerequisite checks... To regenerate an OCM response file, Please rerun Log file location: OPatch failed with error code = 73
CHANGES
CAUSEIdentified in an unpublished Bug.
SOLUTIONThe errors are due to the missing OCM response file. C:\ $ORACLE_HOME\OPatch\ocm\bin\emocmrsp.bat".
C:\ opatch apply -ocmrf <full location of Response file) Note - The messages related to OOP(Out of Place) Patching would be removed in the next OPatch Version. |