oracle的em怎么上 oracle emp

如何配置和重建Oracle 10G的em服务

如何配置和重建Oracle 10G的em服务

创新互联-专业网站定制、快速模板网站建设、高性价比昭化网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式昭化网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖昭化地区。费用合理售后完善,十余年实体公司更值得信赖。

cle10G的EM采用了web方式,并且分成了2个产品,database control和grid control。这里主要介绍如何创建单数据的dbcontrol。Grid control需要下载单独的光盘安装。

在用DBCA建库的时候,可以选择是否启用dbcontrol,启用的话需要在 数据库 中建立一个sysman的schema,用于保存EM的一些数据,这个就是EM的资料库(repository)。

使用命令行工具emca 可以创建,修改,重建或者删除dbcontrol 的配置。

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

Oracle12C的EM无法访问怎么办

装完Oracle 12c,想体验下EM Express,缺发现不能用,应该怎么办?12c的EM 不再像以前版本配置那么麻烦,当然提供的功能也没有那么多了,只需要启用对应端口即可,请看:

To manually configure the HTTPS port for EM Express:

1. Configure and start the Oracle Net Listener (the listener). You can use lsnrctl to start, stop, and view the status of the listener.

2. If the listener is running on a nonstandard port (for example, not 1521), then the init.ora file for the database you want to manage using EM Express must contain a local_listener entry so that the HTTPS port can register with the correc

listener. The local_listener entry references a TNSNAMES entry that points to the correct listener. For example:

local_listener=inst1

where inst1 is a TNSNAMES entry defined in tnsnames.ora that points to the listener. For example:

inst1= (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name)(PORT=1234)) (CONNECT_DATA=(SERVICE_NAME=service_name)(SERVER=DEDICATED)))

In this example, 1234 is the nonstandard port on which the listener has been configured to listen.

3. Enable the TCP dispatcher by adding the following entry to the init.ora file for the database you want to manage using EM Express:

dispatchers=”(PROTOCOL=TCP)(SERVICE=XDB)”

For example, if the database SID is ORCL, then the entry would be:

dispatchers=”(PROTOCOL=TCP)(SERVICE=ORCLXDB)”

4. Restart the database so that the changes made in the init.ora file take effect.

5. Use the PL/SQL procedure DBMS_XDB_CONFIG.SETHTTPSPORT to set the HTTPS port for EM Express. This will update the HTTPS port in the xdbconfig.xml file in the Oracle XML DB Repository. You must connect as SYS / AS SYSDBA to run the procedure. For example:

SQL exec DBMS_XDB_CONFIG.SETHTTPSPORT(5500);

6. To access EM Express, enter a URL in the following format in a Web browser:

For example:

When prompted for your username and password, log in as a user with DBA privilege (such as SYSTEM).

ORACLE EM如何启动

1.首先检查服务-ORACLEemconsole是否启动

2.在开始运行里键入cmd-set

ORACLE_SID=你的库的实例名

3.运行emctl

start

dbconsole启动EM

4.运行emctl

status

dbconsole,检查EM运行情况

为什么Oracle em 怎么登录不进去啊?所有账号都是这样结果。求帮解决

命令写错了!按下列方式,要两步走。

c:\Users\tj sqlplus /nolog

SQL conn /as sysdba

怎样启动oracle的em控制台

打开一个terminal窗口,先切换到oracle用户环境 输入命令emctl start dbconsole启动oracle的em服务 等待em启动,这是启动过程。 这是em启动的日志文件 启动完成后,在浏览器中打开oracle的em控制台,打开oem成功 这是登录em后的界面

标题名称:oracle的em怎么上 oracle emp
分享URL:https://www.cdcxhl.com/article4/hhgjoe.html

成都网站建设公司_创新互联,为您提供定制网站企业建站ChatGPT微信公众号静态网站标签优化

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

微信小程序开发