m1上 配置OEM 怎样配置oracle oem

m1上

配置OEM
[oracle@m1 ~]$ emca -config dbcontrol db


STARTED EMCA at Oct 23, 2013 11:55:28 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:  mes1
Listener port number:  1521
Listener ORACLE_HOME [ /u01/oracle/11.2.0/db_1 ]: 
Password for SYS user:  
Password for DBSNMP user:  
Oct 23, 2013 11:56:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
WARNING: ORA-28000: the account is locked

Password for SYSMAN user:  
Oct 23, 2013 11:56:53 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
WARNING: ORA-28000: the account is locked

Email address for notifications (optional): 1251@163.com
Outgoing Mail (SMTP) server for notifications (optional): 
ASM ORACLE_HOME [ /u01/oracle/11.2.0/db_1 ]: 
ASM SID [ +ASM ]:    -----》 +ASM1
ASM port [ 1521 ]: 
ASM username [ ASMSNMP ]:   
ASM user password:   -----》 oracle
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /u01/oracle/11.2.0/db_1

Local hostname ................ m1
Listener ORACLE_HOME ................ /u01/oracle/11.2.0/db_1
Listener port number ................ 1521
Database SID ................ mes1
Email address for notifications ............... 1251@163.com
Outgoing Mail (SMTP) server for notifications ............... 
ASM ORACLE_HOME ................ /u01/oracle/11.2.0/db_1
ASM SID ................  +ASM
ASM port ................ 1521
ASM user role ................ SYSDBA
ASM username ................ ASMSNMP

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Oct 23, 2013 11:58:17 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/mes/emca_2013_10_23_11_55_28.log.
Oct 23, 2013 11:58:28 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Oct 23, 2013 12:00:45 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Oct 23, 2013 12:00:45 PM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for m1
Oct 23, 2013 12:00:46 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Oct 23, 2013 12:00:56 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Oct 23, 2013 12:00:56 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Oct 23, 2013 12:01:24 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Oct 23, 2013 12:01:24 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is  https://m1:1158/em <<<<<<<<<<<
Oct 23, 2013 12:01:27 PM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING: 
************************  WARNING  ************************

Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted.  The encryey has been placed in the file: /u01/oracle/11.2.0/db_1/m1_mes/sysman/config/emkey.ora. Ensure this file is backedthe encrypted data will become unusable if this file is lost. 

***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Oct 23, 2013 12:01:27 PM
[oracle@m1 ~]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.3.0 
Copyright (c) 1996, 2011 Oracle Corporation.  All rights reserved.
Oracle Enterprise Manager 11g is running. 
------------------------------------------------------------------
Logs are generated in directory /u01/oracle/11.2.0/db_1/m1_mes/sysman/log 

-------------------------------------------------------------一步一步完善-------------------------------

m2上也是重复
root@m3 ~]# su - oracle
[oracle@m3 ~]$ emca -config dbcontrol db

STARTED EMCA at Oct 23, 2013 2:17:44 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle.  All rights reserved.

Enter the following information:
Database SID: mes3
Listener port number: 1521
Listener ORACLE_HOME [ /u01/oracle/11.2.0/db_1 ]: 
Password for SYS user:  e
Password for DBSNMP user: oracle
Password for SYSMAN user:  
Email address for notifications (optional):  1251777@qq.com
Outgoing Mail (SMTP) server for notifications (optional): 
ASM ORACLE_HOME [ /u01/oracle/11.2.0/db_1 ]: 
ASM SID [ +ASM ]: +ASM3
ASM port [ 1521 ]: 
ASM username [ ASMSNMP ]: 
ASM user password:  
ASM user password:  
ASM user password:  
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /u01/oracle/11.2.0/db_1

Local hostname ................ m3
Listener ORACLE_HOME ................ /u01/oracle/11.2.0/db_1
Listener port number ................ 1521
Database SID ................ mes3
Email address for notifications ...............  1251777@qq.com
Outgoing Mail (SMTP) server for notifications ............... 
ASM ORACLE_HOME ................ /u01/oracle/11.2.0/db_1
ASM SID ................ +ASM3
ASM port ................ 1521
ASM user role ................ SYSDBA
ASM username ................ ASMSNMP

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Oct 23, 2013 2:19:45 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/cfgtoollogs/emca/mes/emca_2013_10_23_14_17_44.log.
Oct 23, 2013 2:19:47 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: ORA- 12537: TNS:connection closed

Oct 23, 2013 2:19:47 PM oracle.sysman.emcp.EMConfig perform
SEVERE: 

Database connection through listener failed. Fix the error and run EM Configuration Assistant again.

Some of the possible reasons may be: 

1) Listener port 1521 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service mes is not registered with listener. Register the database service. 
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is set to virtual host. Unset ORACLE_HOSTNAME environment variable. 
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname. 

Refer to the log file at /u01/oracle/cfgtoollogs/emca/mes/emca_2013_10_23_14_17_44.log for more details.
Could not complete the configuration. Refer to the log file at /u01/oracle/cfgtoollogs/emca/mes/emca_2013_10_23_14_17_44.log for more details.
[oracle@m3 ~]$ 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值