Opatch error : The Patch Directory Area Must Be A Number
(Doc ID 258650.1)
Last updated on NOVEMBER 22, 2019
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 9.2]
Information in this document applies to any platform.
+ You are trying to apply a patch with opatch and it errors out with following:
> opatch apply /oracle/stage/9202/2652950
PERL5LIB=/usr/local/lib/perl5/5.8.0; export PERL5LIB
/usr/local/bin/perl $ORACLE_HOME/OPatch/opatch.pl apply
OPatch Version 220.127.116.11.43
Performing pre-patch installation checks.
general_options is set to 0
Using oraInst.loc to look up oui libs...
Found "oracle.swd.oui" version "18.104.22.168.0"
Found JRE version "22.214.171.124.0a"
Oracle Home = /oracle/product/920_64
inventory_location = /oracle/oraInventory
path_to_java = /oracle/jre/1.3.1/bin/java
path_to_oI_loc = /var/opt/oracle/oraInst.loc
oui_component_loc = /oracle/oui
required_jar_file under oui = lib/OraInstaller.jar
Checking if this is a RAC system...
This is not a RAC system
$ORACLE_HOME/OPatch/opatch.pl version: 126.96.36.199.43
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.
The patch directory area must be a number.
ERROR: OPatch failed during pre-reqs check
+ The patch is unzipped in the correct directory
i.e, if it is patch 2652950 it is unzipped in /oracle/stage/9202/2652950 or in any other location with the patch number as the directory name
+ You have tried many other one-off patches too and opatch returns the same error.
To apply the patch.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!