Oracle EM 企业管理器的启动步骤是什么

2023-10-18 1052阅读

温馨提示:这篇文章已超过526天没有更新,请注意相关的内容是否还可用!

Oracle EM 企业管理器的启动步骤是什么,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。配置EM具体步骤一、配置EM dbconsole的步骤信息 emca -config dbcontrol db -repos recreate EMCA 开始于 2007-10-12 11:16:40 EM Configuration Assistant 10.2.0.1.0 正式版 版权所有 2003, 2005, Oracle。. e:oracleproduct10.2.0db_1 数据库主机名 ……………. hailang.mshome.net 监听程序端口号 ……………. orcl 通知的电子邮件地址 ……………通知的发件 服务器 ……………2007-10-12 11:17:40 oracle.sysman.emcp.EMReposConfig dropRepository 信息: 正在删除 EM 资料档案库 …

Oracle EM 企业管理器的启动步骤是什么,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。配置EM具体步骤一、配置EM dbconsole的步骤信息

emca -config dbcontrol db -repos recreate

EMCA 开始于 2007-10-12 11:16:40

EM Configuration Assistant 10.2.0.1.0 正式版

版权所有 (c) 2003, 2005, Oracle。保留所有权利。

输入以下信息:

数据库 SID: orcl

已为数据库 orcl 配置了 Database Control

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

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

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

监听程序端口号: 1521

SYS 用户的口令:

DBSNMP 用户的口令:

SYSMAN 用户的口令:

SYSMAN 用户的口令:

通知的电子邮件地址 (可选):

通知的发件 (SMTP) 服务器 (可选):

—————————————————————–

已指定以下设置

数据库 ORACLE_HOME ……………. e:oracleproduct10.2.0db_1

数据库主机名 ……………. hailang.mshome.net

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

数据库 SID ……………. orcl

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

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

—————————————————————–

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

2007-10-12 11:17:32 oracle.sysman.emcp.EMConfig perform

信息: 正在将此操作记录到 e:oracleproduct10.2.0db_1cfgtoollogsemcaorclemca_2007-

2007-10-12 11:17:37 oracle.sysman.emcp.util.DBControlUtil stopOMS

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

2007-10-12 11:17:40 oracle.sysman.emcp.EMReposConfig dropRepository

信息: 正在删除 EM 资料档案库 (此操作可能需要一段时间)…

2007-10-12 11:24:23 oracle.sysman.emcp.EMReposConfig invoke

信息: 已成功删除资料档案库

2007-10-12 11:24:24 oracle.sysman.emcp.EMReposConfig createRepository

信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)…

2007-10-12 11:34:36 oracle.sysman.emcp.EMReposConfig invoke

信息: 已成功创建资料档案库

2007-10-12 11:35:15 oracle.sysman.emcp.util.DBControlUtil startOMS

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

2007-10-12 11:36:56 oracle.sysman.emcp.EMDBPostConfig performConfiguration

信息: 已成功启动 Database Control

2007-10-12 11:36:56 oracle.sysman.emcp.EMDBPostConfig performConfiguration

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

2007-10-12 11:36:56 oracle.sysman.emcp.EMDBPostConfig performConfiguration

信息: >>>>>>>>>>> Database Control URL 为 http://hailang.mshome.net:5500/em 已成功完成 Enterprise Manager 的配置

在10g 中,我们可能会经常遇到OE开发云主机域名M不能正常使用的问题,但导致问题的原因不尽相同,最后绝大多数问题可以通过emca 这个命令来解决,详细的说明可以查看连机帮助,下面给出一些常用的命令,及实例步骤.

二、EMCA工具的其他参数

创建一个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

三、开启、关闭EM console服务

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

emctl start dbconsole

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

emctl stop dbconsole

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

emctl status dbconsole

四、登录EM

在浏览器输入http://192.168.2.200:1158/em/

五、Oracle 10gR2 OEM按钮乱码的解决(OEM的中英文显示快速切换)

方法1:(推荐使用这个方法)打开IE浏览器, 选择’工具”–>”Internet选项”–>”常规”, 选择 “语言”, 默认只有 “中文”, 选择 ” 添加 “, 加入 “英语(美国)” , 调整顺序, 把“英语(美国)”移动到最上面。此方法还可以用来很方便的快速切换OEM的中文和英文环境,平时还是多使用英文环境比较好!方法2:1 Stop the OEM service

$>emctl stop dbconsole2.分别进入以下三个路径$ORACLE_HOME/jdk/jre/lib

$ORACLE_HOME/jre/1.4.2/lib

3.在每个目录都透过以下指令覆盖档案

我们只要用合适的中文字符集文件替换缺省文件即可,这里使用font.properties.zh_CN.Redhat(我的系统是Redhat)来替换缺省字体定义文件:cp font.properties.zh_CN.Redhat font.properties[oracle@~/product/10.2/jdk/jre/lib]$>ls font*zh_CN*

