Operating System - HP-UX
1752725 Members
5384 Online
108789 Solutions
New Discussion юеВ

EMCTL 10g error - EM Configuration issue

 
Ratzie
Super Advisor

EMCTL 10g error - EM Configuration issue

We cannot get the emctl to work on our database.
10g
[oracle@nsreport ~]$ emctl start
TZ set to Canada/Central
EM Configuration issue. /opt/app/oracle/report.mts.mb.ca_ACRPT not found.

This file does not exist anywhere.
So we tried:



We have tried to reconfig anything to get rid if it, but it still complains about a repository still existing


-----------------------------------------------------------------
Do you wish to continue? [yes/no]: yes
Jun 5, 2007 12:12:07 PM oracle.sysman.emcp.EMConfig checkConfiguration
SEVERE: Repository already exists. Fix the error(s) and run EM Configuration Asistant again in standalone mode.
Could not complete the configuration. Refer to the log file for details


We tried running emctl -r
and still get errors

You have specified the following settings

Database ORACLE_HOME ................ /opt/app/oracle
Enterprise Manager ORACLE_HOME ................ /opt/app/oracle

Database host name ................ report.mts.mb.ca
Listener port number ................ 1521
Database SID ................ ACRPT
Service name ................ ACRPT
Email address for notification ...............
Email gateway for notification ...............

-----------------------------------------------------------------
Do you wish to continue? [yes/no]: yes
Jun 5, 2007 12:53:32 PM oracle.sysman.emcp.EMConfig updateReposVars
INFO: Updating file /opt/app/oracle/sysman/emdrep/config/repository.variables ...
Jun 5, 2007 12:53:32 PM oracle.sysman.emcp.EMConfig addPortEntries
INFO: Updating file /opt/app/oracle/install/portlist.ini ...
Jun 5, 2007 12:53:32 PM oracle.sysman.emcp.EMConfig updateEmdProps
INFO: Updating file /opt/app/oracle/sysman/config/emd.properties ...
Jun 5, 2007 12:53:32 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: targets.xml file is updated successfully
Jun 5, 2007 12:53:32 PM oracle.sysman.emcp.EMConfig updateEmomsProps
INFO: Updating file /opt/app/oracle/sysman/config/emoms.properties ...
Jun 5, 2007 12:53:32 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: emoms.properties file is updated successfully
Jun 5, 2007 12:53:33 PM oracle.sysman.emcp.EMConfig executeCommand
SEVERE: Error executing /opt/app/oracle/perl/bin/perl /opt/app/oracle/bin/emagentdeploy.pl -m rac /opt/app/oracle/report.mts.mb.ca_ACRPT report.mts.mb.ca:1830 report.mts.mb.ca ACRPT . /opt/app/oracle/perl/bin/perl /opt/app/oracle/bin/emagentdeploy.pl -m rac /opt/app/oracle/report.mts.mb.ca_ACRPT report.mts.mb.ca:1830 report.mts.mb.ca ACRPT could not be completed successfully
Jun 5, 2007 12:53:33 PM oracle.sysman.emcp.EMConfig updateConfigFiles
SEVERE: Error instantiating EM configuration files
Jun 5, 2007 12:53:33 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error updating the necessary configuration files.
Could not complete the configuration. Refer to the log file for details


When have also dropped the repository
emca -x ACRPT
STARTED EMCA at Tue Jun 05 13:00:35 CDT 2007
Enterprise Manager configuration is completed successfully

Ran emca again, still complains about the repository
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: EMCTL 10g error - EM Configuration issue

Shalom,

Most common cause of Oracle problems on HP-UX is ignoring pre-installation Os patches.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ratzie
Super Advisor

Re: EMCTL 10g error - EM Configuration issue

Found how to delete and recreate for Oracle 10g rel. 1
$ORACLE_HOME/sysman/admin/emdrep/bin/RepManager -connect TESTDB -action drop

emca -x TESTDB
emca -a

http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_3.shtml