zoukankan      html  css  js  c++  java
  • 安装 oracle 11g 发行版 出现错误:由于以下错误,Enterprise Manager配置失败,启动Database Control时出错

    解决方案如下
    进入dos
    (1)查看dbconsole状态:emctl status dbconsole 
    显示:Environment variable ORACLE_SID not defined. Please define it.
    (2)重新设置环境变量:set oracle_sid =数据库的sid

    注:(2)可以不配置

    ORACLE_SID的值 一般是orcl,查找方式 参考:

    http://www.cnblogs.com/a9999/p/6949795.html

    (3)重新配置em : emca -config dbcontrol db 
    显示:
    C:Documents and Settingswhtai>emca -config dbcontrol db
    EMCA 开始于 2009-8-31 16:48:45
    EM Configuration Assistant, 11.1.0.5.0 正式版
    版权所有 (c) 2003, 2005, Oracle。保留所有权利。 
    输入以下信息:
    数据库 SID: orcl
    已为数据库 orcl 配置了 Database Control
    您已选择配置 Database Control, 以便管理数据库 orcl
    此操作将移去现有配置和默认设置, 并重新执行配置
    是否继续? [是(Y)/否(N)]: y
    监听程序端口号: 1521
    SYS 用户的口令: 
    DBSNMP 用户的口令: 56
    SYSMAN 用户的口令:
    通知的电子邮件地址 (可选):
    通知的发件 (SMTP) 服务器 (可选):
    -----------------------------------------------------------------

    已指定以下设置
    数据库 ORACLE_HOME ................ C:appwhtaiproduct11.1.0db_1
    本地主机名 ................ 192.168.11.74
    监听程序端口号 ................ 1521
    数据库 SID ................ orcl
    通知的电子邮件地址 ...............
    通知的发件 (SMTP) 服务器 ...............
    -----------------------------------------------------------------
    是否继续? [是(Y)/否(N)]: y
    2009-8-31 16:51:07 oracle.sysman.emcp.EMConfig perform
    信息: 正在将此操作记录到 C:appwhtaicfgtoollogsemcaorclemca_2009_08_31_16_4
    8_44.log。
    2009-8-31 16:51:36 oracle.sysman.emcp.util.DBControlUtil stopOMS
    信息: 正在停止 Database Control (此操作可能需要一段时间)...
    2009-8-31 16:53:34 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    信息: 正在将配置数据上载到 EM 资料档案库 (此操作可能需要一段时间)...
    2009-8-31 16:56:44 oracle.sysman.emcp.EMReposConfig invoke
    信息: 已成功上载配置数据
    2009-8-31 16:56:58 oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    信息: 软件库已配置。
    2009-8-31 16:56:58 oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    信息: 将忽略 EM_SWLIB_STAGE_LOC (值)。
    2009-8-31 16:56:59 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    信息: 正在保护 Database Control (此操作可能需要一段时间)...
    2009-8-31 16:57:15 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    信息: 已成功保护 Database Control。
    2009-8-31 16:57:15 oracle.sysman.emcp.util.DBControlUtil startOMS
    信息: 正在启动 Database Control (此操作可能需要一段时间)...
    2009-8-31 16:59:16 oracle.sysman.emcp.EMDBPostConfig performConfiguration
    信息: 已成功启动 Database Control
    2009-8-31 16:59:18 oracle.sysman.emcp.EMDBPostConfig performConfiguration
    信息: >>>>>>>>>>> Database Control URL 为 https://192.168.11.74:1158/em <<<<<<<<
    <<<
    2009-8-31 16:59:29 oracle.sysman.emcp.EMDBPostConfig invoke
    警告:
    ************************ WARNING ************************

    管理资料档案库已置于安全模式下, 在此模式下将对 Enterprise Manager 数据进行加密。
    加密密钥已放置在文件 C:appwhtaiproduct11.1.0db_1192.168.11.74_orclsysman
    configemkey.ora 中。请务必备份此文件, 因为如果此文件丢失, 则加密数据将不可用。
    ***********************************************************
    已成功完成 Enterprise Manager 的配置

  • 相关阅读:
    sql2000如何完美压缩.mdf文件
    SQL Server读懂语句运行的统计信息 SET STATISTICS TIME IO PROFILE ON
    Sql Server性能优化辅助指标SET STATISTICS TIME ON和SET STATISTICS IO ON
    理解性能的奥秘——应用程序中慢,SSMS中快(6)——SQL Server如何编译动态SQL
    理解性能的奥秘——应用程序中慢,SSMS中快(5)——案例:如何应对参数嗅探
    理解性能的奥秘——应用程序中慢,SSMS中快(4)——收集解决参数嗅探问题的信息
    理解性能的奥秘——应用程序中慢,SSMS中快(3)——不总是参数嗅探的错
    理解性能的奥秘——应用程序中慢,SSMS中快(2)——SQL Server如何编译存储过程
    巧用Map缓存提升"翻译"速度
    pt-archiver配置自动归档
  • 原文地址:https://www.cnblogs.com/a9999/p/6949808.html
Copyright © 2011-2022 走看看