Recreate the EM repository.

    技术2025-03-22  18

    $ emctl status dbconsoleOracle Enterprise Manager 10g Database Control Release 10.2.0.3.0  Copyright (c) 1996, 2006 Oracle Corporation.  All rights reserved.http://rac01-ud-us-eqx:1158/em/console/aboutApplicationEM Daemon is not running.------------------------------------------------------------------Logs are generated in directory /opt/app/oracle/product/10.2.0/db_1/rac03-ud-us-eqx_RPTS3/sysman/log $ emctl start dbconsoleOracle Enterprise Manager 10g Database Control Release 10.2.0.3.0  Copyright (c) 1996, 2006 Oracle Corporation.  All rights reserved.http://rac01-ud-us-eqx:1158/em/console/aboutApplicationStarting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed. ------------------------------------------------------------------Logs are generated in directory /opt/app/oracle/product/10.2.0/db_1/rac03-ud-us-eqx_RPTS3/sysman/log

    $ emca -config dbcontrol db -repos recreate

    STARTED EMCA at Feb 11, 2011 1:49:01 AMEM Configuration Assistant, Version 10.2.0.1.0 ProductionCopyright (c) 2003, 2005, Oracle.  All rights reserved.

    Enter the following information:Database SID: RPTS3Database Control is already configured for the database RPTS3You have chosen to configure Database Control for managing the database RPTS3This will remove the existing configuration and the default settings and perform a fresh configurationDo you wish to continue? [yes(Y)/no(N)]: yesListener port number: 1521Password for SYS user:  Password for DBSNMP user:  Password for SYSMAN user:  Email address for notifications (optional): Outgoing Mail (SMTP) server for notifications (optional): -----------------------------------------------------------------

    You have specified the following settings

    Database ORACLE_HOME ................ /opt/app/oracle/product/10.2.0/db_1

    Database hostname ................ rac03-ud-us-eqxListener port number ................ 1521Database SID ................ RPTS3Email address for notifications ............... Outgoing Mail (SMTP) server for notifications ...............

    -----------------------------------------------------------------Do you wish to continue? [yes(Y)/no(N)]: yesFeb 11, 2011 1:49:26 AM oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /opt/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/RPTS/emca_2011-02-11_01-49-01-AM.log.Feb 11, 2011 1:49:30 AM oracle.sysman.emcp.util.PortManager isPortInUseWARNING: Specified port 5540 is already in use.Feb 11, 2011 1:49:30 AM oracle.sysman.emcp.util.PortManager isPortInUseWARNING: Specified port 5520 is already in use.Feb 11, 2011 1:49:30 AM oracle.sysman.emcp.util.PortManager isPortInUseWARNING: Specified port 1158 is already in use.Feb 11, 2011 1:49:30 AM oracle.sysman.emcp.util.DBControlUtil stopOMSINFO: Stopping Database Control (this may take a while) ...Feb 11, 2011 1:49:35 AM oracle.sysman.emcp.EMReposConfig dropRepositoryINFO: Dropping the EM repository (this may take a while) ...Feb 11, 2011 1:58:25 AM oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully droppedFeb 11, 2011 1:58:25 AM oracle.sysman.emcp.EMReposConfig createRepositoryINFO: Creating the EM repository (this may take a while) ...

    Feb 11, 2011 2:16:46 AM oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully createdFeb 11, 2011 2:16:56 AM oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) ...Feb 11, 2011 2:18:40 AM oracle.sysman.emcp.EMDBPostConfig performConfigurationINFO: Database Control started successfullyFeb 11, 2011 2:18:40 AM oracle.sysman.emcp.EMDBPostConfig performConfigurationINFO: >>>>>>>>>>> The Database Control URL is http://rac03-ud-us-eqx:1158/em <<<<<<<<<<<Enterprise Manager configuration completed successfullyFINISHED EMCA at Feb 11, 2011 2:18:40 AM

    最新回复(0)