oracleq0g启动em问题经常发生,比如IP变了,实例名称变了等 都可能使EM无法启动
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:/Documents and Settings/Administrator>emctl start dbconsole
Environment variable ORACLE_SID not defined. Please define it.
C:/Documents and Settings/Administrator>set ORACLE_SID=hawking
C:/Documents and Settings/Administrator>emctl start dbconsole
OC4J Configuration issue. D:/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole
_192.168.1.101_hawking not found.
解决办法:
把主机名解析到ip地址
也就是
192.168.1.101 jujumao
再次重新启动 就OK
C:/Documents and Settings/Administrator>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://jujumao:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...OracleDBConsolehawkin
g 服务正在启动 ................
OracleDBConsolehawking 服务已经启动成功。