日期:2014-05-16  浏览次数:20584 次

OracleDBconsoleSID服务没法启动

WindowsXP下打开服务管理器,点击OracleDBconsoleorcl启动时报如下错误:



?

?

解决方法:(原因可能是IP地址变了)

经百度,有如下方法:

1、开始-à运行-àCMD

2、执行emctl start dbconsole

?

?

C:\Documents and Settings\zhongrunfu>emctl start dbconsole

Environment variable ORACLE_SID not defined. Please define it.

?

C:\Documents and Settings\zhongrunfu>set orcle_sid=orcl

?

C:\Documents and Settings\zhongrunfu>emctl start dbconsole

Environment variable ORACLE_SID not defined. Please define it.

(提示:环境变理ORACLE_SID未定义,请定义)

C:\Documents and Settings\zhongrunfu>set oracle_sid=orcl

?

C:\Documents and Settings\zhongrunfu>emctl start dbconsole

OC4J Configuration issue. d:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole

_zrf-pc_orcl not found.

(提示:复制该目录下的“OCF4J_DBConsole_localhost_orcl”文件夹放在同一目录下,且把名字改成“OCF4J_DBConsole_zrf-pc_orclzrf-pc是计算机名)

C:\Documents and Settings\zhongrunfu>emctl start dbconsole

EM Configuration issue. d:\oracle\product\10.2.0\db_1/zrf-pc_orcl not found.

(提示:复制该目录下的“lo