We can all agree that a unix distribution is more powerful & flexible, yet leaves much to be desired when attempting to resolve configuration issue in a 'friendly UI environment'. This is certainly no exception when attempting to use Oracle's Upgrade Assistant Command Line Interface .
Many users have encountered error " UPGAST-00055: error reading the Universal Installer Inventory. The inventory pointer oraInst.loc is either not readable or doest not exist". A quick search of Oracle's Fusion Middleware Error Message Reference Guide makes me believe that Oracle's writers are playing a cruel joke in their attempt to 'help':
Action: "see the secondary error message?" You've got to be kidding me!!
Oracle's 'help' aside, the upgrade assistant is looking for an oraInst.loc file which contains 2 things:
- The location of your installation directory
- The install group of your user
UA, by default, searches for the oraInst.loc file in your /var/opt/oracle folder. But many times, the file won't be located there - for a number of reasons , including:
- custom installation directories
- co-installation of multiple oracle products
- de-installation and subsequent re-installation attempts
You can then use the UA CLI paramater -invPtrLoc to specify your custom oraInst.loc path.:
./ua MT -BIEEE -webcatdir /export/obiee/11g/Oracle_BI1/bin/webcatalog -invPtrLoc /export/obiee/11g/oracle_common/oraInst.loc -webCatDeliversDir /delivers -wlsPort 7001 -wlsUser weblogic
will generate the following:
followed by a series of postupgrade tasks that you can view at 'tail -f $ORACLE_HOME/upgrade/logs/postupgrade.txt'
and ultimately a 'completed successfully' message:
But what if you can't find your oraInst.loc file? Don't worry! Oracle has a template you can use located at:
- /$ORACLE_HOME//bifoundation/provision/scripts/bidomain/inst
- Rename it to oraInst.loc
- Copy it to your $ORACLE_HOME folder
- Populate the inventory_loc line with the path to your oraInventory folder
- Populate the inst_group with the group name of the account you're using to install & upgrade OBIEE
- Run the upgrade assistant as specified above
Problem solved!
No comments:
Post a Comment