opatch auto fails with Syntax Error... Unrecognized Command or Option: failed to parse arguments "unknown option '-customLogDir'" (Doc ID 2052813.1)

Last updated on NOVEMBER 26, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Applying PSU on DB home fails with below error

Test1[root]_+ASM2> opatch auto /prod/backup/oracle/psu -oh /prod/product/11.2.0/db -ocmrf /prod/dba/oracle/psu/unconfig.rsp
Executing /prod/product/11.2.0/grid/perl/bin/perl /prod/product/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /prod/backup/oracle -patchn psu -oh /prod/product/11.2.0/db -ocmrf /prod/dba/oracle/psu/unconfig.rsp -paramfile /prod/product/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /prod/product/11.2.0/grid/cfgtoollogs/opatchauto2015-09-05_22-26-08.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/prod/product/11.2.0/grid/cfgtoollogs/opatchauto2015-09-05_22-26-08.report.log

2015-09-05 22:26:08: Starting Clusterware Patch Setup
Using configuration parameter file: /prod/product/11.2.0/grid/crs/install/crsconfig_params
The opatch Component check failed. This patch is not applicable for /prod/product/11.2.0/db
The opatch Component check failed. This patch is not applicable for /prod/product/11.2.0/db
Conflict check failed for oracle home /prod/product/11.2.0/db
Conflict check failed
ERROR: Conflict-Check has failed . Please refer to /prod/product/11.2.0/grid/cfgtoollogs/opatchauto2015-09-05_22-26-08.log for details

opatch auto failed.
cintrnpdb011.trans.ge.com[root]_+ASM2>

 

From opatchauto2015-09-05_22-26-08.report.log:

======================================  

015-09-05 22:26:38: The opatch Component check failed. This patch is not applicable for /prod/product/11.2.0/db
2015-09-05 22:26:38: The component check failed with following error
2015-09-05 22:26:38: Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.

Syntax Error... Unrecognized Command or Option: failed to parse arguments "unknown option '-customLogDir'"
Please use the option 'opatch prereq -help' to get correct syntax

OPatch failed with error code 14

  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms