标签:
我已经选择安装了,但安装后发现开始菜单里并没有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:\> |
标签:
原文地址:http://www.cnblogs.com/mq0036/p/4732649.html