Windows不能在本地计算机启动OracleDBConsoleorcl .错误代码2
2013-05-10 11:36
453 查看
Windows不能在本地计算机启动OracleDBConsoleorcl .错误代码2
现象:
Windows 不能在 本地计算机 启动OracleDBConsoleorcl。有关更多信息,查阅系统事件日志。如果这是非 Microsoft 服务,请与服务厂商联系,并参考特定服务错误代码 2。
系统事件日志 报错误"Agent process exited abnormally duringinitialization."
出现情况:原来正常,计算机名更改或IP地址变了后就不能启动,
解决步骤如下:
1、开始-》运行cmd
2、执行 emctl start dbconsole
C:\Documents and Settings\xcl>emctl start dbconsole
Environment variable ORACLE_SID not defined. Pleasedefine it.
提示:环境变量 ORACLE_SID 未定义,请定义。
3、设置 ORACLE_SID =ORCL (orcl是我的实例名,也是服务名)
C:\Documents and Settings\xcl>set oracle_sid=orcl
4、再次执行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_china-d9e3f7d07_orclnot found.
提示:无法找到“E:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole_china-d9e3f7d07_orcl“
注:china-d9e3f7d07 是我的计算机名
复制该目录下的“OC4J_DBConsole_localhost_orcl”文件夹放在同一目录下,且把名称改成“OC4J_DBConsole_china-d9e3f7d07_orcl”。
5、再次执行emctl start dbconsole
C:\Documents and Settings\xcl>emctl start dbconsole
EM Configuration issue. E:\oracle\product\10.2.0\db_1/china-d9e3f7d07_orclnot found.
提示:无法找到 “E:\oracle\product\10.2.0\db_1/china-d9e3f7d07_orcl”
复制该目录下的“localhost_orcl”文件夹放在同一目录下,且把名称改成“china-d9e3f7d07_orcl”。
6、再次执行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 rightsreserved.
http://localhost:1158/em/
Starting Oracle Enterprise Manager 10g Database Control...OracleDBConsoleorcl
服务正在启动
..............................
OracleDBConsoleorcl 服务已经启动成功
现象:
Windows 不能在 本地计算机 启动OracleDBConsoleorcl。有关更多信息,查阅系统事件日志。如果这是非 Microsoft 服务,请与服务厂商联系,并参考特定服务错误代码 2。
系统事件日志 报错误"Agent process exited abnormally duringinitialization."
出现情况:原来正常,计算机名更改或IP地址变了后就不能启动,
解决步骤如下:
1、开始-》运行cmd
2、执行 emctl start dbconsole
C:\Documents and Settings\xcl>emctl start dbconsole
Environment variable ORACLE_SID not defined. Pleasedefine it.
提示:环境变量 ORACLE_SID 未定义,请定义。
3、设置 ORACLE_SID =ORCL (orcl是我的实例名,也是服务名)
C:\Documents and Settings\xcl>set oracle_sid=orcl
4、再次执行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_china-d9e3f7d07_orclnot found.
提示:无法找到“E:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole_china-d9e3f7d07_orcl“
注:china-d9e3f7d07 是我的计算机名
复制该目录下的“OC4J_DBConsole_localhost_orcl”文件夹放在同一目录下,且把名称改成“OC4J_DBConsole_china-d9e3f7d07_orcl”。
5、再次执行emctl start dbconsole
C:\Documents and Settings\xcl>emctl start dbconsole
EM Configuration issue. E:\oracle\product\10.2.0\db_1/china-d9e3f7d07_orclnot found.
提示:无法找到 “E:\oracle\product\10.2.0\db_1/china-d9e3f7d07_orcl”
复制该目录下的“localhost_orcl”文件夹放在同一目录下,且把名称改成“china-d9e3f7d07_orcl”。
6、再次执行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 rightsreserved.
http://localhost:1158/em/
Starting Oracle Enterprise Manager 10g Database Control...OracleDBConsoleorcl
服务正在启动
..............................
OracleDBConsoleorcl 服务已经启动成功
相关文章推荐
- oracle--Windows不能在本地计算机启动OracleDBConsoleorcl .错误代码1
- Windows不能在本地计算机启动OracleDBConsoleorcl.错误代码2的解决方法
- oracle--Windows不能在本地计算机启动OracleDBConsoleorcl .错误代码1
- Windows 不能在 本地计算机 启动 OracleDBConsoleorcl。有关更多信息,查阅系统事件日志。如果这是非 Microsoft 服务,请与服务厂商联系,并参考特定服务错误代码 2。
- Windows不能在本地计算机启动OracleDBConsoleorcl .错误代码2
- oracle--Windows不能在本地计算机启动OracleDBConsoleorcl .错误代码1
- Windows不能在本地计算机启动OracleDBConsoleorcl .错误代码2
- window不能在本地计算机启动OracleDBConsoleorcl(错误提示代码2)
- Windows 不能在 本地计算机 启动 OracleDBConsoleORCL。
- windows不能在本地启动OracleDBConsole,错误代码2 的解决方案
- Windows 不能在 本地计算机 启动 OracleDBConsoleorcl
- Windows不能在本地计算机启动OracleDBConsoleorcl
- Windows 不能在 本地计算机 启动 OracleDBConsoleORCL
- Windows不能在本地计算机启动OracleDBConsoleorcl
- Windows不能在本地计算机启动OracleDBConsoleorcl
- Windows不能在本地计算机启动OracleDBConsoleorcl
- Windows不能在本地计算机启动OracleDBConsoleorcl
- Windows 不能在 本地计算机 启动 OracleDBConsoleorcl 解决
- Windows 不能在 本地计算机 启动 OracleDBConsoleorcl
- Windows不能在本地计算机启动OracleDBConsoleorcl