m1上 配置OEM 怎样配置oracle oem

简介: <div id="content" class="bigfont mycontent" style="zoom:1; line-height:23px; font-size:14px; margin:18px 28px; font-family:'lucida Grande',Verdana,'Microsoft YaHei'; clear:both; min-height:200px;
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 ~]$ 
目录
相关文章
|
26天前
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——Dept实体类和对应的配置信息
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——Dept实体类和对应的配置信息
12 1
|
6月前
|
Oracle 关系型数据库 数据库
百度搜索:蓝易云【docker部署并配置oracle12c的cdb和pdb教程!】
以上是使用Docker部署和配置Oracle 12c CDB和PDB的简要教程。请注意,这只是一个概述,并且可能需要根据你的实际情况进行适当的调整和配置。建议参考Oracle官方文档和相关资源,以获得更详细和全面的指导。
102 2
|
26天前
|
JavaScript Java 数据库连接
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——Emp实体类和对应的配置信息
struts+hibernate+oracle+easyui实现lazyout组件的简单案例——Emp实体类和对应的配置信息
23 0
|
5月前
|
SQL Oracle 关系型数据库
Oracle21C + PLSQL Developer 15 + Oracle客户端21安装配置完整图文版
Oracle21C + PLSQL Developer 15 + Oracle客户端21安装配置完整图文版
124 0
|
6月前
|
Oracle 关系型数据库 数据库
Docker安装Oracle_11g数据库并配置
Docker安装Oracle_11g数据库并配置
220 0
|
5月前
|
消息中间件 Oracle 关系型数据库
Flink CDC确实支持Oracle分区表的CDC,但是在配置时需要特别注意。以下是一些可能的解决方案
Flink CDC确实支持Oracle分区表的CDC,但是在配置时需要特别注意。以下是一些可能的解决方案
43 1
|
6月前
|
Oracle 关系型数据库 数据库连接
Windows系统安装配置Oracle数据库连接工具PLSQL
Windows系统安装配置Oracle数据库连接工具PLSQL
|
8月前
|
SQL Oracle 关系型数据库
WSL 配置 Oracle 19c 客户端
作者介绍:金桔
137 0
|
10月前
|
SQL Oracle 网络协议
.Net项目中通过ODAC方式链接Oracle数据库相关配置
.Net项目中通过ODAC方式链接Oracle数据库相关配置 一、开发环境 1.关于ODAC的链接方式 ODAC 直接使用 Oracle 调用接口 (OCI). OCI 是一种允许应用程序开发人员使用第三方开发语言存取Oracle数据服务器的过程或函数以及控制所有的SQL语句执行状态的应用程序接口。 2.使用ODAC方式的优点 使用ODAC的Net选项而无需在客户机上安装Oracle客户端来连接到Oracle.在这种情况下,ODAC仅需要TCP/IP协议的支持,从而可以创建真正的、最小的数据库应用程序。
115 0
|
11月前
|
SQL 数据采集 Oracle
GoldenGate19.1 Oracle单向dml配置全过程
文档说明:GoldenGate19.1 Oracle单向dml配置全过程,源端说19c数据库,asm磁盘组,目标端是11g,本地文件系统。
101 0