我已經選擇安裝了,但安裝后發現開始菜單里並沒有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 |
以下是停止過程:
[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支持的選項:
[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中找到
==
錯誤分析
在Windows下的命令行窗口輸入emctl可以查看emctl支持的選項,但是輸入后回車,提示如下:
Environment variable ORACLE_SID not defined. Please define it. |
說明環境變量沒有設置SID,在當前窗口中臨時重新設置如下:
C:\>set ORACLE_SID=orcl C:\>emctl Unknown command option emctl set ssl test|off|on em |
上圖說明我們可以正常使用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:\> |