[oracle@~/product/10.2/jdk/jre/lib]$>cp font.properties.zh_CN.Redhat font.properties[oracle@~/product/10.2/jre/1.4.2/lib]$>ls font*zh_CN*

[oracle@~/product/10.2/jre/1.4.2/lib]$>cp font.properties.zh_CN.Redhat font.properties

4.进入OEM的图示路径,清除之前的档案[oracle@~/product/10.2/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs]$>ls

b-68.gif b-68.imx b-b5.gif b-b5.imx b-iagree.gif b-iagree.imx

[oracle@~/product/10.2/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs]$>rm b*5.启动OEMemctl start dbconsole重新启动OEM之后,OEM的按钮就出现中文了。六、oem 报错“java.lang.Exception: IOException in send……”

1.停止em agent:

[oracle@rdbms_linux admin]$ emctl stop agent

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.

This will stop the Oracle Enterprise Manager 10g Database Control process. Continue [y/n] :y

Stopping Oracle Enterprise Manager 10g Database Control …

… Stopped.

Agent is not running.2.重新设置时区

[oracle@rdbms_linux admin]$ emctl resetTZ agent

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.

Updating /u01/app/oracle/product/10.2.0/db_1/rdbms_linux.com_BIDB/sysman/config/emd.properties…

Time zone set to PRC.To complete this process, you must either:connect to the database served by this DBConsole as user ‘sysman’, and execute:SQL> exec mgmt_target.set_agent_tzrgn(‘rdbms_linux.com:3938′,’PRC’) — or –connect to the database served by this DBConsole as user ‘sys’, and execute:SQL> alter session set current_schema = SYSMAN;

SQL> exec mgmt_target.set_agent_tzrgn(‘rdbms_linux.com:3938′,’PRC’)3.以sysdba身份登陆,设置如下:

Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0

Connected as SYS

SQL> alter session set current_schema = SYSMAN;

Session alteredSQL> exec mgmt_target.set_agent_tzrgn(‘rdbms_linux.com:3938′,’PRC’)

PL/SQL procedure successfully completed4.启动em agent和console

[oracle@rdbms_linux admin]$ emctl start agent

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 agent ….. started.[oracle@rdbms_linux admin]$ 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://rdbms_linux.com:1158/em/console/aboutApplication

Stopping Oracle Enterprise Manager 10g Database Control …Cannot determine Oracle Enterprise Manager 10g Database Control process. /u01/app/oracle/product/10.2.0/db_1/rdbms_linux.com_BIDB/emctl.pid does not exist.[oracle@rdbms_linux admin]$ emctl start dbconsole

TZ set to PRC

Oracle Enterprise Manager 10g D开发云主机域名atabase Control Release 10.2.0.1.0

Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

http://rdbms_linux.com:1158/em/console/aboutApplication

Agent Version : 10.1.0.4.1

OMS Version : Unknown

Protocol Version : 10.1.0.2.0

Agent Home : /u01/app/oracle/product/10.2.0/db_1/rdbms_linux.com_BIDB

Agent binaries : /u01/app/oracle/product/10.2.0/db_1

Agent Process ID : 8254

Parent Process ID : 8251

Agent URL : http://rdbms_linux.com:3938/emd/main

Started at : 2010-03-06 09:42:21

Started by user : oracle

Last Reload : 2010-03-06 09:42:21

Last successful upload : (none)

Last attempted upload : (none)

Total Megabytes of XML files uploaded so 开发云主机域名far : 0.00

Number of XML files pending upload : 15

Size of XML files pending upload(MB) : 1.48

Available disk space on upload filesystem : 30.71%

Agent is already started. Will restart the agent

Stopping agent … stopped.

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

——————————————————————

Logs are generated in directory /u01/app/oracle/product/10.2.0/db_1/rdbms_linux.com_BIDB/sysman/log看完上述内容,你们掌握Oracle EM 企业管理器的启动步骤是什么的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注开发云行业资讯频道,感谢各位的阅读!

Oracle EM  企业管理器的启动步骤是什么
(图片来源网络,侵删)

本文从转载,原作者保留一切权利,若侵权请联系删除。

《Oracle EM 企业管理器的启动步骤是什么》来自互联网同行内容,若有侵权,请联系我们删除!

VPS购买请点击我

免责声明:我们致力于保护作者版权,注重分享,被刊用文章因无法核实真实出处,未能及时与作者取得联系,或有版权异议的,请联系管理员,我们会立即处理! 部分文章是来自自研大数据AI进行生成,内容摘自(百度百科,百度知道,头条百科,中国民法典,刑法,牛津词典,新华词典,汉语词典,国家院校,科普平台)等数据,内容仅供学习参考,不准确地方联系删除处理! 图片声明:本站部分配图来自人工智能系统AI生成,觅知网授权图片,PxHere摄影无版权图库和百度,360,搜狗等多加搜索引擎自动关键词搜索配图,如有侵权的图片,请第一时间联系我们,邮箱:ciyunidc@ciyunshuju.com。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!

目录[+]