I applied the agent patch successfully after commenting out $GENOCCISH as suggested by you but now when i am about to apply the RDBMS patch i set my environment export ORACLE_HOME=/u01/OID(RDBMS OH) which is different from my agent OH(/oracle/product/agent10g/agent10g) export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:.
and did opatch lsinventory thats when i got this error.
Error occurred during initialization of VM
Unable to load native library: permission denied.
Now when you say i need to relink the agent i am kind of confused as this is RDBM patch which needs to be run against its OH ,so please clarify it
./emctl stop agent
cd $ORACLE_HOME/sysman/lib
and then relink the agent
make -f ins_emagent.mk agent
and then run the root.sh script from oracle home
$./root.sh
and the start the agent again
./emctl start agent
then try using opatch again.
what should be my OH when applying RDBMS patch i think it should be rdbms OH ?please can you clarify on this
sorry if i did't put my question clear to you earlier, I am not doing opatch lsinventory against agent OH( /oracle/product/agent10g/agent10g),i am done with the agent patch .
$ opatch lsinventory
Invoking OPatch 10.2.0.3.0
Oracle interim Patch Installer version 10.2.0.3.0
Copyright (c) 2005, Oracle Corporation. All rights reserved..
Oracle Home : /oracle/product/agent10g/agent10g
Central Inventory : /oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.3.0
OUI version : 10.2.0.3.0
OUI location : /oracle/product/agent10g/agent10g//oui
Log file location : /oracle/product/agent10g/agent10g/cfgtoollogs/opatch/opatch2007-12-12_19-25-19PM.log
And now i am ready to patch(5868695) RDBMS OH and here are my commands
export ORACLE_HOME=/u01/OID
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPATCH:$PATH:.
$ opatch lsinventory
Oracle Interim Patch Installer version 1.0.0.0.52
Copyright (c) 2005 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
Oracle Home = /u01/OID
Location of Oracle Universal Installer components = /u01/OID/oui
Location of OraInstaller.jar = "/u01/OID/oui/jlib"
Oracle Universal Installer shared library = /u01/OID/oui/lib/hpunix/liboraInstaller.sl
Location of Oracle Inventory Pointer = /var/opt/oracle/oraInst.loc
Location of Oracle Inventory = /u01/OID/inventory
Path to Java = /u01/OID/jre/1.4.2/bin/java
Log file = /u01/OID/.patch_storage//*.log
Bookmarks