Upgrading Oracle Grid Infrastructure from 12cR1 to 12cR2 [message #669931] |
Thu, 24 May 2018 21:20 |
hammad83
Messages: 46 Registered: June 2008 Location: Australia
|
Member |
|
|
Hi,
I am trying to upgrade Oracle Grid Infrastruture from 12cR1 to 12cR2.
The update wizard complains that following patches are missing from grid home.
19234907
21255373
However, when I try to apply these patches, I get the following error.
Oracle Interim Patch Installer version 12.2.0.1.13
Copyright (c) 2018, Oracle Corporation. All rights reserved.
Oracle Home : D:\App\GridInfra\product\12.1.0\grid
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 12.2.0.1.13
OUI version : 12.1.0.2.0
Log file location : D:\App\GridInfra\product\12.1.0\grid\cfgtoollogs\opatch\opat
ch2018-05-25_12-15-55PM_1.log
Verifying environment and performing prerequisite checks...
Skip patch 21255373 from list of patches to apply: This patch is not needed.
After skipping patches with missing components, there are no patches to apply.
OPatch Session completed with warnings.
Log file location: D:\App\GridInfra\product\12.1.0\grid\cfgtoollogs\opatch\opatc
h2018-05-25_12-15-55PM_1.log
This is content of the log file.
[25/05/2018 12:15:55 PM] [INFO] CUP_LOG: Trying to load HomeOperations object
[25/05/2018 12:15:55 PM] [INFO] CUP_LOG: HomeOperations provider not available
[25/05/2018 12:15:55 PM] [INFO] CUP_LOG: This is unusual state. HomeOperations object is null, but it should not be null if HomeOperations create went thru. CUP is not available
[25/05/2018 12:15:55 PM] [INFO] OPatch invoked as follows: 'apply '
[25/05/2018 12:15:55 PM] [INFO] Runtime args: [-DOPatch.ORACLE_HOME=D:\App\GridInfra\product\12.1.0\grid, -DOPatch.DEBUG=false, -DOPatch.RUNNING_DIR=D:\App\GridInfra\product\12.1.0\grid\OPatch, -DOPatch.MW_HOME=, -DOPatch.WL_HOME=, -DOPatch.COMMON_COMPONENTS_HOME=, -DOPatch.OUI_LOCATION=, -DOPatch.FMW_COMPONENT_HOME=, -DOPatch.WEBLOGIC_CLASSPATH=, -DOPatch.OPATCH_CLASSPATH=]
[25/05/2018 12:15:55 PM] [INFO] Heap in use : 20 MB
Total memory: 245 MB
Free memory : 224 MB
Max memory : 3641 MB
[25/05/2018 12:15:55 PM] [INFO] Oracle Home : D:\App\GridInfra\product\12.1.0\grid
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 12.2.0.1.13
OUI version : 12.1.0.2.0
OUI location : D:\App\GridInfra\product\12.1.0\grid\oui
Log file location : D:\App\GridInfra\product\12.1.0\grid\cfgtoollogs\opatch\opatch2018-05-25_12-15-55PM_1.log
[25/05/2018 12:15:55 PM] [INFO] Patch history file: D:\App\GridInfra\product\12.1.0\grid\cfgtoollogs\opatch\opatch_history.txt
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-TIME] Loading raw inventory
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-MEMORY] Loaded all components from inventory. Heap memory in use: 43 (MB)
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-MEMORY] Loaded all one offs from inventory. Heap memory in use: 43 (MB)
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-TIME] Raw inventory loaded successfully
[May 25, 2018 12:15:57 PM] [INFO] NApply::no CAS enabled, OPatch runs with legacy process.
[May 25, 2018 12:15:57 PM] [INFO] Verifying environment and performing prerequisite checks...
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-TIME] Running prerequisite checks
[May 25, 2018 12:15:57 PM] [INFO] opatch-external.jar is in D:\App\GridInfra\product\12.1.0\grid\OPatch\jlib\opatch-external.jar
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-TIME] Loading cooked inventory
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-MEMORY] : Loading cooked one offs. Heap memory used 46 (MB)
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-MEMORY] : Loaded cooked oneoffs. Heap memory used : 46 (MB)
[May 25, 2018 12:15:57 PM] [INFO] [OPSR-TIME] Cooked inventory loaded successfully
[May 25, 2018 12:15:57 PM] [INFO] Checking conflict among patches...
[May 25, 2018 12:15:57 PM] [INFO] Running prereq checkConflictAmongPatchesWithDetail
[May 25, 2018 12:15:57 PM] [INFO] Following patches can be applied: 21255373
[May 25, 2018 12:15:57 PM] [INFO] Following patches are not required:
[May 25, 2018 12:15:57 PM] [INFO] Following patches are auto rollbackable:
[May 25, 2018 12:15:57 PM] [INFO] Finished checking prereq checkConflictAmongPatchesWithDetail
[May 25, 2018 12:15:57 PM] [INFO] Conflict checking amongst patches PASSED
[May 25, 2018 12:15:57 PM] [INFO] Checking if Oracle Home has components required by patches...
[May 25, 2018 12:15:57 PM] [INFO] Skip patch 21255373 from list of patches to apply: This patch is not needed.
[May 25, 2018 12:15:57 PM] [INFO] CheckMissingComps: Cached file does not exist or is invalid, re-build prereq result.
[May 25, 2018 12:15:57 PM] [WARNING]OUI-67124:
After skipping patches with missing components, there are no patches to apply.
[May 25, 2018 12:15:57 PM] [INFO] UtilSession: N-Apply done.
[May 25, 2018 12:15:57 PM] [INFO] --------------------------------------------------------------------------------
[May 25, 2018 12:15:57 PM] [INFO] The following warnings have occurred during OPatch execution:
[May 25, 2018 12:15:57 PM] [INFO] 1) OUI-67124:
After skipping patches with missing components, there are no patches to apply.
[May 25, 2018 12:15:57 PM] [INFO] --------------------------------------------------------------------------------
[May 25, 2018 12:15:57 PM] [SEVERE] OUI-67008:OPatch Session completed with warnings.
[May 25, 2018 12:15:57 PM] [INFO] Finishing UtilSession at Fri May 25 12:15:57 AEST 2018
[May 25, 2018 12:15:57 PM] [INFO] Log file location: D:\App\GridInfra\product\12.1.0\grid\cfgtoollogs\opatch\opatch2018-05-25_12-15-55PM_1.log
Any ideas anyone?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Upgrading Oracle Grid Infrastructure from 12cR1 to 12cR2 [message #669977 is a reply to message #669947] |
Sun, 27 May 2018 19:08 |
hammad83
Messages: 46 Registered: June 2008 Location: Australia
|
Member |
|
|
Michel Cadot wrote on Fri, 25 May 2018 12:09hammad83 wrote on Fri, 25 May 2018 08:50I'm just wondering why the installer is asking for these patches, when Opatch says there's no need to install them?
Wild guess: installer just searches for patch numbers whereas OPatch searches if there are components to patch with these patches.
Ok so, any ideas how to get past these patch checks?
|
|
|
Re: Upgrading Oracle Grid Infrastructure from 12cR1 to 12cR2 [message #670019 is a reply to message #669931] |
Wed, 30 May 2018 00:05 |
hammad83
Messages: 46 Registered: June 2008 Location: Australia
|
Member |
|
|
Ok I found a solution, for anyone else running into this issue.
Open command prompt navigate to the grid software directory.
Run "gridsetup -skipPrereqs" and it will skip the prereqs and continue with the installation.
I think you should first just run gridSetup without skipping prereqs and see if there are any other errors than missing patches.
Even if it complains about missing patches, first try to apply these patches in grid home.
However, if the Opatch says that these patches are not needed, then you can run the setup without prereqs check as mentioned above.
|
|
|
|