标签:des style blog color io os ar for sp
C:\windows\system32>emctl start dbconsole OC4J Configuration issue. D:\app\product\11.1.0\db_1/oc4j/j2ee/OC4J_DBConsole_ghost1_orcl not found.
查看监听状态,环境变量
C:\windows\system32>echo %ORACLE_HOME% D:\app\product\11.1.0\db_1 C:\windows\system32>echo %ORACLE_SID% orcl C:\windows\system32>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:\app\product\11.1.0\db_1\network\admin\listener.ora Listener Log File d:\app\diag\tnslsnr\ghost1\listener\alert\log.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:\windows\system32>emctl -config dbcontrol db EM Configuration issue. D:\app\product\11.1.0\db_1/ghost1_orcl not found. C:\windows\system32>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:\app\product\11.1.0\db_1 本地主机名 ................ ghost1 监听程序端口号 ................ 1522 数据库 SID ................ orcl 通知的电子邮件地址 ............... 通知的发件 (SMTP) 服务器 ............... ----------------------------------------------------------------- 是否继续? [是(Y)/否(N)]: Y 2014-10-15 17:27:23 oracle.sysman.emcp.EMConfig perform 信息: 正在将此操作记录到 D:\app\cfgtoollogs\emca\orcl\emca_2014_10_15_17_26_39.log。 2014-10-15 17:27:28 oracle.sysman.emcp.EMReposConfig invoke 信息: 正在删除 EM 资料档案库 (此操作可能需要一段时间)...
emctl start dbconsole OC4J_dbconsole*** not found
标签:des style blog color io os ar for sp
原文地址:http://www.cnblogs.com/Alex-Zeng/p/4026922.html