My Oracle Support Banner

Opatchauto Throws Message : Opatchauto Must Run from Grid Home with Current Arguments. Please Retry it Inside Grid Home (Doc ID 2441568.1)

Last updated on OCTOBER 25, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Instead applying Database Release Update patch (27674384) and OCW Patch (27464465) separately.

Applying 12.2.0.1.0 GI PSU ( 28183653 - GI JUL 2018 RELEASE UPDATE 12.2.0.1.180717 ) on 12.2 Oracle_Home
facing below error:

[root@Test_Server patches]# /u02/app/oracle/product/12.2.0.1/dbhome_1/OPatch/opatchauto apply /u01/patches/28183653

opatchauto must run from Grid Home with current arguments. Please retry it inside Grid Home
opatchauto returns with error code = 2
[root@Test_Server patches]#

 

Where environment has 18c Grid Home and 12.2 RDBMS Home:

Opatch lsinventory from RDBMS Home
===============================

[oracle@Test_Server ~]$ opatch lsinv
Oracle Interim Patch Installer version 12.2.0.1.14
Copyright (c) 2018, Oracle Corporation. All rights reserved.

Oracle Home : /u02/app/oracle/product/12.2.0.1/dbhome_1
Central Inventory : /u02/app/oraInventory
from : /u02/app/oracle/product/12.2.0.1/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.14
OUI version : 12.2.0.1.4
Log file location : /u02/app/oracle/product/12.2.0.1/dbhome_1/cfgtoollogs/opatch/opatch2018-08-13_16-45-33PM_1.log

Lsinventory Output file location : /u02/app/oracle/product/12.2.0.1/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2018-08-13_16-45-33PM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: Test_Server.xyz.com
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1):

Oracle Database 12c 12.2.0.1.0

 

 

Opatch lsinventory from Grid Home
============================

[oracle@Test_Server ~]$ opatch lsinv
Oracle Interim Patch Installer version 12.2.0.1.14
Copyright (c) 2018, Oracle Corporation. All rights reserved.

Oracle Home : /u02/app/18.0.0.0/grid
Central Inventory : /u02/app/oraInventory
from : /u02/app/18.0.0.0/grid/oraInst.loc
OPatch version : 12.2.0.1.14
OUI version : 12.2.0.4.0
Log file location : /u02/app/18.0.0.0/grid/cfgtoollogs/opatch/opatch2018-08-21_10-35-31AM_1.log

Lsinventory Output file location : /u02/app/18.0.0.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2018-08-21_10-35-31AM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: Test_Server.xyz.com
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1):

Oracle Grid Infrastructure 18c 18.0.0.0.0
There are 1 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

 

Cause

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

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


In this Document
Symptoms
Cause
Solution
References


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