oracle--Windows不能在本機電腦啟動OracleDBConsoleorcl .錯誤碼1

來源:互聯網
上載者:User

標籤:process   環境變數   禁用   沒有   center   硬體   start   就會   情況   

 

安裝完資料庫後能夠啟動,重新啟動電腦後,手動啟動就會報錯。

現象:

  Windows 不能在 本機電腦 啟動 OracleDBConsoleorcl。有關很多其它資訊。查閱系統事件日誌。假設這是非 Microsoft 服務,請與服務廠商聯絡。並參考特定服務錯誤碼 2。


  系統事件日誌 報錯誤"Agent process exited abnormally during initialization."


  出現情況:原來正常,電腦名稱更改或IP地址變了後就不能啟動。

解決方案一:  解決過程例如以下:


  1、開始-》執行cmd


  2、運行 emctl start dbconsole


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


  Environment variable ORACLE_SID not defined. Please define 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_orcl not 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_orcl not 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 rights reserved.


  http://localhost:1158/em/


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


  服務正在啟動


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


  OracleDBConsoleorcl 服務已經啟動成功


這樣的方法能夠成功。


解決方案二先禁用網卡,啟動dbconsole服務,再進入http://localhost:1158/em,假設想上網。再啟動網卡,OK!
缺點:每一次都要禁用網卡才幹夠啟動,麻煩!
解決方案三設定回還網卡,在控制台中,點擊 新增硬體 選擇 microsoft lookback adapter ,進入網路位置,網路連接,設定隨意IP,開始,oracle。配置和移植工具,netconfiguration assistant 把回還網卡的IP加入 儲存。

oracle--Windows不能在本機電腦啟動OracleDBConsoleorcl .錯誤碼1

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.