Troubleshoot Fix EMCA CONFIG: emca/emcaDbUtil: perl/bin/perl: not found

Error Descirption: emca -config dbcontrol db command fails with perl: not found

Jun 23, 2011 7:25:41 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Jun 23, 2011 7:25:41 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: /data/oracle/product/11.1.0/sysman/admin/scripts/emca/emcaDbUtil: /db01/oracle/product/11.1.0/perl/bin/perl: not found

Solution Description: Normally this error comes when you configure the emca in an Oracle Home which is copied from other system or Oracle Home has been moved from one location to other. To resolve this error you have to do two things.
  1. Go to $ORACLE_HOME/bin directory and open the emca file
vi emca
and correct the ORACLE_HOME directory. This must resolve the issue.
  1. If not, open your emca error log and check the perl executable location. For example in the above error description perl is mentioned in /db01/oracle/product/11.1.0/perl/bin/perl directory which is not present over there. Find out the actual location of the actual perl location (will be in $ORACLE_HOME/perl/) and create a soft link to the actual location.
ln –s /data/oracle/product/11.1.0/perl /db01/oracle/product/11.1.0/perl
Try and give me feedback J
DBA Tips Data Pump Reference

0 comments:

Post a Comment

 

dba topics. Copyright 2011-16 All Rights Reserved | Site Map | Contact | Disclaimer | Google