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.

(提示:复制该目录下的“localhost_orcl”文件夹放在同一目录下,且把名称改成“zrf-pc_orcl”)

C:\Documents and Settings\zhongrunfu>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://ceserver:1158/em/console/aboutApplication

Starting Oracle Enterprise Manager 10g Database Control ...OracleDBConsoleorcl

服务正在启动 ...................................................................

................................................................................

................................................................................

................................................................................

............................

到此OracleDBConsoleorcl服务已经启动成功。

 

 

 

猜你喜欢

转载自zhongrf.iteye.com/blog/1986887