-
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
Lsinventory Output file location : /oracle/product/agent10g/agent10g/cfgtoollogs/opatch/lsinv/lsinventory2007-12-12_19-25-19PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Management Agent 10.2.0.3.0
There are 1 products installed in this Oracle Home.
Interim patches (1) :
Patch 5854190 : applied on Tue Dec 11 15:41:22 GMT 2007
Created on 8 May 2007, 04:48:06 hrs US/Pacific
Bugs fixed:
5854190
--------------------------------------------------------------------------------
OPatch succeeded.
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
Creating log file "/u01/OID/.patch_storage/LsInventory__12-12-2007_18-37-55.log"
Result:
Error occurred during initialization of VM
Unable to load native library: permission denied.
Please let me know as i am stuck with this.
Regards
-
Hi
Try running root.sh from oracle home as user root.
regards
Hrishy
-
I ran root.sh from OH(/amoidts1/OID) successfully ,but again when i did opatch lsinventory same error.
Last edited by monto1; 12-12-2007 at 07:01 PM.
-
Hi
What are the contents of this logfile
"/u01/OID/.patch_storage/LsInventory__12-12-2007_18-37-55.log
regards
Hrishy
-
I even downloaded the new opatch version for 10105(1.0.0.0.57),here are the contents
Creating log file "/u01/OID/.patch_storage/LsInventory__12-13-2007_15-13-31.log"
Accessing inventory ... (retry 10 times, delay 30 seconds each time)
Invoking command "/u01/OID/jre/1.4.2/bin/java -classpath "/u01/OID/oui/jlib/OraInstaller.jar:/u01/OID/oui/jlib/srvm.jar:/u01/OID/OPatch/jlib/opatch.jar:/u01/OID/oui/jlib/xmlparserv2.jar:/u01/OID/oui/jlib/share.jar" -Doracle.installer.invPtrLoc=/var/opt/oracle/oraInst.loc -Dopatch.retry=10 -Dopatch.delay=30 opatch/LsInventory "/u01/OID/oui" "/u01/OID" opatch.pl 1.0.0.0.57 FALSE FALSE FALSE /var/opt/oracle/oraInst.loc"
Result:
Error occurred during initialization of VM
Unable to load native library: permission denied.
OPatch succeeded.
~
-
Hi
Whats the permissions on this file
/u01/OID/jre/1.4.2/lib/PA_RISC2.0/server/libjvm.sl
regards
Hrishy
-
Check permission on $ORACLE_HOME
Last edited by areeb; 12-13-2007 at 03:26 PM.
-
I changed permission on this file earlier it was 600 and changed it to 755.
$ ll /u01/OID/jre/1.4.2/lib/PA_RISC2.0/server/libjvm.sl
-rwx------ 1 oracle dba 15409152 Nov 30 21:37 /u01/OID/jre/1.4.2/lib/PA_RISC2.0/server/libjvm.sl
-
Hi
Whats the output of SHLIB_PATH ?
regards
Hrishy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|