在windows 2003 /xp里装上oracle 10g后,访问Enterprise Manager Control:http://localhost:5500/em
oracle 10g数据库无法启动em(dbconsole),通过如下方法修复。
C:/>emctl start dbconsole
OC4J Configuration issue. d:/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole
_lean002.chinalean.com_hit not found.
解决办法:
C:/>set ORACLE_HOSTNAME=localhost
C:/>emca -config dbcontrol db
EMCA 开始于 2007-2-25 14:22:40
EM Configuration Assistant 10.2.0.1.0 正式版
版权所有 (c) 2003, 2005, Oracle。保留所有权利。
输入以下信息:
数据库 SID: HIT
已为数据库 HIT 配置了 Database Control
您已选择配置 Database Control, 以便管理数据库 HIT
此操作将移去现有配置和默认设置, 并重新执行配置
是否继续? [yes(Y)/no(N)]: Y
监听程序端口号: 1521
SYS 用户的口令:
DBSNMP 用户的口令:
SYSMAN 用户的口令:
通知的电子邮件地址 (可选):
通知的发件 (SMTP) 服务器 (可选):
-----------------------------------------------------------------
已指定以下设置
数据库 ORACLE_HOME ................
数据库主机名 ................
监听程序端口号 ................
数据库 SID ................
通知的电子邮件地址 ...............
通知的发件 (SMTP) 服务器 ...............
-----------------------------------------------------------------
是否继续? [yes(Y)/no(N)]: Y
2007-2-25 14:23:04 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 D:/oracle/product/10.2.0/db_1/cfgtoollogs/emca/hit/emca_2007-02-25_02-22-40-下午.log。
2007-2-25 14:23:04 oracle.sysman.emcp.DatabaseChecks performReposChecks
警告: 'shared_pool_size' 必须大于等于 80 MB。
2007-2-25 14:23:05 oracle.sysman.emcp.util.PortManager isPortInUse
警告: 指定的端口 3938 已在使用。
2007-2-25 14:23:05 oracle.sysman.emcp.util.DBControlUtil stopOMS
信息: 正在停止 Database Control (此操作可能需要一段时间)...
2007-2-25 14:23:30 oracle.sysman.emcp.util.DBControlUtil startOMS
信息: 正在启动 Database Control (此操作可能需要一段时间)...
2007-2-25 14:24:10 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: 已成功启动 Database Control
2007-2-25 14:24:10 oracle.sysman.emcp.EMDBPostConfig performConfiguration
警告: 无法创建 Database Control 快捷方式
2007-2-25 14:24:10 oracle.sysman.emcp.EMDBPostConfig performConfiguration
信息: >>>>>>>>>>> Database Control URL 为 http://LOCALHOST:1158/em
EMCA 结束于 2007-2-25 14:24:10
C:/>