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:\>
相关文章
相关标签/搜索