My Oracle Support Banner

「opatch lsinventory -detail」 の実行に 「OPatch failed because of Inventory problem」 エラーが発生した (Doc ID 2026857.1)

Last updated on JANUARY 03, 2018

適用範囲:

Oracle Applications DBA - バージョン 12.1.2 から 12.1.2 [リリース 12.1]
この文書の内容はすべてのプラットフォームに適用されます。

現象

「opatch lsinventory -detail」 の実行に、以下のような 「OPatch failed because of Inventory problem」 エラーが発生した。

Oracle Interim Patch Installer version 1.0.0.0.57
Copyright (c) 2007 Oracle Corporation. All Rights Reserved..

We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
:
:
Result:

LsInventory: OPatch Exception while accessing O2O

OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred:
OPatch Exception:
 OUI found no such ORACLE_HOME set in the environment
 Can not get details for given Oracle Home
 An exception occurs
 null
 
PRODUCT NAME                                                        VERSION

============                                                        =======

There is no Interim Patch


OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred:
Can not get a list of inventory on this home.

ERROR: OPatch failed because of Inventory problem.

 

以下のコマンドで再現できます。
1. $ opatch lsinventory -detail


原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


本書の内容
現象
原因
解決策
参照情報

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.