Пересоздать Enterprise Manager

alter user SYS identified by syssys;
alter user DBSNMP identified by syssys;
alter user SYSMAN identified by syssys;

emca -config dbcontrol db -repos recreate

STARTED EMCA at 13.08.2013 15:30:59
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.

Enter the following information:
Database SID: TESTDB
Database Control is already configured for the database TESTDB
You have chosen to configure Database Control for managing the database TESTDB
This will remove the existing configuration and the default settings and perform
a fresh configuration
———————————————————————-
WARNING : While repository is dropped the database will be put in quiesce mode.
———————————————————————-
Do you wish to continue? [yes(Y)/no(N)]: y
Listener ORACLE_HOME [ c:\app\oracle\product\11.2.0\dbhome_1 ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN 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 ……………. c:\app\oracle\product\11.2.0\dbhome_1

Local hostname ……………. WIN-OE6TDQPLRNT
Listener ORACLE_HOME ……………. c:\app\oracle\product\11.2.0\dbhome_1
Listener port number ……………. 1521
Database SID ……………. TESTDB
Email address for notifications ……………
Outgoing Mail (SMTP) server for notifications ……………
———————————————————————-
WARNING : While repository is dropped the database will be put in quiesce mode.
———————————————————————-
Do you wish to continue? [yes(Y)/no(N)]: y
13.08.2013 15:31:27 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at c:\app\oracle\cfgtoollogs\emca\testdb\em
ca_2013_08_13_15_30_59.log.
13.08.2013 15:31:28 oracle.sysman.emcp.util.PortManager isPortInUse
WARNING: Specified port 3938 is already in use.
13.08.2013 15:31:28 oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) …
13.08.2013 15:31:29 oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) …
13.08.2013 15:33:14 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
13.08.2013 15:33:15 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) …
13.08.2013 15:38:49 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
13.08.2013 15:38:53 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepositor
y
INFO: Uploading configuration data to EM repository (this may take a while) …
13.08.2013 15:40:40 oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
13.08.2013 15:40:49 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) …
13.08.2013 15:41:03 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
13.08.2013 15:41:03 oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) …
13.08.2013 15:41:59 oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
13.08.2013 15:42:00 oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://WIN-OE6TDQPLRNT:1158/em <<
<<<<<<<<<
13.08.2013 15:42:02 oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************  WARNING  ************************

Management Repository has been placed in secure mode wherein Enterprise Manager
data will be encrypted.  The encryption key has been placed in the file: c:/app/
oracle/product/11.2.0/dbhome_1/WIN-OE6TDQPLRNT_testdb/sysman/config/emkey.ora. E
nsure this file is backed up as the encrypted data will become unusable if this
file is lost.

***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at 13.08.2013 15:42:02