Here I will show, how to configure the EM Repository.
To be able to configure the EM repository, the database has to be created. I have a 11.2.0.2 database:
[oracle@ocm11g ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 5 09:26:07 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
sys@OCM11G>
Check, wheter the EM is allready configured:
[oracle@ocm11g ~]$ export ORACLE_UNQNAME=ocm11g
[oracle@ocm11g ~]$ emctl status dbconsole
OC4J Configuration issue. /oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_ocm11g.localdomain_ocm11g not found.
[oracle@ocm11g ~]$ emctl status agent
EM Configuration issue. /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g not found.
We can see, that its not configured.
How to create a repository:
[oracle@ocm11g ~]$ emca -config dbcontrol db -repos create
STARTED EMCA at Sep 5, 2011 9:35:08 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ocm11g
Listener port number: 1521
Listener ORACLE_HOME [ /oracle/product/11.2.0/dbhome_1 ]:
Password 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 ................ /oracle/product/11.2.0/dbhome_1
Local hostname ................ ocm11g.localdomain
Listener ORACLE_HOME ................ /oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ ocm11g
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 5, 2011 9:35:50 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ocm11g/emca_2011_09_05_09_35_05.log.
Sep 5, 2011 9:35:56 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Sep 5, 2011 10:01:41 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Sep 5, 2011 10:04:41 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Sep 5, 2011 10:08:05 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Sep 5, 2011 10:08:23 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Sep 5, 2011 10:09:33 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Sep 5, 2011 10:09:34 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 5, 2011 10:45:44 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
Sep 5, 2011 10:46:23 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://ocm11g.localdomain:1158/em <<<<<<<<<<<
Sep 5, 2011 10:49:05 AM 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: /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
Sep 5, 2011 10:49:08 AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING: Error starting Database Control.Execute the following command(s).
1) Set the environment variable ORACLE_UNQNAME to Database unique name
2) /oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
Error starting Database Control.Execute the following command(s).
1) Set the environment variable ORACLE_UNQNAME to Database unique name
2) /oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
There are some errors, but the EM is up and running:
[oracle@ocm11g ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/log
Start/Stop EM
[oracle@ocm11g ~]$ export ORACLE_UNQNAME=ocm11g
[oracle@ocm11g ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control .................................. started.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/log
[oracle@ocm11g ~]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ...
... Stopped.
Get the status of the EM:
[oracle@ocm11g ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is not running.
Get the status of the EM Agent:
[oracle@ocm11g ~]$ emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent is Not Running
EM Agent will be started automatically, when you start the dbconsole:
[oracle@ocm11g ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ................... started.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/log
[oracle@ocm11g ~]$ emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.4.3
OMS Version : 10.2.0.4.3
Protocol Version : 10.2.0.4.3
Agent Home : /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g
Agent binaries : /oracle/product/11.2.0/dbhome_1
Agent Process ID : 7010
Parent Process ID : 6990
Agent URL : https://ocm11g.localdomain:3938/emd/main
Repository URL : https://ocm11g.localdomain:1158/em/upload/
Started at : 2011-09-05 11:47:54
Started by user : oracle
Last Reload : 2011-09-05 11:47:54
Last successful upload : 2011-09-05 11:51:43
Total Megabytes of XML files uploaded so far : 0.04
Number of XML files pending upload : 26
Size of XML files pending upload(MB) : 0.47
Available disk space on upload filesystem : 37.42%
Data channel upload directory : /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/recv
Last successful heartbeat to OMS : 2011-09-05 11:51:41
---------------------------------------------------------------
Agent is Running and Ready
How to recreate the repository:
[oracle@ocm11g ~]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Sep 5, 2011 11:57:39 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ocm11g
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 5, 2011 11:58:07 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ocm11g/emca_2011_09_05_11_57_38.log.
Sep 5, 2011 11:58:07 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Sep 5, 2011 11:58:20 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Sep 5, 2011 12:05:54 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 5, 2011 12:06:08 PM
[oracle@ocm11g ~]$ emca -config dbcontrol db -repos create
STARTED EMCA at Sep 5, 2011 12:07:34 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ocm11g
Listener port number: 1521
Listener ORACLE_HOME [ /oracle/product/11.2.0/dbhome_1 ]:
Password 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 ................ /oracle/product/11.2.0/dbhome_1
Local hostname ................ ocm11g.localdomain
Listener ORACLE_HOME ................ /oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ ocm11g
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 5, 2011 12:07:57 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ocm11g/emca_2011_09_05_12_07_34.log.
Sep 5, 2011 12:08:00 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Sep 5, 2011 12:28:00 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Sep 5, 2011 12:28:51 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Sep 5, 2011 12:31:43 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Sep 5, 2011 12:31:58 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Sep 5, 2011 12:32:23 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Sep 5, 2011 12:32:23 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 5, 2011 12:42:17 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 5, 2011 12:42:44 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://ocm11g.localdomain:1158/em <<<<<<<<<<<
Sep 5, 2011 12:45:04 PM 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: /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/config/emkey.ora. Ensure 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 Sep 5, 2011 12:45:08 PM
EM is up and running:
[oracle@ocm11g ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 5 09:26:07 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
sys@OCM11G>
Check, wheter the EM is allready configured:
[oracle@ocm11g ~]$ export ORACLE_UNQNAME=ocm11g
[oracle@ocm11g ~]$ emctl status dbconsole
OC4J Configuration issue. /oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_ocm11g.localdomain_ocm11g not found.
[oracle@ocm11g ~]$ emctl status agent
EM Configuration issue. /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g not found.
We can see, that its not configured.
How to create a repository:
[oracle@ocm11g ~]$ emca -config dbcontrol db -repos create
STARTED EMCA at Sep 5, 2011 9:35:08 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ocm11g
Listener port number: 1521
Listener ORACLE_HOME [ /oracle/product/11.2.0/dbhome_1 ]:
Password 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 ................ /oracle/product/11.2.0/dbhome_1
Local hostname ................ ocm11g.localdomain
Listener ORACLE_HOME ................ /oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ ocm11g
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 5, 2011 9:35:50 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ocm11g/emca_2011_09_05_09_35_05.log.
Sep 5, 2011 9:35:56 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Sep 5, 2011 10:01:41 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Sep 5, 2011 10:04:41 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Sep 5, 2011 10:08:05 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Sep 5, 2011 10:08:23 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Sep 5, 2011 10:09:33 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Sep 5, 2011 10:09:34 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 5, 2011 10:45:44 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
Sep 5, 2011 10:46:23 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://ocm11g.localdomain:1158/em <<<<<<<<<<<
Sep 5, 2011 10:49:05 AM 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: /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/config/emkey.ora. Ensure this file is backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
Sep 5, 2011 10:49:08 AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING: Error starting Database Control.Execute the following command(s).
1) Set the environment variable ORACLE_UNQNAME to Database unique name
2) /oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
Error starting Database Control.Execute the following command(s).
1) Set the environment variable ORACLE_UNQNAME to Database unique name
2) /oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole
There are some errors, but the EM is up and running:
[oracle@ocm11g ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/log
Start/Stop EM
[oracle@ocm11g ~]$ export ORACLE_UNQNAME=ocm11g
[oracle@ocm11g ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control .................................. started.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/log
[oracle@ocm11g ~]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ...
... Stopped.
Get the status of the EM:
[oracle@ocm11g ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is not running.
Get the status of the EM Agent:
[oracle@ocm11g ~]$ emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent is Not Running
EM Agent will be started automatically, when you start the dbconsole:
[oracle@ocm11g ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://ocm11g.localdomain:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ................... started.
------------------------------------------------------------------
Logs are generated in directory /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/log
[oracle@ocm11g ~]$ emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.4.3
OMS Version : 10.2.0.4.3
Protocol Version : 10.2.0.4.3
Agent Home : /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g
Agent binaries : /oracle/product/11.2.0/dbhome_1
Agent Process ID : 7010
Parent Process ID : 6990
Agent URL : https://ocm11g.localdomain:3938/emd/main
Repository URL : https://ocm11g.localdomain:1158/em/upload/
Started at : 2011-09-05 11:47:54
Started by user : oracle
Last Reload : 2011-09-05 11:47:54
Last successful upload : 2011-09-05 11:51:43
Total Megabytes of XML files uploaded so far : 0.04
Number of XML files pending upload : 26
Size of XML files pending upload(MB) : 0.47
Available disk space on upload filesystem : 37.42%
Data channel upload directory : /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/recv
Last successful heartbeat to OMS : 2011-09-05 11:51:41
---------------------------------------------------------------
Agent is Running and Ready
How to recreate the repository:
[oracle@ocm11g ~]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Sep 5, 2011 11:57:39 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ocm11g
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 5, 2011 11:58:07 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ocm11g/emca_2011_09_05_11_57_38.log.
Sep 5, 2011 11:58:07 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Sep 5, 2011 11:58:20 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Sep 5, 2011 12:05:54 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 5, 2011 12:06:08 PM
[oracle@ocm11g ~]$ emca -config dbcontrol db -repos create
STARTED EMCA at Sep 5, 2011 12:07:34 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ocm11g
Listener port number: 1521
Listener ORACLE_HOME [ /oracle/product/11.2.0/dbhome_1 ]:
Password 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 ................ /oracle/product/11.2.0/dbhome_1
Local hostname ................ ocm11g.localdomain
Listener ORACLE_HOME ................ /oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ ocm11g
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 5, 2011 12:07:57 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ocm11g/emca_2011_09_05_12_07_34.log.
Sep 5, 2011 12:08:00 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Sep 5, 2011 12:28:00 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Sep 5, 2011 12:28:51 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Sep 5, 2011 12:31:43 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Sep 5, 2011 12:31:58 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Sep 5, 2011 12:32:23 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Sep 5, 2011 12:32:23 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Sep 5, 2011 12:42:17 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Sep 5, 2011 12:42:44 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://ocm11g.localdomain:1158/em <<<<<<<<<<<
Sep 5, 2011 12:45:04 PM 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: /oracle/product/11.2.0/dbhome_1/ocm11g.localdomain_ocm11g/sysman/config/emkey.ora. Ensure 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 Sep 5, 2011 12:45:08 PM
EM is up and running: