我的编程空间,编程开发者的网络收藏夹
学习永远不晚

重建EM

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

重建EM

问题:

[oracle@CRM ~]$ emctl start dbconsole
TZ set to US/Pacific
OC4J Configuration issue. /home/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_CRM_CRM not found.


解决方法:重建em

用到三个指令

/*重新配置dbcosole
emca -repos drop
emca -repos create
emca -config dbcontrol db

[oracle@CRM ~]$ emca -repos drop

STARTED EMCA at Mar 6, 2012 2:59:55 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: CRM
Listener port number: 1521
Password for SYS user:  
Password for SYSMAN user: 

Do you wish to continue? [yes(Y)/no(N)]: Y
Mar 6, 2012 3:01:32 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_2012-03-06_02-59-55-PM.log.
Mar 6, 2012 3:01:33 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Mar 6, 2012 3:01:33 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /home/app/oracle/product/10.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CRM)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=CRM))) -repos_user SYSMAN -action drop -verbose -output_file /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_repos_drop_2012-03-06_03-01-33-PM.log 
Mar 6, 2012 3:01:33 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Mar 6, 2012 3:01:33 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_repos_drop_<date>.log for more details.
Mar 6, 2012 3:01:33 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_2012-03-06_02-59-55-PM.log for more details.
Could not complete the configuration. Refer to the log file at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_2012-03-06_02-59-55-PM.log for more details.
[oracle@CRM ~]$ emca -repos create

STARTED EMCA at Mar 6, 2012 3:01:47 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: CRM
Listener port number: 1521
Password for SYS user:  
Password for SYSMAN user: 

Do you wish to continue? [yes(Y)/no(N)]: Y
Mar 6, 2012 3:01:58 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_2012-03-06_03-01-47-PM.log.
Mar 6, 2012 3:01:58 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 6, 2012 3:01:58 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Mar 6, 2012 3:01:58 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_repos_create_<date>.log for more details.
Mar 6, 2012 3:01:58 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_2012-03-06_03-01-47-PM.log for more details.
Could not complete the configuration. Refer to the log file at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_2012-03-06_03-01-47-PM.log for more details.
[oracle@CRM ~]$ emca -config dbcontrol db

STARTED EMCA at Mar 6, 2012 3:02:10 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database SID: CRM
Listener port number: 1521
Password for SYS user:  
Password for DBSNMP user:  
Password for SYSMAN user:  
Email address for notifications (optional): 
Outgoing Mail (SMTP) server for notifications (optional): 
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /home/app/oracle/product/10.2.0/db_1

Database hostname ................ CRM
Listener port number ................ 1521
Database SID ................ CRM
Email address for notifications ............... 
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Mar 6, 2012 3:02:26 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /home/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/CRM/emca_2012-03-06_03-02-10-PM.log.
Mar 6, 2012 3:02:32 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Mar 6, 2012 3:04:10 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Mar 6, 2012 3:04:10 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://CRM:5500/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Mar 6, 2012 3:04:10 PM



免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

重建EM

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

2024-04-02

[Oracle] oralce 11.2.0.4手动创建EM

这里使用的版本是RedHat7.0,Oracle 11.2.0.4 1.dbconsole启动失败 [oracle@redhat75 ~]$ emctl start dbconsole Environment variable ORACLE_UNQNAME
[Oracle] oralce 11.2.0.4手动创建EM
2017-09-29
2024-04-02
2024-04-02
2024-04-02

什么是em

这篇文章主要介绍“什么是em”,在日常操作中,相信很多人在什么是em问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”什么是em”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!em是何物? em指字体高,任意浏
2023-06-08

oracle中em是什么

oracle中em是企业管理器,是Enterprise Manager的缩写。可以通过oracle EM使用Web界面来监控,管理,维护Oracle数据库,DBA可以从任何可以访问web应用的位置通过OEM来对数据库行各种管理和监控。是Or
2023-07-10

Python3 使用smtplib和em

SMTP (Simple Mail Transfer Protocol)  邮件传送代理 (Mail Transfer Agent,MTA) 程序使用SMTP协议来发送电邮到接收者的邮件服务器。SMTP协议只能用来发送邮件,不能用来接收邮件
2023-01-31

编程热搜

目录