配置oem

[[email protected] ~]$ export ORACLE_SID=dbking
[[email protected] ~]$ export ORACLE_SID=kaifai
[[email protected] ~]$ emca -config dbcontrol db -repos create

STARTED EMCA at Jul 15, 2016 12:31:03 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: dbking
Database Control is already configured for the database dbking
You have chosen to configure Database Control for managing the database dbking
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
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/app/oracle/product/11.2.0/dbhome_1

Local hostname ................ kaifai
Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ dbking
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Jul 15, 2016 12:31:24 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/dbkingstd/emca_2016_07_15_12_31_03.log.
Jul 15, 2016 12:31:25 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Jul 15, 2016 12:31:46 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jul 15, 2016 12:36:52 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Jul 15, 2016 12:37:02 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Jul 15, 2016 12:37:59 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Jul 15, 2016 12:38:05 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Jul 15, 2016 12:38:28 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Jul 15, 2016 12:38:28 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Jul 15, 2016 12:39:02 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Jul 15, 2016 12:39:02 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://kaifai:5500/em <<<<<<<<<<<
Jul 15, 2016 12:39:11 PM 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/app/oracle/product/11.2.0/dbhome_1/kaifai_dbkingstd/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 Jul 15, 2016 12:39:11 PM
[[email protected] ~]$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
https://kaifai:5500/em/console/aboutApplication
- An instance of Oracle Enterprise Manager 11g Database Control is already running.
[[email protected] ~]$

时间: 2024-10-13 03:40:06

配置oem的相关文章

oracle的环境配置-OEM企业管理器-Oracle emterprise manager

OEM企业管理器-Oracle emterprise manager 安装oracle的时候自动安装的. 1.启动OEM [[email protected] oracle]$ emctl start dbconsole  --启动命令TZ set to PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  Copyright (c) 1996, 2005 Oracle Corporation.  All ri

oracle 配置 oem

1.启动命令是[[email protected] ~]$ cd $ORACLE_HOME/bin [[email protected] ~]$ ./emctl start dbconsole 停止命令是[[email protected] ~]$ ./emctl stop dbconsole 查看oem状态 [[email protected] ~]$ ./emctl status dbconsole oracle的环境变量UNQNAME没设或设置不正确export ORACLE_UNQNAM

EMCA配置OEM

在oracle用户下,直接输入(前提是先启动listener) emca -config dbcontrol db -repos recreate STARTED EMCA at Dec 8, 2012 7:36:37 PM EM Configuration Assistant, Version 11.2.0.0.2 Production Copyright (c) 2003, 2005, Oracle.  All rights reserved. Enter the following inf

Oracle 12c(12.1.0.5)OEM server agent 安装配置

注意: 此文档为生产上操作文档,省略了IP,oracle用户server,agent 端至少需要sudo,ping,ssh,创建目录权限. 一.安装要求 1.1. 系统情况一览 IP 数据库 OEM 操作系统 数据库版本 XX1 单机 service(12.1.0.5) Linux 6.7 oracle11.2.0.4 XX2 RAC agent Linux 6.7 Oracle11.2.0.4 XX3 RAC agent Linux 6.7 Oracle11.2.0.4 注意:OEM管理RAC

对oracle10grac配置em

配置em A--:oracle 删除EM 首先查看em的状态 $ emctl status dbconsole 如果是正在运行,则先停止其运行,这是个好习惯 $ emctl stop dbconsole 然后,执行命令 $ emca -deconfig dbcontrol db -repos drop 删除时,很可能sysman用户没有删除,还存在一些role和public synonym 需要下面的SQL语句 drop user sysman cascade; drop user MGMT_V

Oracle OEM

一.OEM是什么 Oracle Enterprise Manager(Oracle企业治理器,简称OEM)是通过一组Oracle程序,为治理分布式环境提供了治理服务. 二.配置OEM 三.启动OEM 1.首先启动监听 lsnrctl start 2.然后启动OEM emctl start dbconsole 四.关闭OEM emctl stop dbconsole

oracle控制台OEM无法启动

今天打开刚安装好的oracle控制台,发现无法打开,提示内容是:数据库已关闭.请指定主机身份证明以访问数据库重新启动和诊断工具.之前也遇到过这种情况,通过启动监听:lsnrctl start 启动服务:sqlplus /nolog, conn /as sysdba,startup解决问题(关闭数据库用 shutdown 是要等待事物结束才关闭,强制关闭用 shutdown abort.).但是这次不奏效,真是捉狂.后来在网上查了一些资料,说要重新配置OEM,emca -config dbcont

OEM无法启动:oracle/product/10.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_orcl not found.

配置OEM环境变量 ORACLE_UNQNAME=$ORACLE_SID 要想打开OEM的web管理程序,必须先启动Database listener,再启动Datebase Control端口监控程序,但是碰到下面的情况          问题:    [[email protected] OC4J_DBConsole]$ emctl start dbconsole    TZ set to PRC    OC4J Configuration issue. /u01/app/oracle/pr

oracle系列(六)OEM与常见故障处理

博主QQ:819594300 博客地址:http://zpf666.blog.51cto.com/ 有什么疑问的朋友可以联系博主,博主会帮你们解答,谢谢支持! 前言:oracle除了使用命令操作以外,还可以使用OEM图形化管理,日常的管理工作都可以通过OEM操作,包括数据库对象的创建,用户权限的管理,数据文件和参数的配置.备份和恢复操作等. 一.OEM知识点 1.OEM简介 OEM是采用直观而且方便的图像化界面来控制和管理ORACLE数据库的工具集,它包含大量对DBA有用的工具.在oracle中