• 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 资料档案库 (此操作可能需要一段时间)...
  • 相关阅读:
    【转载】要有一流的科研 也要有一流的教学(在2011年教师节复旦大学青年教师座谈会上的发言)
    【转载】谢启鸿老师访谈录之一(10级,撰稿人:侯灵子)
    【转载】谢启鸿老师访谈录之二(12级,撰稿人:陈筠臻)
    [问题2014S15] 解答
    [问题2014S14] 解答
    判断是否关注了微信公众号 subscribe 0=未关注 1=已关注
    PHP获取今天、昨天、明天的日期
    lnmp安装fileinfo扩展
    Linux kill和kill-9区别
    单列索引、多列索引和最左前缀原则
  • 原文地址:https://www.cnblogs.com/Alex-Zeng/p/4026922.html
Copyright © 2020-2023  润新知