Oracle中OEM的啟動與關閉

來源:互聯網
上載者:User

標籤:

我已經選擇安裝了,但安裝後發現開始菜單裡並沒有OEM,在哪裡可以開啟呢?

從Oracle10g開始,Oracle極大的增強了OEM工具,並通過伺服器端進行EM工具全面展現。
在10g中,用戶端可以不必安裝任何Oracle用戶端工具,僅憑瀏覽器就可以調用強大的EM工具。

在一些時候我通過查看portlist.ini,來確定安裝oracle開啟那些連接埠來啟動相應的服務,可以通過此檔案確定

$ORACLE_HOEM/install/portlist.ini

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

在Server端,可以通過如下命令啟動EM工具控制台:

emctl start dbconsole

 


啟動之後我們就可以通過在瀏覽器端輸入以下url訪問:

同樣停止OEM可以輸入如下命令:

 

emctl stop dbconsole



以下是停止過程:

[[email protected] ~]$ emctl stop dbconsoleTZ set to PRCOracle 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/aboutApplicationStopping Oracle Enterprise Manager 10g Database Control ......  Stopped. 


也可以直接鍵入emctl查看emctl支援的選項:

[[email protected] ~]$ emctlTZ set to PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.Invalid argumentsUnknown 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"

 

 以下是啟動過程:

 

[[email protected] ~]$ emctl start dbconsoleTZ set to PRCOracle 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/aboutApplicationStarting 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=orclC:\>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 dbconsoleOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.http://jack-9888bad62d:1158/em/console/aboutApplicationOracleDBConsoleorcl 服務正在停止..............OracleDBConsoleorcl 服務已成功停止。C:\>emctl start dbconsoleOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.http://jack-9888bad62d:1158/em/console/aboutApplicationStarting Oracle Enterprise Manager 10g Database Control ...OracleDBConsoleorcl服務正在啟動 ................OracleDBConsoleorcl 服務已經啟動成功。C:\>

Oracle中OEM的啟動與關閉

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.