Hello, I have an 11.2.0.2.1 GI installation and 12311357 path applied correctly. But patch 11724916 is missing (I know they both are installed together). Trying to apply it I have the following error (as grid) :
------------------------------------------------------------------------------
grid@selva-2./usr/local/software/oracle/11724916 $ opatch apply
Invoking OPatch 11.2.0.1.5
Oracle Interim Patch Installer version 11.2.0.1.5 Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /app/oracle/grid/11.2
Central Inventory : /app/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.5
OUI version : 11.2.0.2.0
OUI location : /app/oracle/grid/11.2/oui
Log file location : /app/oracle/grid/11.2/cfgtoollogs/opatch/opatch2011-10-13_12-20-37PM.log
Patch history file: /app/oracle/grid/11.2/cfgtoollogs/opatch/opatch_history.txt
ApplySession applying interim patch '11724916' to OH '/app/oracle/grid/11.2'
Running prerequisite checks...
Patch 11724916: Optional component(s) missing : [ oracle.sysman.console.db, 11.2.0.2.0 ] , [ oracle.sysman.oms.core, 10.2.0.4.3 ] , [ oracle.rdbms.dv, 11.2.0.2.0 ] Prov! ide your email address to be informed of security issues, install and initiate Oracle Configuration Manager. Easier for you if you use your My Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
OPatch detected the node list and the local node from the inventory. OPatch will patch the local system then propagate the patch to the remote nodes.
This node is part of an Oracle Real Application Cluster.
Remote nodes: 'selva-1'
Local node: 'selva-2'
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/app/oracle/grid/11.2')
Is the local system ready for patching?
y y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files af! fected by the patch '11724916' for restore. This might take a while...
Backing up files affected by the patch '11724916' for rollback. This might take a while...
Patching component oracle.rdbms.rsf, 11.2.0.2.0...
Updating archive file "/app/oracle/grid/11.2/lib/libgeneric11.a" with "lib/libgeneric11.a/kgl2.o"
Updating archive file "/app/oracle/grid/11.2/lib/libgeneric11.a" with "lib/libgeneric11.a/kgh.o"
Updating archive file "/app/oracle/grid/11.2/lib/libgeneric11.a" with "lib/libgeneric11.a/kgx.o"
Updating archive file "/app/oracle/grid/11.2/lib/libgeneric11.a" with "lib/libgeneric11.a/kgl.o"
Copying file to "/app/oracle/grid/11.2/rdbms/mesg/oraus.msb"
Copying file to "/app/oracle/grid/11.2/rdbms/mesg/oraus.msg"
Patching component oracle.rdbms, 11.2.0.2.0...
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfc.o"
Updating archive file "/app/oracle/grid/11.2/lib/li! bserver11.a" with "lib/libserver11.a/kfcl.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfd.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfds.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kff.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kffm.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfgb.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/ksvt.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfdp.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kspt.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/qks3t.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.! a" with "lib/libserver11.a/qerbo.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/ksols.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/dgl.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kcvfdb.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kks1.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kkscs.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/krsm.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/ksws.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kql.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kqlb.o"!
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" &n bsp;with "lib/libserver11.a/kqlm.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjcv.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjl.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjs.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjx.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjg.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjak.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kdi.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfg.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfio.o"
Updating ar! chive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfio0.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfis.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfnm.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/ksbt.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kfdvf.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kqld.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kkae.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kcb.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kcl.o"
Updating archive file "/app/oracle/grid/11.2/lib/libse! rver11.a" with "lib/libserver11.a/dmlsrv.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/updexe.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/qesltc.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/qerlt.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kksc.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/ktsld.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/krcp.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kkxs.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kkj.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/jslv.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserv! er11.a" with "lib/libserver11.a/kza.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kdu.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/ktsf.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/ktsp.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kqlf.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kks.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kkss.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kdlw.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/ktuq.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kkfd.o"Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" &nb sp;with "lib/libserver11.a/kxfp.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/upsexe.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kkdl.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kcbz.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjcs.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjctc.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjdd.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjfc.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjfm.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjfz.o"
Upd! ating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjgcr.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjm.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kjpnp.o"
Updating archive file "/app/oracle/grid/11.2/lib/libserver11.a" with "lib/libserver11.a/kju.o"
Updating archive file "/app/oracle/grid/11.2/lib/libasmclnt11.a" with "lib/libasmclnt11.a/kgfdputl.o"
Updating archive file "/app/oracle/grid/11.2/lib/libasmclntsh11.a" with "lib/libasmclntsh11.a/kgfdputl.o"
Copying file to "/app/oracle/grid/11.2/rdbms/admin/bundledata_PSU.xml"
Copying file to "/app/oracle/grid/11.2/psu/11.2.0.2.2/catpsu.sql"
Copying file to "/app/oracle/grid/11.2/psu/11.2.0.2.2/catpsu_rollback.sql"
Patching component oracle.ldap.rsf, 11.2.0.2.0...
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" ! with "lib/libnnz11.a/nzos.o"
Updating archive file "/app/oracle/gri d/11.2/lib/libnnz11.a" with "lib/libnnz11.a/nzu.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_createglobalcontext.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_decoderecord.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_destroyconnectioncontext.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_getversion.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_setupconnectioncontext.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_read.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_write.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_getnextevent.o"
Updating archive file "/! app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_handshakeproceed.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_onerror.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_process_client_hello.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_process_hello_shared.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_processserverhello.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_ssl2_processclienthelloshared.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_ssl3_process_finished.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_ssl3_tls1_writeserver! hello_handler.o"
Updating archive file "/app/oracle/grid/11.2/lib/l ibnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_ssl3_writefinished_handler.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_tls1_process_finished.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_tls1_writefinished_handler.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_writeclienthello.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_read.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_refuserenegotiation.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_requestrenegotiation.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_createconnectioncontext.o"
Updating archive file "/app/oracle/gr! id/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_enableclientauthentication.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_modifyclientauthmodes.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_disableclientauthentication.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_write_certificate_request_handler.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_calc_enabled_cipher_suites.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_is_client_cert_requested.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_processcertificaterequest_handler.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_! process_client_hello_shared.o"
Updating archive file "/app/oracle/g rid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_setclientcertrequested_handler.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_ssl2_write_client_certificate_handler.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_modifyciphersuites.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_getconnectionrenegotiationoptions.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_getrenegotiationoptions.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_hshk_priv_dooptionsallowrenegotoation.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_modifyrenegotiationoptions.o"
Updating archive file "/app/oracle/grid/11.2/lib/libnnz11.a" with "lib/libnnz11.a/ssl_setrenegotiation! options.o"
Updating archive file "/app/oracle/grid/11.2/lib/libzt11.a" with "lib/libzt11.a/nzdacval.o"
Copying file to "/app/oracle/grid/11.2/lib/libnnz11.so"
Patching component oracle.rdbms.dbscripts, 11.2.0.2.0...
Copying file to "/app/oracle/grid/11.2/rdbms/admin/c1101000.sql"
Copying file to "/app/oracle/grid/11.2/rdbms/admin/catupstr.sql"
Running make for target client_sharedlib
OPatch found the word "failed" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
ln: cannot create libclntsh.so: Permission denied
ar: cannot create shoc.o
Permission denied
ld: fatal: file /app/oracle/grid/11.2/lib/shoc.o: open failed: No such file or directory
ln: cannot create libagtsh.so: Permission denied
Running make for target client_sharedlib
Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORAC! LE_HOME=/app/oracle/grid/11.2"....'ln: cannot create libclntsh.so: Per mission denied
make: Fatal error: Command failed for target `client_sharedlib'
'
Running make for target ioracle
The following make actions have failed :
Re-link fails on target "client_sharedlib".
Do you want to proceed?
y
n
User Responded with: N
ApplySession failed: ApplySession failed in system modification phase... 'ApplySession::apply failed: Re-link fails on target "client_sharedlib".
'
OPatch will attempt to restore the system...
Restoring the Oracle Home...
Checking if OPatch needs to invoke 'make' to restore some binaries...
OPatch found the word "failed" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
ln: cannot create libclntsh.so: Permission denied
ar: cannot create shoc.o
Permission denied
ld: fatal: file /app/oracle/grid/11.2/lib/shoc.o: open failed: No such file or directory
ln:! cannot create libagtsh.so: Permission denied
Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/app/oracle/grid/11.2"....'ln: cannot create libclntsh.so: Permission denied
make: Fatal error: Command failed for target `client_sharedlib'
'
--------------------------------------------------------------------------------
Failed to run make commands. They are stored in file '/app/oracle/grid/11.2/.patch_storage/11724916_Apr_13_2011_03_16_19/make.txt'
Invoke these commands manually to restore the binaries in the Oracle Home.
OPatch failed to restore OH '/app/oracle/grid/11.2'. Consult OPatch document to restore the home manually before proceeding.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67215:
OPatch found the word "failed" in the stderr of the make command.
Please look at this stderr. Yo! u can re-run this make command.
Stderr output:
ln: cannot create libclntsh.so: Permission denied
ar: cannot create shoc.o
Permission denied
ld: fatal: file /app/oracle/grid/11.2/lib/shoc.o: open failed: No such file or directory
ln: cannot create libagtsh.so: Permission denied
2) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/app/oracle/grid/11.2"....'ln: cannot create libclntsh.so: Permission denied
make: Fatal error: Command failed for target `client_sharedlib'
'
3) OUI-67124:Re-link fails on target "client_sharedlib".
4) OUI-67215:
OPatch found the word "failed" in the stderr of the make command.
Please look at this stderr. You can re-run this make command.
Stderr output:
ln: cannot create libclntsh.so: Permission denied
ar: cannot create shoc.o
Permission denied
ld: fatal: file /app/oracle/grid/11.2/lib/shoc.o: open failed: No such file or directory
ln: cann! ot create libagtsh.so: Permission denied
5) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/app/oracle/grid/11.2"....'ln: cannot create libclntsh.so: Permission denied
make: Fatal error: Command failed for target `client_sharedlib'
'
--------------------------------------------------------------------------------
OPatch failed with error code 115
Trying to install it as root I have another error:
------------------------------------------------------------------------------
root@selva-2./usr/local/software/oracle/11724916 # opatch apply
Invoking OPatch 11.2.0.1.5
The user is root. OPatch cannot continue if the user is root.
OPatch failed with error code 255
How should I apply this patch? Should I rollback path 12311357 and reapply both together?
Thanks.