安裝OEM的log

ljm0211發表於2012-07-02
$ emca -config dbcontrol db -repos create

STARTED EMCA at Dec 19, 2009 11:05:40 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: ywzkr
Listener port number: 1522
Password for SYS user: 
Password for DBSNMP user: 
Password for SYSMAN user: 
Email address for notifications (optional): lilianjia@zking.com
Outgoing Mail (SMTP) server for notifications (optional): 88.0.64.2
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /ywzkr_ora/product/10.2.0

Database hostname ................ zjop01
Listener port number ................ 1522
Database SID ................ ywzkr
Email address for notifications ............... lilianjia@zking.com
Outgoing Mail (SMTP) server for notifications ............... 88.0.64.2

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Dec 19, 2009 11:07:11 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /ywzkr_ora/product/10.2.0/cfgtoollogs/emca/ywzkr/emca_2009-12-19_11-05-40-PM.log.
Dec 19, 2009 11:07:12 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Dec 19, 2009 11:08:52 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Dec 19, 2009 11:08:56 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Dec 19, 2009 11:09:00 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /ywzkr_ora/product/10.2.0/bin/emctl config emkey -repos
Dec 19, 2009 11:09:00 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
WARNING: Configuring EM-Key failed.
Dec 19, 2009 11:09:00 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
WARNING: Error securing Database control.
Dec 19, 2009 11:09:00 PM oracle.sysman.emcp.EMDBPostConfig setWarnMsg
INFO: Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s):

1) Set the environment variable ORACLE_SID to ywzkr
2) /ywzkr_ora/product/10.2.0/bin/emctl stop dbconsole
3) /ywzkr_ora/product/10.2.0/bin/emctl config emkey -repos -sysman_pwd < Password for SYSMAN user > 
4) /ywzkr_ora/product/10.2.0/bin/emctl secure dbconsole -sysman_pwd < Password for SYSMAN user > 
5) /ywzkr_ora/product/10.2.0/bin/emctl start dbconsole

To secure Em Key, run /ywzkr_ora/product/10.2.0/bin/emctl config emkey -remove_from_repos -sysman_pwd < Password for SYSMAN user >
Dec 19, 2009 11:09:00 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Dec 19, 2009 11:11:01 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Dec 19, 2009 11:11:01 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is <<<<<<<<<<<


Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s):

1) Set the environment variable ORACLE_SID to ywzkr
2) /ywzkr_ora/product/10.2.0/bin/emctl stop dbconsole
3) /ywzkr_ora/product/10.2.0/bin/emctl config emkey -repos -sysman_pwd < Password for SYSMAN user > 
4) /ywzkr_ora/product/10.2.0/bin/emctl secure dbconsole -sysman_pwd < Password for SYSMAN user > 
5) /ywzkr_ora/product/10.2.0/bin/emctl start dbconsole

To secure Em Key, run /ywzkr_ora/product/10.2.0/bin/emctl config emkey -remove_from_repos -sysman_pwd < Password for SYSMAN user >

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11411056/viewspace-734379/,如需轉載,請註明出處,否則將追究法律責任。

相關文章