To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM).

[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

 Symptoms
 Changes
 Cause
 Solution
 References

 

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 Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2018, Oracle Corporation. All rights reserved.

Oracle Home : C:\app\Administrator\product\11.2.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 11.2.0.3.20
OUI version : 11.2.0.4.0
Log file location :
C:\app\Administrator\product\11.2.0\dbhome_1\cfgtoollogs\opa
tch\opatch2018-11-27_17-17-35PM_1.log

Verifying environment and performing prerequisite checks...

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

Start OOP by Prereq process.
Launch OOP...

Oracle Interim Patch Installer version 11.2.0.3.20
Copyright (c) 2018, Oracle Corporation. All rights reserved.

Oracle Home : C:\app\Administrator\product\11.2.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 11.2.0.3.20
OUI version : 11.2.0.4.0
Log file location :
C:\app\Administrator\product\11.2.0\dbhome_1\cfgtoollogs\opa
tch\opatch2018-11-27_17-17-58PM_1.log

Verifying environment and performing prerequisite checks...
UtilSession failed:
To run in silent mode, OPatch requires a response file for Oracle Configuration Manager (OCM).Please run "C:\Users\Administrator\AppData\Local\Temp\3\oracle-home-154337867001241\OPatch\ocm\bin\emocmrsp.bat" 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
"C:\Users\Administrator\AppData\Local\Temp\3\oracle-home-154337867001241\OPatch\ocm\bin\emocmrsp.bat".

Log file location:
C:\app\Administrator\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch2018-11-27_17-17-58PM_1.log

OPatch failed with error code = 73
============================================================================

 




 

CHANGES

 

CAUSE

Identified in an unpublished  Bug.

 

SOLUTION

The errors are due to the missing OCM response file.
1. Generate an OCM response File by running -

C:\ $ORACLE_HOME\OPatch\ocm\bin\emocmrsp.bat".


2. Then rerun the apply cmd by passing the location of the response file ocm.rsp to "-ocmrf" flag -

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.

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值