ogg<*dt2*/home/oracle>$
emca -repos create
STARTED EMCA at Aug 20, 2013 10:50:25 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: whispc
Listener port number: 1526
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 20, 2013 10:50:44 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/product/cfgtoollogs/emca/whispc/emca_2013_08_20_10_50_25.log.
Aug 20, 2013 10:50:44 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 20, 2013 10:55:40 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Aug 20, 2013 10:55:40 AM
ogg<*dt2*/home/oracle>$ emca -config dbcontrol db -repos create
STARTED EMCA at Aug 20, 2013 10:57:30 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: whispc
Listener port number: 1526
Listener ORACLE_HOME [ /u01/product/oracle ]:
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 ................ /u01/product/oracle
Local hostname ................ ogg
Listener ORACLE_HOME ................ /u01/product/oracle
Listener port number ................ 1526
Database SID ................ whispc
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 20, 2013 10:57:58 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/product/cfgtoollogs/emca/whispc/emca_2013_08_20_10_57_29.log.
Aug 20, 2013 10:57:58 AM oracle.sysman.emcp.DatabaseChecks performReposChecks
SEVERE: Dbcontrol Repository already exists. Fix the error(s) and run EM Configuration Assistant again in standalone mode.
ogg<*dt2*/home/oracle>$emctl status dbconsole
OC4J Configuration issue. /u01/product/oracle/oc4j/j2ee/OC4J_DBConsole_ogg_whispc not found.
ogg<*dt2*/home/oracle>$emca -config dbcontrol db -repos recreate
STARTED EMCA at Aug 20, 2013 10:58:38 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: whispc
Listener port number: 1526
Listener ORACLE_HOME [ /u01/product/oracle ]:
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 ................ /u01/product/oracle
Local hostname ................ ogg
Listener ORACLE_HOME ................ /u01/product/oracle
Listener port number ................ 1526
Database SID ................ whispc
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
Aug 20, 2013 10:58:54 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/product/cfgtoollogs/emca/whispc/emca_2013_08_20_10_58_37.log.
Aug 20, 2013 10:58:55 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 20, 2013 11:00:24 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Aug 20, 2013 11:00:25 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 20, 2013 11:05:20 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Aug 20, 2013 11:05:25 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Aug 20, 2013 11:06:33 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Aug 20, 2013 11:06:36 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Aug 20, 2013 11:06:46 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 20, 2013 11:06:46 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 20, 2013 11:07:54 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Aug 20, 2013 11:07:54 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://ogg:5500/em <<<<<<<<<<<
Aug 20, 2013 11:07:58 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: /u01/product/oracle/ogg_whispc/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 Aug 20, 2013 11:07:58 AM
ogg<*dt2*/home/oracle>$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://ogg:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/product/oracle/ogg_whispc/sysman/log
STARTED EMCA at Aug 20, 2013 10:50:25 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: whispc
Listener port number: 1526
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 20, 2013 10:50:44 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/product/cfgtoollogs/emca/whispc/emca_2013_08_20_10_50_25.log.
Aug 20, 2013 10:50:44 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 20, 2013 10:55:40 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Aug 20, 2013 10:55:40 AM
ogg<*dt2*/home/oracle>$ emca -config dbcontrol db -repos create
STARTED EMCA at Aug 20, 2013 10:57:30 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: whispc
Listener port number: 1526
Listener ORACLE_HOME [ /u01/product/oracle ]:
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 ................ /u01/product/oracle
Local hostname ................ ogg
Listener ORACLE_HOME ................ /u01/product/oracle
Listener port number ................ 1526
Database SID ................ whispc
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 20, 2013 10:57:58 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/product/cfgtoollogs/emca/whispc/emca_2013_08_20_10_57_29.log.
Aug 20, 2013 10:57:58 AM oracle.sysman.emcp.DatabaseChecks performReposChecks
SEVERE: Dbcontrol Repository already exists. Fix the error(s) and run EM Configuration Assistant again in standalone mode.
ogg<*dt2*/home/oracle>$emctl status dbconsole
OC4J Configuration issue. /u01/product/oracle/oc4j/j2ee/OC4J_DBConsole_ogg_whispc not found.
ogg<*dt2*/home/oracle>$emca -config dbcontrol db -repos recreate
STARTED EMCA at Aug 20, 2013 10:58:38 AM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: whispc
Listener port number: 1526
Listener ORACLE_HOME [ /u01/product/oracle ]:
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 ................ /u01/product/oracle
Local hostname ................ ogg
Listener ORACLE_HOME ................ /u01/product/oracle
Listener port number ................ 1526
Database SID ................ whispc
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
Aug 20, 2013 10:58:54 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/product/cfgtoollogs/emca/whispc/emca_2013_08_20_10_58_37.log.
Aug 20, 2013 10:58:55 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 20, 2013 11:00:24 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Aug 20, 2013 11:00:25 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 20, 2013 11:05:20 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Aug 20, 2013 11:05:25 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Aug 20, 2013 11:06:33 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Aug 20, 2013 11:06:36 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Aug 20, 2013 11:06:46 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 20, 2013 11:06:46 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 20, 2013 11:07:54 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Aug 20, 2013 11:07:54 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://ogg:5500/em <<<<<<<<<<<
Aug 20, 2013 11:07:58 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: /u01/product/oracle/ogg_whispc/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 Aug 20, 2013 11:07:58 AM
ogg<*dt2*/home/oracle>$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
https://ogg:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
------------------------------------------------------------------
Logs are generated in directory /u01/product/oracle/ogg_whispc/sysman/log
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25583515/viewspace-2146425/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25583515/viewspace-2146425/