EMCA fails with "perl/bin/perl: No such file or directory" (Doc ID 1418903.1)

Last updated on MARCH 01, 2012

Applies to:

Enterprise Manager for Oracle Database - Version: 11.1.0.7 to 11.2.0.3 - Release: 11.1 to 11.2
Information in this document applies to any platform.

Symptoms

On Enterprise Manager Database control 11.1.0.7 , the EM database control failed to be created due to wrong path of the Perl Binary directory was set on the dbcontrol configuration file. Following error is logged in the emca_timestamp.log:

Feb 6, 2012 11:27:40 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 127
Feb 6, 2012 11:27:40 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: <oracle_home>/11.1.0/sysman/admin/scripts/emca/emcaDbUtil: line 40: <Oracle_home2>/perl/bin/perl: No such file or directory

where <Oracle_home2> is a wrong ORACLE_HOME value for this one.

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