My Oracle Support Banner

ODA Upgrade PrepatchReport Fails Due To OraInventory Lock Internal Error (Doc ID 2659378.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database Appliance Software - Version 18.3.0.0.0 ODAVP and later
Information in this document applies to any platform.

Goal

On : Oracle Database Appliance X7-2M (18.5.0.0.0)

ODA Upgrade PrepatchReport Fails Due To OraInventory Lock  Internal Error

Generic description for the ODA upgrade situation:

We have downloaded the 18.8 ODA bundle to one of our X7-2M ODA's currently running 18.5 bundle. We also have the ODA monitored by Enterprise Manager 13.3. the /u01/app/oraInventory/lock/inventory.lock is owned by oemuser. This is the user specified to use in the ODA plugin for Enterprise Manager. Now we are getting the attached internal error in the prepatchreport job

---------------------------
[root@myodaX72M app]# odacli describe-component
System Version
---------------
18.5.0.0.0

Component Installed Version Available Version
---------------------------------------- -------------------- --------------------
OAK 18.5.0.0.0 18.8.0.0.0
GI 18.5.0.0.190115 18.8.0.0.191015
DB {
[ OraDB12102_home1 ] 12.1.0.2.180417 12.1.0.2.191015
[ OraDB18000_home1 ] 18.5.0.0.190115 18.8.0.0.191015
}
DCSAGENT 18.5.0.0.0 18.8.0.0.0
ILOM 4.0.4.21.r126801 4.0.4.47.r131913
BIOS 41040100 41060600
OS 6.10 up-to-date
FIRMWARECONTROLLER QDV1RE14 qdv1rf30
FIRMWAREDISK 0121 up-to-date
ASR 18.3.1 19.4.0

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

 

Output from 'odacli describe-prepatchreport' command:

 

For example:

 

  odacli describe-prepatchreport -i 813b62af-xxxx-xxxx-xxxx-xxxxxxc9c25e

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

Pre-Check                      Status   Comments                              
------------------------------ -------- --------------------------------------
__OS__
Validate supported versions     Success   Validated minimum supported versions  
Validate patching tag           Success   Validated patching tag: 18.8.0.0.0    
Is patch location available     Success   Patch location is available          
Verify OS patch                 Success   There are no packages available for  
                                         an update                            

__ILOM__
Validate supported versions     Success   Validated minimum supported versions  
Validate patching tag           Success   Validated patching tag: 18.8.0.0.0    
Is patch location available     Success   Patch location is available          
Checking Ilom patch Version     Success   Successfully verified the versions    
Patch location validation       Success   Successfully validated location      

__GI__
Validate supported GI versions  Success   Validated minimum supported versions  
Validate available space        Success   Validated free space under /u01      
Verify DB Home versions         Success   Verified DB Home versions            
Validate patching locks         Failed    Internal error encountered:          
                                         /u01/app/oraInventory/locks.                                          <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-------------------------

NOTE: This issue is not specific to the ODA 18.8 or ODALite environment but can affect various versions of the ODA upgrade on both single and HA systems.

Solution

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
Goal
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.