John’s Oracle Experiences

My everyday experiences with Oracle products

Archive for January 26th, 2009

Oracle Identity Management Grid Control Plug-in Repository Assistant Failed

Posted by John Paul van Helvoort on January 26, 2009

While installing the Oracle Identity Management Grid Controle Plug-in as an add-on to your Enterprise Manager Grid Control, I ran into an error straight away. This happend to me before but i couldn’t remember what caused this behaviour. As the installer guides you through the installation process clearly, at some point you select your “/u00/oracle/product/10.2.0/oms10g” as ORACLE_HOME to be upgraded. After a successful installation, it automatically proceed to repository assistant configuration and it fails there shown this error:

Command = oracle.sysman.emcp.oms.IMRepositoryPatchUpgrade -verbose 

Setting configuration environment variables ...
INFO: Starting to execute configuration assistants
INFO: Command = oracle.sysman.emcp.oms.IMRepositoryPatchUpgrade -verbose
Command = oracle.sysman.emcp.oms.IMRepositoryPatchUpgrade has failed
Exception : java.lang.Exception:
Command: /u00/oracle/product/10.2.0/oms10g/sysman/admin/emdrep/bin/RepManager em.backbone.local 1521 emrep -action upgrade -verbose -repos_user sysman failed.
Exit code: expected [0 43 45 ], but got 2
INFO: Configuration assistant "IMGC Repository Assistant" failed
INFO: The "/u00/oracle/product/10.2.0/oms10g/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled.
This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
-----------------------------------------------------------------------------

As it turned out the RepManager has a problem when the correct ORACLE_HOME is not set while starting the runInstaller process. This is offcource the right setting to have, but as you select the ORACLE_HOME during the installation process, you might overlook this stupid mistake in the start.

To overcome this you need to stop the installer and set your ORACLE_HOME to point to the correct one , being the oms10g ORACLE_HOME.
After this start the installer and remove an earlier attempt by removing the plug-in from the “Installated Products”. When done so you are ready to try your luck again !

Here you can download this great plugin :
http://www.oracle.com/technology/software/products/ias/htdocs/101401.html

Posted in Grid Control, Identity Manager | Leave a Comment »