Friday, November 23, 2012

Portal 11g patch issue

While applying patch on portal came across this issue and was able to fix it.


Applying Portal Patch!!
Copying file /prod/fmw/patches/13985116/custom/scripts/P13985116_PATCHBUNDLE.zip to /prod/fmw/product/111/portal/portal/patch/oneoffs/P13985116_PATCHBUNDLE.zip
CMD=./ptlpatch.csh  -z P13985116_PATCHBUNDLE.zip -s dev1_portal -p oracle -c host:port:SID

Return Code = 1
Command invocation returned Error... '', Return Code = 1
Execution of PRE script failed, with return value = 1

Do you want to proceed? [y|n]
y
User Responded with: Y

Patching component oracle.portal.midtier, 11.1.1.4.0...
Copying file to "/prod/fmw/product/111/portal/portal/patch/oneoffs/13985116.txt"
ApplySession adding interim patch '13985116' to inventory

Verifying the update...
Inventory check OK: Patch ID 13985116 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 13985116 are present in Oracle Home.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67133:Execution of PRE script failed, with return value = 1
--------------------------------------------------------------------------------

FIX:
===
+ ptlpatch.csh didnot have execute permission.Give it the 755 permission.
+ Added the tnsnames.ora in portal home ,it was unable to connect to database.
+ opatch apply /prod/fmw/patches/13985116 -pre -s dev1_portal -p oracle -c host:port:SID  -opatch_pre_end-->No quotes needed in syntax!


No comments:

Post a Comment