Problém 26:
Velmi často zvláště, klonujete-li databázi z jednoho serveru na druhý, se setkáte s problémem, že nemůžete nastartovat nebo přistoupit k databázové konzoli. Nakonec není jiná možnost než dropnout stávající repository a vytvořit je znovu. K tomu slouží utilita emca. Jednoduchý příkaz jak smazat konfiguraci dbcontrol.

Řešení

oracle@server:~> /opt/oracle/product/11gR1/db/bin/emca -deconfig dbcontrol db -repos drop -SYS_PWD 123abc -SYSMAN_PWD 123abcSTARTED EMCA at May 18, 2010 7:15:48 PMEM Configuration Assistant, Version 11.2.0.0.2 ProductionCopyright (c) 2003, 2005, Oracle. All rights reserved.Enter the following information:Database SID: emrepListener port number: 1521Do you wish to continue? [yes(Y)/no(N)]: YMay 18, 2010 7:16:04 PM oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/emrep/emca_2010_05_18_19_15_47.log.May 18, 2010 7:16:04 PM oracle.sysman.emcp.EMDBPreConfig performDeconfigurationWARNING: EM is not configured for this database. No EM-specific actions can be performed.May 18, 2010 7:16:04 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Dropping the EM repository (this may take a while) …May 18, 2010 7:18:38 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully droppedEnterprise Manager configuration completed successfullyFINISHED EMCA at May 18, 2010 7:18:39 PM



Komentáře