Appliquer les PSU 11.2.0.1.2 sur Ubuntu

Les PSU Juillet 2010 sont dehors; les ID sont 9654983 pour la base de données et 9655006 pour l’Infrastructure Grid. Je les ai appliqué sur mon laptop Ubuntu, histoire de faire quelques tests sur mon problème Streams et…

SEVERE:OPatch invoked as follows: 'apply '
INFO:
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.1.0.6.6
OUI version : 11.2.0.1.0
OUI location : /u01/app/oracle/product/11.2.0/db_1/oui
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2010-07-16_21-55-09PM.log

INFO:Patch history file: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

Le message dans le fichier log n’est pas très explicite; il indique :

INFO:Starting ApplySession at Fri Jul 16 21:55:10 CEST 2010
INFO:Starting Apply Session at Fri Jul 16 21:55:10 CEST 2010
SEVERE:OUI-67073:ApplySession failed: Patch ID is null.INFO:System intact, OPatch will not attempt to restore the system
INFO:Finishing ApplySession at Fri Jul 16 21:55:10 CEST 2010
INFO:Total time spent waiting for user-input is 0 seconds. Finish at Fri Jul 16 21:55:10 CEST 2010
INFO:Stack Description: java.lang.RuntimeException: Patch ID is null.
INFO:StackTrace: oracle.opatch.PatchObject.getPatchID(PatchObject.java:548)
INFO:StackTrace: oracle.opatch.ApplySession.loadAndInitPatchObject(ApplySession.java:1493)
INFO:StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5330)
INFO:StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1633)
INFO:StackTrace: oracle.opatch.OPatch.main(OPatch.java:630)

Après avoir joué avec la variable OPATCH_PLATFORM_ID, il s’avère que le problème n’a en réalité aucun rapport. Il s’agit simplement du fait que OPATCH n’est pas assez récent. Après avoir appliqué la dernière version de OPatch 11.2 (cf PlaceHolder ARU 6880880), le PSU s’installe comme un charme !

Note pour les personnes intéressées :

  • 0 (Generic)
  • 46 (Linux Intel)
  • 226 (Linux x86-64)