C:\>set Oracle_hostname=kingsrv
C:\>emca-config Dbcontrol DB
EMCA started in 2007-3-19 12:04:13
EM Configuration Assistant 10.2.0.1.0 Official edition
Copyright (c) 2003,%, Oracle. All rights reserved.
Enter the following information:
Database sid:myoracle
Database control has been configured for DB myoracle
You have chosen to configure database control to manage databases MyOracle
This action will remove the existing configuration and default settings and perform the configuration again
Do you want to continue? [Yes (y)/no (N)]: Y
Listener Port number: 1521
SYS User's password:
DBSNMP User's password:
Sysman User's password:
Email address of the notification (optional):
Notification of the outgoing (SMTP) server (optional):
-----------------------------------------------------------------
The following settings are specified
The database Oracle_home ... ... e:\oracle\product\10.2.0\db_1.....
Database host name .......... Kingsrv
Listen to the program port number ....... 1521
Database SID ... myoracle. ........
e-mail address of the notification ... .....
Notification of the outgoing (SMTP) server ........
-----------------------------------------------------------------
Do you want to continue? [Yes (y)/no (N)]: Y
2007-3-19 12:04:53 Oracle.sysman.emcp.EMConfig Perform
Info: Logging This action to e:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\myoracle\emca_2007-03-19_12-04-13-pm
. log.
2007-3-19 12:04:55 Oracle.sysman.emcp.util.DBControlUtil stopoms
Info: The Database control is being stopped (this operation may take some time) ...
2007-3-19 12:05:31 Oracle.sysman.emcp.util.DBControlUtil startoms
Info: Starting Database control (this operation may take some time) ...
2007-3-19 12:06:11 Oracle.sysman.emcp.EMDBPostConfig performconfiguration
Info: Database Control was successfully started
2007-3-19 12:06:11 Oracle.sysman.emcp.EMDBPostConfig performconfiguration
Warning: Unable to create Database control shortcut
2007-3-19 12:06:11 Oracle.sysman.emcp.EMDBPostConfig performconfiguration
Info: >>>>>>>>>>> Database control URL is Http://KINGSRV:5501/em <<<<< <<<<<<
The configuration of Enterprise Manager has been completed successfully
EMCA ended on 2007-3-19 12:06:11