oracle退出oem的目的,Oracle中OEM的启动与关闭

我已经选择安装了,但安装后发现开始菜单里并没有OEM,在哪里可以打开呢?

从Oracle10g开始,Oracle极大的增强了OEM工具,并通过服务器端进行EM工具全面展现。

在10g中,客户端可以不必安装任何Oracle客户端工具,仅凭浏览器就可以调用强大的EM工具。

在一些时候我通过查看portlist.ini,来确定安装oracle打开那些端口来启动相应的服务,可以通过此文件确定

$ORACLE_HOEM/install/portlist.ini

2.下面主要介绍dbconsole的启动与关闭

在Server端,可以通过如下命令启动EM工具控制台:

emctl start dbconsole

启动之后我们就可以通过在浏览器端输入以下url访问:

7e56820d58254214e63d197ffc4f3409.png

同样停止OEM可以输入如下命令:

emctl stop dbconsole

以下是停止过程:

[[email protected] ~]$ 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支持的选项:

[[email protected] ~]$ 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"

以下是启动过程:

[[email protected] ~]$ 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服务已经启动。

启动服务: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

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"

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:\>

原文:http://www.cnblogs.com/mq0036/p/4732649.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值