今天打算启用一下Oracle Database 11g的Database Control,发现初始并未安装:

[Oracle@test126 ~]$ emctl start

EM Configuration issue. /opt/Oracle/product/11.1.0/test126.hurray.com.cn_dodd not found.

遇到这类问题,可以通过重新配置,来创建EM的配置文件:

[Oracle@test126 11.1.0]$ emca -config dbcontrol db -repos recreate

STARTED EMCA at Aug 28, 2007 11:54:40 AM

EM Configuration Assistant, Version 11.1.0.5.0 Production

Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:

Database SID: dodd

Listener port number: 1521

Password for SYS user:

Password for DBSNMP user:

Password for SYSMAN user:

Password for SYSMAN user: Email address for notifications (optional): eygle@eygle.com

Outgoing Mail (SMTP) server for notifications (optional):

-----------------------------------------------------------------

You have specified the following settings

Database Oracle_HOME ................ /opt/Oracle/product/11.1.0

Local hostname ................ test126.hurray.com.cn

Listener port number ................ 1521

Database SID ................ dodd

Email address for notifications ............... eygle@eygle.com

Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------

Do you wish to continue? [yes(Y)/no(N)]: Y

Aug 28, 2007 11:56:58 AM Oracle.sysman.emcp.EMConfig perform

INFO: This operation is being logged at /opt/Oracle/cfgtoollogs/emca/dodd/emca_2007_08_28_11_54_40.log.

Aug 28, 2007 11:57:01 AM Oracle.sysman.emcp.EMReposConfig invoke

INFO: Dropping the EM repository (this may take a while) ...

Aug 28, 2007 11:57:16 AM Oracle.sysman.emcp.EMReposConfig invoke

INFO: Repository successfully dropped

Aug 28, 2007 11:57:16 AM Oracle.sysman.emcp.EMReposConfig createRepository

INFO: Creating the EM repository (this may take a while) ...

Aug 28, 2007 12:08:35 PM Oracle.sysman.emcp.EMReposConfig invoke

INFO: Repository successfully created

Aug 28, 2007 12:08:47 PM Oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository

INFO: Uploading configuration data to EM repository (this may take a while) ...

Aug 28, 2007 12:11:45 PM Oracle.sysman.emcp.EMReposConfig invoke

INFO: Uploaded configuration data successfully

Aug 28, 2007 12:11:51 PM Oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib

INFO: Software library configured successfully.

Aug 28, 2007 12:11:51 PM Oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary

INFO: Deploying Provisioning archives ...

Aug 28, 2007 12:12:13 PM Oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary

INFO: Provisioning archives deployed successfully.

Aug 28, 2007 12:12:13 PM Oracle.sysman.emcp.util.DBControlUtil secureDBConsole

INFO: Securing Database Control (this may take a while) ...

Aug 28, 2007 12:12:39 PM Oracle.sysman.emcp.util.DBControlUtil secureDBConsole

INFO: Database Control secured successfully.

Aug 28, 2007 12:12:39 PM Oracle.sysman.emcp.util.DBControlUtil startOMS

INFO: Starting Database Control (this may take a while) ...

Aug 28, 2007 12:14:04 PM Oracle.sysman.emcp.EMDBPostConfig performConfiguration

INFO: Database Control started successfully

Aug 28, 2007 12:14:04 PM Oracle.sysman.emcp.EMDBPostConfig performConfiguration

INFO: >>>>>>>>>>> The Database Control URL is https://test126.hurray.com.cn:1158/em <<<<<<<<<<<

Aug 28, 2007 12:14:16 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: /opt/Oracle/product/11.1.0/test126.hurray.com.cn_dodd/sysman/config/emkey.ora. Please 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 28, 2007 12:14:16 PM

Oracle 10g中,配置方法与此相同。

配置完成之后就可以启动EM了:

[Oracle@test126 11.1.0]$ emctl start dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0

Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.

https://test126.hurray.com.cn:1158/em/console/aboutApplication

Starting Oracle Enterprise Manager 11g Database Control ........ started.

------------------------------------------------------------------

Logs are generated in directory /opt/Oracle/product/11.1.0/test126.hurray.com.cn_dodd/sysman/log

如果是Linux环境,你可能还需要在iptables中开放1158端口,增加如下一行:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1158 -j ACCEPT

重新启动防火墙之后就可以通过IE在远端连接EM的Database Control了:

[root@test126 sysconfig]# service iptables restart

Flushing firewall rules: [ OK ]

