About Me

Fremont, CA, United States

Friday, March 5, 2021

opatchauto fails with OPATCHAUTO-72043 Oracle Grid Home 18c Patch 32226219 - GI Release Update 18.13.0.0.210119

opatchauto fails with OPATCHAUTO-72043 Oracle Grid Home 18c Patch 32226219 - GI Release Update 18.13.0.0.210119


As root user

/oracle/app/18.0.0/grid/OPatch/opatchauto apply /export/home/grid/Software/Patch/32226219 -oh /oracle/app/18.0.0/grid -analyze
 
OPatchauto session is initiated at Fri Mar  5 16:07:37 2021

System initialization log file is /oracle/app/18.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2021-03-05_04-07-40PM.log.

Session log file is /oracle/app/18.0.0/grid/cfgtoollogs/opatchauto/opatchauto2021-03-05_04-07-43PM.log
The id for this session is J7YT
OPATCHAUTO-72043: Patch collection failed.
OPATCHAUTO-72043: Failed to create bundle patch object.
OPATCHAUTO-72043: Please verify the patch supplied.
OPatchAuto failed.

OPatchauto session completed at Fri Mar  5 16:07:45 2021
Time taken to complete the session 0 minute, 8 seconds

 opatchauto failed with error code 42


----

Check whether patch directory is having 755 permission. Mine was correct permission but still was getting error


OPatch Utility was not unzipped correctly . The correct way to have the OPatch Utility is : 

rm -rf $ORACLE_HOME/OPatch  ( for both Grid and DB Home )
( I have not done this before, was doing just unzip and replacing exising files )
unzip p6880880_<version>_<OS_platform>.zip -d $ORACLE_HOME 
 ( both the homes i.e. Grid and DB Home)
  
/oracle/app/18.0.0/grid/OPatch/opatchauto apply /export/home/grid/Software/Patch/32226219 -oh /oracle/app/18.0.0/grid -analyze

OPatchauto session is initiated at Fri Mar  5 16:23:46 2021

System initialization log file is /oracle/app/18.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2021-03-05_04-23-49PM.log.

Session log file is /oracle/app/18.0.0/grid/cfgtoollogs/opatchauto/opatchauto2021-03-05_04-23-52PM.log
The id for this session is 4SAX

Executing OPatch prereq operations to verify patch applicability on home /oracle/app/18.0.0/grid
Patch applicability verified successfully on home /oracle/app/18.0.0/grid


Executing patch validation checks on home /oracle/app/18.0.0/grid
Patch validation checks successfully completed on home /oracle/app/18.0.0/grid

OPatchAuto successful.

--------------------------------Summary--------------------------------

Analysis for applying patches has completed successfully:

Host:db-orclprod-3
CRS Home:/oracle/app/18.0.0/grid
Version:18.0.0.0.0


==Following patches were SUCCESSFULLY analyzed to be applied:

Patch: /export/home/grid/Software/Patch/32226219/32216973
Log: /oracle/app/18.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-03-05_16-24-02PM_1.log

Patch: /export/home/grid/Software/Patch/32226219/32216944
Log: /oracle/app/18.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-03-05_16-24-02PM_1.log

Patch: /export/home/grid/Software/Patch/32226219/28655963
Log: /oracle/app/18.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-03-05_16-24-02PM_1.log

Patch: /export/home/grid/Software/Patch/32226219/32240606
Log: /oracle/app/18.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-03-05_16-24-02PM_1.log

Patch: /export/home/grid/Software/Patch/32226219/32204699
Log: /oracle/app/18.0.0/grid/cfgtoollogs/opatchauto/core/opatch/opatch2021-03-05_16-24-02PM_1.log



OPatchauto session completed at Fri Mar  5 16:24:12 2021
Time taken to complete the session 0 minute, 26 seconds

  

No comments: