首页 > 代码库 > emctl start dbconsole OC4J_dbconsole*** not found

emctl start dbconsole OC4J_dbconsole*** not found

C:\windows\system32>emctl start dbconsoleOC4J 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_1C:\windows\system32>echo %ORACLE_SID%orclC:\windows\system32>lsnrctl statusLSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 15-OCT-2014 17:15:52Copyright (c) 1991, 2008, Oracle.  All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ghost1)(PORT=1522)))STATUS of the LISTENER------------------------Alias                     LISTENERVersion                   TNSLSNR for 64-bit Windows: Version 11.1.0.7.0 - ProductionStart Date                15-OCT-2014 10:34:45Uptime                    0 days 6 hr. 41 min. 10 secTrace Level               offSecurity                  ON: Local OS AuthenticationSNMP                      OFFListener Parameter File   D:\app\product\11.1.0\db_1\network\admin\listener.oraListener Log File         d:\app\diag\tnslsnr\ghost1\listener\alert\log.xmlListening 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 dbEM Configuration issue. D:\app\product\11.1.0\db_1/ghost1_orcl not found.C:\windows\system32>emca -config dbcontrol db -repos recreateEMCA 开始于 2014-10-15 17:26:39EM Configuration Assistant, 11.1.0.7.0 正式版版权所有 (c) 2003, 2005, Oracle。保留所有权利。输入以下信息:数据库 SID: orcl监听程序端口号: 1522SYS 用户的口令:DBSNMP 用户的口令:SYSMAN 用户的口令:  raSYSMAN 用户的口令: 通知的电子邮件地址 (可选):通知的发件 (SMTP) 服务器 (可选):-----------------------------------------------------------------已指定以下设置数据库 ORACLE_HOME ................ D:\app\product\11.1.0\db_1本地主机名 ................ ghost1监听程序端口号 ................ 1522数据库 SID ................ orcl通知的电子邮件地址 ...............通知的发件 (SMTP) 服务器 ...............-----------------------------------------------------------------是否继续? [是(Y)/否(N)]: Y2014-10-15 17:27:23 oracle.sysman.emcp.EMConfig perform信息: 正在将此操作记录到 D:\app\cfgtoollogs\emca\orcl\emca_2014_10_15_17_26_39.log2014-10-15 17:27:28 oracle.sysman.emcp.EMReposConfig invoke信息: 正在删除 EM 资料档案库 (此操作可能需要一段时间)...

 

emctl start dbconsole OC4J_dbconsole*** not found