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
and then relink the agent
make -f ins_emagent.mk agent
and then run the root.sh script from oracle home
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
And now i am ready to patch(5868695) RDBMS OH and here are my commands
$ opatch lsinventory
Oracle Interim Patch Installer version 18.104.22.168.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