Thursday, 24 July 2014

OPatch error with wrong stage patch location UtilSession failed: Invalid patch location

Error in patch:

[grid@localhost tmp]$ /u01/app/11.2.0/OPatch/opatch napply -oh /u01/app/11.2.0 -local /tmp/Exadata_patch_test/17053903
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/11.2.0
Central Inventory : /u01/oraInventory
   from           : /u01/app/11.2.0/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.2.0
Log file location : /u01/app/11.2.0/cfgtoollogs/opatch/opatch2014-07-24_11-57-12AM_1.log

Verifying environment and performing prerequisite checks...
The location "/tmp/.gdm_socket" is not a directory or a valid patch zip file.
UtilSession failed: Invalid patch location.
Log file location: /u01/app/11.2.0/cfgtoollogs/opatch/opatch2014-07-24_11-57-12AM_1.log

OPatch failed with error code 73

Solution :

Go the the stage patch directory where you unziped the patch and then apply the patch
OR
Check the permission of the stage patch location and check the directory was proper in OPatch command. 

No comments: