標籤:
我已經選擇安裝了,但安裝後發現開始菜單裡並沒有OEM,在哪裡可以開啟呢?
從Oracle10g開始,Oracle極大的增強了OEM工具,並通過伺服器端進行EM工具全面展現。
在10g中,用戶端可以不必安裝任何Oracle用戶端工具,僅憑瀏覽器就可以調用強大的EM工具。
在一些時候我通過查看portlist.ini,來確定安裝oracle開啟那些連接埠來啟動相應的服務,可以通過此檔案確定
$ORACLE_HOEM/install/portlist.ini
2.下面主要介紹dbconsole的啟動與關閉
在Server端,可以通過如下命令啟動EM工具控制台:
啟動之後我們就可以通過在瀏覽器端輸入以下url訪問:
同樣停止OEM可以輸入如下命令:
以下是停止過程:
[[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的啟動與關閉