-
开始->运行cmd
-
执行emctl start dbconsole C:\Documents and Settings\xcl>emctl start dbconsole Environment variable ORACLE_SID not defined. Please define it. 提示:环境变量ORACLE_SID为定义,请定义。
-
设置ORACLE_SID =ORCL C:\Documents and Settings\xcl>set oracle_sid=orcl
-
再次执行 emctl start dbconsole C:\Documents and Settings\xcl>emctl start dbconsole OC4J Configuration issue. E:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_计算机名_orcl not found. 提示:提 示 : 无 法 找 到 “E:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_计算机名_orcl复制该目录下的“OC4J_DBConsole_localhost_orcl”文件夹放在 同一目录下,且把名称改成 “OC4J_DBConsole_计算机名_orcl”
-
再次执行 emctl start dbconsole C:\Documents and Settings\xcl>emctl start dbconsole EM Configuration issue. E:\oracle\product\10.2.0\db_1\计算机名_orcl not found. 提 示 : 无 法 找 到 “E:\oracle\product\10.2.0\db_1\计算机名_orcl 复制该目录下的“localhost_orcl”文件夹放在同一目录下,且把名 称改成“计算机名_orcl”
-
再次执行 emctl start dbconsole C:\Documents and Settings\xcl>emctl start dbconsole Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved. http://localhost:1158/em/ Starting Oracle Enterprise Manager 10g Database Control ...OracleDBConsoleorcl 服务正在启动 ...... OracleDBConsoleorcl 服务已经启动成功!
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15592508/viewspace-720916/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15592508/viewspace-720916/