oracle10g- emctl start dbconsole 启动问题
現(xiàn)象:
Windows?不能在?本地計算機?啟動?OracleDBConsoleorcl。有關(guān)更多信息,查閱系統(tǒng)事件日志。如果這是非?Microsoft?服務(wù),請與服務(wù)廠商聯(lián)系,并參考特定服務(wù)錯誤代碼?2。
系統(tǒng)事件日志?報錯誤"Agent process exited abnormally during initialization."
出現(xiàn)情況:原來正常,計算機名更改或IP地址變了后就不能啟動,
解決步驟如下:
1、開始-》運行cmd
2、執(zhí)行 emctl start dbconsole
C:\Documents and Settings\xcl>emctl start dbconsole
Environment variable ORACLE_SID not defined. Please define it.
提示:環(huán)境變量 ORACLE_SID 未定義,請定義。
3、設(shè)置 ORACLE_SID =ORCL (orcl是我的實例名,也是服務(wù)名)
C:\Documents and Settings\xcl>set oracle_sid=orcl
4、再次執(zhí)行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_orcl not found.
提示:無法找到“E:\oracle\product\10.2.0\db_1/oc4j/j2ee/OC4J_DBConsole
_china-d9e3f7d07_orcl?“
注:china-d9e3f7d07 是我的計算機名
復(fù)制該目錄下的“OC4J_DBConsole_localhost_orcl”文件夾放在同一目錄下,且把名稱改成“OC4J_DBConsole_china-d9e3f7d07_orcl”。
5、再次執(zhí)行emctl start dbconsole
C:\Documents and Settings\xcl>emctl start dbconsole
EM Configuration issue. E:\oracle\product\10.2.0\db_1/china-d9e3f7d07_orcl not f
ound.
提示:無法找到 “E:\oracle\product\10.2.0\db_1/china-d9e3f7d07_orcl?”
復(fù)制該目錄下的“l(fā)ocalhost_orcl”文件夾放在同一目錄下,且把名稱改成“china-d9e3f7d07_orcl”。
6、再次執(zhí)行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
服務(wù)正在啟動 ...................................................................
................................................................................
................................................................................
..............................
OracleDBConsoleorcl 服務(wù)已經(jīng)啟動成功轉(zhuǎn)載于:https://www.cnblogs.com/zwq194/archive/2010/08/14/1799518.html
總結(jié)
以上是生活随笔為你收集整理的oracle10g- emctl start dbconsole 启动问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 关于 URL 的一些不可不知的知识
- 下一篇: HDOJ HDU 1106 排序 ACM