Hi, I am trying to apply a patch to fix a bug for agent (10203)and it is failing with the errors ,HP-UX 11.1 , and read the read me doc and its not saying anything about taking down the agent but i took it down as it was complaining about agent process being busy so had to take it down any way here is the error.
ApplySession adding interim patch '5854190' to inventory
Verifying the update...
Inventory check OK: Patch ID 5854190 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 5854190 are present in Oracle Home.
Running make for target client_sharedlib
Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/oracle/product/agent10g/agent10g"....'Make: Cannot load /oracle/product/agent10g/agent10g/bin/genoccish. Stop.
Stop.
'
The following make actions have failed :
Re-link fails on target "client_sharedlib".
--------------------------------------------------------------------------------
Failed to run make commands in file '/oracle/product/agent10g/agent10g/.patch_storage/5854190_May_8_2007_04_48_06/make.txt'
Invoke these commands manually to restore the binaries in the Oracle Home.
OPatch failed to restore OH '/oracle/product/agent10g/agent10g'. Consult OPatch document to restore the home manually before proceeding.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/oracle/product/agent10g/agent10g"....'Make: Cannot load /oracle/product/agent10g/agent10g/bin/genoccish. Stop.
Stop.
'
2) OUI-67124:Re-link fails on target "client_sharedlib".
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-07_21-12-46PM.log
RollbackSession rolling back interim patch '5854190' from OH '/oracle/product/agent10g/agent10g'
RollbackSession failed: Interim patch 5854190 does not exist in this Oracle Home inventory.
System intact, OPatch will not attempt to restore the system
HIi ,after applying the agent patch(5854190) i need to apply rdbms(5868695) patch, the following are the errors i am getting
$ 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
/usr/lib/dld.sl: Call to mmap() failed - TEXT /u01/OID/jre/1.4.2/lib/PA_RISC2.0/server/libjvm.sl
/usr/lib/dld.sl: Permission denied
sh: 29617 Abort(coredump)
Creating log file "/u01/OID/.patch_storage/LsInventory__12-11-2007_15-47-01.log"
/usr/lib/dld.sl: Call to mmap() failed - TEXT /u01/OID/jre/1.4.2/lib/PA_RISC2.0/server/libjvm.sl
/usr/lib/dld.sl: Permission denied
sh: 29624 Abort(coredump)
Result:
I changed the permission on /u01/OID/jre/1.4.2/lib/PA_RISC2.0/server/libjvm.sl and /u01/OID/jre/1.4.2/lib/PA_RISC2.0/native_threads/libhpi.sl to 755 and now i am getting this error
$ 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