Setting chains to policy ACCEPT: filter [ OK ]

Unloading iptables modules: [ OK ]

Applying iptables firewall rules: [ OK ]

Loading additional iptables modules: ip_conntrack_netbios_ns [ OK ]

oracle database firewall 配置 保护 db,Oracle DB control配置启动相关推荐

  1. win10开启oracle服务器配置,Windows环境(Win10)下安装、配置服务器类Oracle Database 11g Release 2...

    该篇为服务器类Oracle Database 11gRelease 2的安装.配置,若需安装.配置桌面类(通常是选择桌面类,如果是将本机作为服务器来使用,则选择服务器类),可参考"Windo ...

  2. RHEL 7.6 安装oracle database 19c on ASM Part2: Grid Infrastructure配置

    RHEL 7.6 安装oracle database 19c on ASM Part1: 基础环境配置 RHEL 7.6 安装oracle database 19c on ASM Part3: ASM ...

  3. oracle之 oracle database vault(数据库保险库)

    在12c建库中 Database  Vault 与 Label Security 选项,之前没有留意过,特意记录一下 12.1 中: 12.2 中: 转载:http://www.linuxidc.co ...

  4. Oracle 安装 docker,使用docker安装Oracle 12c database(一)

    首先在Ubuntu16.04安装好Docker软件,然后开始搜索Oracle的镜像.这里我们可以使用search命令搜索.可以发现在docker的镜像里面搜索到sath89创建的Oracle镜像. p ...

  5. 【OH】Deprecated and Desupported Features for Oracle Database 12c

    连接地址:http://docs.oracle.com/database/121/UPGRD/deprecated.htm#UPGRD60000 8Deprecated and Desupported ...

  6. oracle database vault(数据库保险库)

    转载:http://www.linuxidc.com/Linux/2011-12/48689p2.htm 本篇包含如下内容: ·         什么是Oracle Database Vault? · ...

  7. Oracle Database Appliance

    转载:http://www.hellodb.net/2011/09/oracle-database-appliance.html 自从Oracle收购了SUN,不仅仅得到了MySQL,Java,Sol ...

  8. Oracle Database Instant Client

    http://www.oracle.com/technetwork/database/features/oci/ic-faq-094177.html 本文内容 Instant Client 一般问题与 ...

  9. Oracle Database的安装环境及方法

    Oracle Database的安装环境及方法 Oracle Database的安装是整个数据库系统应用的一个重要环节.不管是哪个版本,Oracle Database的安装方法都基本相同.主要包括:确 ...

最新文章

  1. python excel 自动化-简直出神入化,教你用Python控制Excel实现自动化办公
  2. mysql 查询某一主键在那些表中中被设置为外键了
  3. 尝鲜体验 VS Code Python 原生 Jupyter Notebook 支持
  4. 高级数据库,建库,建表,建约束
  5. maven怎么和ecli_Maven的配置和Eclipse中导入SpringBoot项目一些注意点
  6. Python学习笔记:字符串提取和清洗
  7. Python批量拆分Excel文件中已合并的单元格
  8. Django如何让未登录的用户自动跳转至登录页
  9. 页式管理--物理地址计算问题小结
  10. linux免密码登录ppk,【原创文章】通过WDCP生成密钥对免密码登录linux的方法
  11. 易筋SpringBoot 2.1 | 第十一篇:SpringBoot使用actuator
  12. 安装SQL Server 2005中文开发版后,界面变英文改中文解决方法
  13. FPGA实现SPI 协议
  14. esp32-cam拍照上传,微信小程序照片显示
  15. 澳大利亚IT解决方案提供商使用OpManager节省了数万美元的IT维护成本
  16. [附源码]java毕业设计卡通动漫商城系统
  17. 断言python_Python 断言
  18. 智能门锁电路图_智能门锁原理一览 你pick哪一种?
  19. 未来几年,自动化发展趋势展望
  20. Unity3d用脚本实现Button图片的更改

热门文章

  1. Vijos P1848 记数问题【进制】
  2. PHP命名空间(Namespace)的使用详解(转)
  3. VMware下ghost安装XP后无法从硬盘启动的问题
  4. 比特币现金驱动的社交媒体平台备忘录继续蓬勃发展
  5. 给出a的定义 -- 指针 和 数组
  6. JDBC批处理读取指定Excel中数据到Mysql关系型数据库
  7. mycheckpoint
  8. (MYSQL学习笔记4)事务的开启、提交、回滚
  9. JavaScript之充实文档的内容
  10. Volley框架学习