Oracle中OEM的啓動與關閉

我已經選擇安裝了,但安裝後發現開始菜單裏並無OEM,在哪裏能夠打開呢?瀏覽器

從Oracle10g開始,Oracle極大的加強了OEM工具,並經過服務器端進行EM工具全面展示。
在10g中,客戶端能夠沒必要安裝任何Oracle客戶端工具,僅憑瀏覽器就能夠調用強大的EM工具。服務器

在一些時候我經過查看portlist.ini,來肯定安裝oracle打開那些端口來啓動相應的服務,能夠經過此文件肯定oracle

$ORACLE_HOEM/install/portlist.ini工具

2.下面主要介紹dbconsole的啓動與關閉url

在Server端,能夠經過以下命令啓動EM工具控制檯:.net

emctl start dbconsole

 


啓動以後咱們就能夠經過在瀏覽器端輸入如下url訪問:命令行

Oracle10g OEM

一樣中止OEM能夠輸入以下命令:blog

 

emctl stop dbconsole



如下是中止過程:ssl

[oracle@danaly ~]$ emctl stop dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://danaly.hurrray.com.cn:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ......  Stopped. 


也能夠直接鍵入emctl查看emctl支持的選項:

get

[oracle@danaly ~]$ emctl
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Invalid arguments

Unknown command option 
Usage:: 
   Oracle Enterprise Manager 10g Database Control commands:
       emctl start| stop| status| setpasswd dbconsole
       emctl secure 

       emctl set ssl test|off|on em
       emctl set ldap     
emctl blackout options can be listed by typing "emctl blackout"
emctl config options can be listed by typing "emctl config"
emctl secure options can be listed by typing "emctl secure"
emctl ilint  options can be listed by typing "emctl ilint"
emctl deploy  options can be listed by typing "emctl deploy"

 

 如下是啓動過程:

 

[oracle@danaly ~]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://danaly.hurrray.com.cn:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control .......................... started. 
------------------------------------------------------------------
Logs are generated in directory /opt/oracle/product/10.2.0/danaly.hurrray.com.cn_danaly/sysman/log 

 

版權聲明:本文爲博主原創文章,未經博主容許不得轉載。

出處:http://blog.csdn.net/warden2010/article/details/6269497


啓動EM
要確保OracleDBConsole<SID>服務已經啓動。
啓動服務:emctl start dbconsole
關閉服務:emctl stop dbconsole
訪問EM:http://服務器名稱或IP地址:端口號/em
端口號可在$ORACLE_HOME/install/protlist.ini中找到

出處:http://zhidao.baidu.com/link?url=PjRfAMeEfChw4qQJEEsPqrUNqrA-6Ligh0TdTzQALMl7DVVMVxqQJJFVkji8qa6_4ViqaRfHw2jCreVbuvk2__

==


錯誤分析

在Windows下的命令行窗口輸入emctl能夠查看emctl支持的選項,可是輸入後回車,提示以下:

Environment variable ORACLE_SID not defined. Please define it.

說明環境變量沒有設置SID,在當前窗口中臨時從新設置以下:

C:\>set ORACLE_SID=orcl
C:\>emctl
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Invalid arguments

Unknown command option
Usage::
Oracle Enterprise Manager 10g Database Control commands:
emctl start| stop| status| setpasswd dbconsole
emctl secure <options>

emctl set ssl test|off|on em
emctl set ldap <host> <port> <user dn> <user pwd> <context dn>
emctl blackout options can be listed by typing "emctl blackout"
emctl config options can be listed by typing "emctl config"
emctl secure options can be listed by typing "emctl secure"
emctl ilint options can be listed by typing "emctl ilint"
emctl deploy options can be listed by typing "emctl deploy"
C:\>

 上圖說明咱們能夠正常使用emctl命令了,下面就能夠啓動或中止dbconsole服務了

C:\>emctl stop dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://jack-9888bad62d:1158/em/console/aboutApplication
OracleDBConsoleorcl 服務正在中止..............
OracleDBConsoleorcl 服務已成功中止。

C:\>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://jack-9888bad62d:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ...OracleDBConsoleorcl
服務正在啓動 ................
OracleDBConsoleorcl 服務已經啓動成功。

C:\>
相關文章
相關標籤/搜索