小弟刚进军Oracle ,想先在浏览器中打开EM,对Oracle有一个了解。但不知道怎样启动该服务。

解决方案 »

  1.   

    建议你先搜索以前的帖子,像这样的问题早已解决过! emctl status dbconsole   用于查看改服务状态
    emctl star/stop  dbconsole  用于启动和关闭该服务
      

  2.   

    -- CMD 下:C:\Documents and Settings\Administrator>set ORACLE_SID=lymoraC:\Documents and Settings\Administrator>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://luoyoumou:5500/em/console/aboutApplication
    Agent Version     : 10.1.0.4.1
    OMS Version       : 10.1.0.4.0
    Protocol Version  : 10.1.0.2.0
    Agent Home        : D:\oracle\product\10.2.0\db_1\luoyoumou_lymora
    Agent binaries    : D:\oracle\product\10.2.0\db_1
    Agent Process ID  : 4740
    Agent Process ID  : 4740
    Agent URL         : http://luoyoumou:1830/emd/main
    Started at        : 2010-08-06 07:57:12
    Started by user   : SYSTEM
    Last Reload       : 2010-08-06 09:52:41
    Last successful upload                       : 2010-08-06 14:48:47
    Total Megabytes of XML files uploaded so far :     1.32
    Number of XML files pending upload           :        0
    Size of XML files pending upload(MB)         :     0.00
    Available disk space on upload filesystem    :    75.78%
    Agent is already started. Will restart the agent
    This will stop the Oracle Enterprise Manager 10g Database Control process. Continue [y/n] :y
    OracleDBConsolelymora 服务正在停止.....
      

  3.   

    启动的时候如果出现 Environment variable ORACLE_SID not defined please define it .
    用set 命令定义一下:set ORACLE_sid=SID