熱點推薦:
您现在的位置: 電腦知識網 >> 操作系統 >> Windows系統管理 >> 正文

Windows不能在本地計算機啟動OracleDBConsoleorcl

2022-06-13   來源: Windows系統管理 

  現象

  Windows 不能在 本地計算機 啟動 OracleDBConsoleorcl有關更多信息查閱系統事件日志如果這是非 Microsoft 服務請與服務廠商聯系並參考特定服務錯誤代碼

  系統事件日志 報錯誤Agent process exited abnormally during initialization

  出現情況原來正常計算機名更改或IP地址變了後就不能啟動

  解決步驟如下

  開始》運行cmd

  執行 emctl start dbconsole

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

  Environment variable ORACLE_SID not defined Please define it

  提示環境變量 ORACLE_SID 未定義請定義

  設置 ORACLE_SID =ORCL (orcl是我的實例名也是服務名)

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

  再次執行emctl start dbconsole

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

  OCJ Configuration issue E:\oracle\product\\db_/ocj/jee/OCJ_DBConsole

  _chinadefd_orcl not found

  提示無法找到E:\oracle\product\\db_/ocj/jee/OCJ_DBConsole

  _chinadefd_orcl

  注chinadefd 是我的計算機名

  復制該目錄下的OCJ_DBConsole_localhost_orcl文件夾放在同一目錄下且把名稱改成OCJ_DBConsole_chinadefd_orcl

  再次執行emctl start dbconsole

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

  EM Configuration issue E:\oracle\product\\db_/chinadefd_orcl not f

  ound

  提示無法找到 E:\oracle\product\\db_/chinadefd_orcl

  復制該目錄下的localhost_orcl文件夾放在同一目錄下且把名稱改成chinadefd_orcl

  再次執行emctl start dbconsole

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

  Oracle Enterprise Manager g Database Control Release

  Copyright (c) Oracle Corporation All rights reserved

  //localhost:/em/

  Starting Oracle Enterprise Manager g Database Control OracleDBConsoleorcl

  服務正在啟動

  

  OracleDBConsoleorcl 服務已經啟動成功


From:http://tw.wingwit.com/Article/os/xtgl/201311/8775.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.