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

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
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

_____________________________________________________________________________________________________________________

Website Stats

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer