Thursday, January 19, 2017

OPatch failed with error code 73

If users copy the ORACLE_HOME from one system to another unix system, make sure you run the clone command. If not the ORACLE_HOME information will not be registered in the oraInventory.

Some times users may get below errors when they copy ORACLE_HOME, ORACLE Inventory from a different system. Note that the path and SID may not be same.

Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
   Oracle Home dir. path does not exist in Central Inventory
   Oracle Home is a symbolic link
   Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo


OPatch failed with error code 73

By running ORACLE_HOME "Clone" command will create new inventory (if missing) and also takes care of re-linking of libraries..etc

$ORACLE_HOME/oui/bin/runInstaller -clone ORACLE_HOME="/home/oracle/product/v11203" ORACLE_HOME_NAME="Ora11203_home1" ORACLE_BASE="/oracle" oracle.sysman.ccr:PRE_REQUISITE=true

Before you run above command make sure you have /etc/oraInst.loc file with inventory_loc and inst_group.

Note that there are many parameters available and full list of parameters visit
https://docs.oracle.com/cd/E35328_01/E35330/html/vmiug-manager-runinstaller.html

Thanks,
Satish

3 comments:

  1. I love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks for sharing.

    five nights at freddy's 5   |launcherslitherio

    ReplyDelete
  2. i have read whole of your article and i really love it. Thanks for sharing.
    * email sign up
    * Baby Names

    ReplyDelete
  3. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Oracle 11g RAC Admin, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on Oracle 11g RAC Admin. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us:
    Name : Arunkumar U
    Email : arun@maxmunus.com
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –http://www.maxmunus.com



    ReplyDelete