zoukankan      html  css  js  c++  java
  • emctl start dbconsole OC4J_dbconsole*** not found

    C:windowssystem32>emctl start dbconsole
    OC4J Configuration issue. D:appproduct11.1.0db_1/oc4j/j2ee/OC4J_DBConsole_ghost1_orcl not found.

    查看监听状态,环境变量

    C:windowssystem32>echo %ORACLE_HOME%
    D:appproduct11.1.0db_1
    
    C:windowssystem32>echo %ORACLE_SID%
    orcl
    
    C:windowssystem32>lsnrctl status
    
    LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 15-OCT-2014 17:15:52
    
    Copyright (c) 1991, 2008, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ghost1)(PORT=1522)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.1.0.7.0 - Production
    Start Date                15-OCT-2014 10:34:45
    Uptime                    0 days 6 hr. 41 min. 10 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:appproduct11.1.0db_1
    etworkadminlistener.ora
    Listener Log File         d:appdiag	nslsnrghost1listeneralertlog.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ghost1)(PORT=1522)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully

    重新创建em资料库

    C:windowssystem32>emctl -config dbcontrol db
    EM Configuration issue. D:appproduct11.1.0db_1/ghost1_orcl not found.
    
    C:windowssystem32>emca -config dbcontrol db -repos recreate
    
    EMCA 开始于 2014-10-15 17:26:39
    EM Configuration Assistant, 11.1.0.7.0 正式版
    版权所有 (c) 2003, 2005, Oracle。保留所有权利。
    
    输入以下信息:
    数据库 SID: orcl
    监听程序端口号: 1522
    SYS 用户的口令:
    DBSNMP 用户的口令:
    SYSMAN 用户的口令:  ra
    SYSMAN 用户的口令: 通知的电子邮件地址 (可选):
    通知的发件 (SMTP) 服务器 (可选):
    -----------------------------------------------------------------
    
    已指定以下设置
    
    数据库 ORACLE_HOME ................ D:appproduct11.1.0db_1
    
    本地主机名 ................ ghost1
    监听程序端口号 ................ 1522
    数据库 SID ................ orcl
    通知的电子邮件地址 ...............
    通知的发件 (SMTP) 服务器 ...............
    
    -----------------------------------------------------------------
    是否继续? [是(Y)/否(N)]: Y
    2014-10-15 17:27:23 oracle.sysman.emcp.EMConfig perform
    信息: 正在将此操作记录到 D:appcfgtoollogsemcaorclemca_2014_10_15_17_26_39.log2014-10-15 17:27:28 oracle.sysman.emcp.EMReposConfig invoke
    信息: 正在删除 EM 资料档案库 (此操作可能需要一段时间)...
  • 相关阅读:
    python3 简单爬虫
    springmvc的一个错误
    全栈技术经理——产品管理:产品管理那些事01
    全栈技术经理——团队管理:每周问问你的团队这这些问题 V1.0
    全栈技术经理——自我管理:读《有效管理的五大兵法》有感
    全栈技术经理——团队管理:指导中层管理者日常行动指南
    【原创】SpringBoot & SpringCloud 快速入门学习笔记(完整示例)
    CentOS7环境下SSH端口修改笔记
    CentOS7下挂载硬盘笔记
    权重轮询调度算法(WeightedRound-RobinScheduling)-Java实现3
  • 原文地址:https://www.cnblogs.com/Alex-Zeng/p/4026922.html
Copyright © 2011-2022 走看看