资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

oracle怎么关闭em oracle启动和关闭

oracle中的em怎么用?

创建一个EM资料库

创新互联公司专业为企业提供富民网站建设、富民做网站、富民网站设计、富民网站制作等企业网站建设、网页设计与制作、富民企业网站模板建站服务,十多年富民做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。

emca -repos create

重建一个EM资料库

emca -repos recreate

删除一个EM资料库

emca -repos drop

配置数据库的 Database Control

emca -config dbcontrol db

删除数据库的 Database Control配置

emca -deconfig dbcontrol db

重新配置db control的端口,默认端口在1158

emca -reconfig ports

emca -reconfig ports -dbcontrol_http_port 1160

emca -reconfig ports -agent_port 3940

先设置ORACLE_SID环境变量后,启动EM console服务

emctl start dbconsole

先设置ORACLE_SID环境变量后,停止EM console服务

emctl stop dbconsole

先设置ORACLE_SID环境变量后,查看EM console服务的状态

emctl status dbconsole

配置dbconsole的步骤

emca -repos create

emca -config dbcontrol db

emctl start dbconsole

重新配置dbconsole的步骤

emca -repos drop

emca -repos create

emca -config dbcontrol db

emctl start dbconsole

,可以通过EM dbconsole访问数据库了

原因主要还是更改了主机名导致的问题,更改了相应的文件名:D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_colin

重命名为D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_RX-01-07_orcl

然后重新配置下dbconsole就Ok了

emca -config dbcontrol db

输入以下信息:

数据库 SID: orcl

已为数据库 orcl 配置了 Database Control

您已选择配置 Database Control, 以便管理数据库 orcl

此操作将移去现有配置和默认设置, 并重新执行配置

是否继续? [yes(Y)/no(N)]: y

监听程序端口号: 1521

SYS 用户的口令:

DBSNMP 用户的口令:

SYSMAN 用户的口令:

SYSMAN 用户的口令: 通知的电子邮件地址 (可选):

通知的发件 (SMTP) 服务器 (可选):已指定以下设置

数据库 ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1

数据库主机名 ................ RX-01-07

监听程序端口号 ................ 1521

数据库 SID ................ ora10g

通知的电子邮件地址 ...............

通知的发件 (SMTP) 服务器 ...............

-----------------------------------------------------------------

是否继续? [yes(Y)/no(N)]: y

----------------------------------------------------------------------------------------------------------------

2007-4-6 10:59:17 oracle.sysman.emcp.EMConfig perform

信息: 正在将此操作记录到 D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc

a_2007-04-06_10-57-52-上午.log。

2007-4-6 10:59:20 oracle.sysman.emcp.util.DBControlUtil stopOMS

信息: 正在停止 Database Control (此操作可能需要一段时间)...

2007-4-6 10:59:32 oracle.sysman.emcp.util.DBControlUtil startOMS

信息: 正在启动 Database Control (此操作可能需要一段时间)...

2007-4-6 11:00:12 oracle.sysman.emcp.EMDBPostConfig performConfiguration

信息: 已成功启动 Database Control

2007-4-6 11:00:12 oracle.sysman.emcp.EMDBPostConfig performConfiguration

警告: 无法创建 Database Control 快捷方式

2007-4-6 11:00:12 oracle.sysman.emcp.EMDBPostConfig performConfiguration

信息: Database Control URL 为

已成功完成 Enterprise Manager 的配置

EMCA 结束于 2007-4-6 11:00:12

oracle em 关闭和oracle 数据库关系大吗

不大。关闭em就是关闭了通过浏览器来管理数据库的功能,其实还可以通过sqlplus来管理数据库,所以不大。

怎么关闭 oracle oem 服务

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

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

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

emctl start dbconsole

以下是启动过程:

[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.

Starting Oracle Enterprise Manager 10g Database Control .......................... started.

------------------------------------------------------------------

Logs are generated in directory /opt/oracle/product/10.2.0/.cn_danaly/sysman/log

启动之后我们就可以通过在浏览器端输入以下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.

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怎么关闭em oracle启动和关闭
网页URL:http://cdkjz.cn/article/hjpohi.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220