Získejte konzultaci v hodnotě 1 500 Kč k vaší databázi Oracle zcela zdarma. Ozvěte se mi ještě dnes.

Problém 49:
Jak recreate EM repository?
Řešení:
[oracle@localhost ~]$ emca -deconfig dbcontrol db -repos drop -SYS_PWD oracle_4U -SYSMAN_PWD oracle_4USTARTED EMCA at May 16, 2011 2:48:33 PMEM Configuration Assistant, Version 11.2.0.0.2 ProductionCopyright (c) 2003, 2005, Oracle. All rights reserved.Enter the following information:Database SID: orclListener port number: 1521Do you wish to continue? [yes(Y)/no(N)]: Y

May 16, 2011 2:48:42 PM oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2011_05_16_14_48_32.log.May 16, 2011 2:48:43 PM oracle.sysman.emcp.util.DBControlUtil stopOMSINFO: Stopping Database Control (this may take a while) …May 16, 2011 2:49:19 PM oracle.sysman.emcp.EMReposConfig stopDBMSJobsWARNING: Error initializing SQL connection. SQL operations cannot be performedMay 16, 2011 2:49:19 PM oracle.sysman.emcp.EMReposConfig invokeWARNING: Unable to remove DBMS jobs.May 16, 2011 2:49:20 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControlWARNING: Error initializing SQL connection. SQL operations cannot be performedMay 16, 2011 2:49:20 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Dropping the EM repository (this may take a while) …May 16, 2011 2:55:11 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully droppedEnterprise Manager configuration completed successfullyFINISHED EMCA at May 16, 2011 2:55:18 PM[oracle@localhost ~]$ emca -repos createSTARTED EMCA at May 16, 2011 2:57:08 PMEM Configuration Assistant, Version 11.2.0.0.2 ProductionCopyright (c) 2003, 2005, Oracle. All rights reserved.Enter the following information:Database SID: orclListener port number: 1521Password for SYS user:Password for SYSMAN user:Do you wish to continue? [yes(Y)/no(N)]: YMay 16, 2011 2:57:30 PM oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2011_05_16_14_57_07.log.May 16, 2011 2:57:31 PM oracle.sysman.emcp.EMReposConfig createRepositoryINFO: Creating the EM repository (this may take a while) …May 16, 2011 3:12:27 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Repository successfully createdEnterprise Manager configuration completed successfullyFINISHED EMCA at May 16, 2011 3:12:27 PM[oracle@localhost ~]$
STARTED EMCA at May 16, 2011 3:12:42 PMEM Configuration Assistant, Version 11.2.0.0.2 ProductionCopyright (c) 2003, 2005, Oracle. All rights reserved.Enter the following information:Database SID: orclListener port number: 1521Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/grid ]:Password for SYS user:Password for DBSNMP user:Password for SYSMAN user:Email address for notifications (optional): a@te.czOutgoing Mail (SMTP) server for notifications (optional): fa.zcASM ORACLE_HOME [ /u01/app/oracle/product/11.2.0/grid ]:ASM SID [ +ASM ]:ASM port [ 1521 ]:ASM username [ ASMSNMP ]:ASM user password:—————————————————————–You have specified the following settingsDatabase ORACLE_HOME ……………. /u01/app/oracle/product/11.2.0/dbhome_1Local hostname ……………. localhost.localdomainListener ORACLE_HOME ……………. /u01/app/oracle/product/11.2.0/gridListener port number ……………. 1521Database SID ……………. orclEmail address for notifications …………… a@te.czOutgoing Mail (SMTP) server for notifications …………… fa.zcASM ORACLE_HOME ……………. /u01/app/oracle/product/11.2.0/gridASM SID ……………. +ASMASM port ……………. 1521ASM user role ……………. SYSDBAASM username ……………. ASMSNMP—————————————————————–Do you wish to continue? [yes(Y)/no(N)]: yMay 16, 2011 3:13:54 PM oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2011_05_16_15_12_41.log.May 16, 2011 3:14:16 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepositoryINFO: Uploading configuration data to EM repository (this may take a while) …May 16, 2011 3:16:20 PM oracle.sysman.emcp.EMReposConfig invokeINFO: Uploaded configuration data successfullyMay 16, 2011 3:16:30 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLibINFO: Software library configured successfully.May 16, 2011 3:16:30 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibraryINFO: Deploying Provisioning archives …May 16, 2011 3:18:51 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibraryINFO: Provisioning archives deployed successfully.May 16, 2011 3:18:51 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Securing Database Control (this may take a while) …May 16, 2011 3:26:00 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Database Control secured successfully.May 16, 2011 3:26:04 PM oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) …May 16, 2011 3:31:18 PM oracle.sysman.emcp.EMDBPostConfig performConfigurationINFO: Database Control started successfullyMay 16, 2011 3:31:19 PM oracle.sysman.emcp.EMDBPostConfig performConfigurationINFO: >>>>>>>>>>> The Database Control URL is https://localhost.localdomain:1158/em <<<<<<<<<<



Komentáře