oem 无法启动,报not found错误

2024-05-06 00:08
文章标签 启动 无法 found 错误 oem

本文主要是介绍oem 无法启动,报not found错误,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!



oracle11gr2安装完,建完库之后,启动em 报OC4J_DBConsole_source_ora11g not found的错误,em起不来。

[oracle@source ~]$ emctl start dbconsole
OC4J Configuration issue. /oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_source_ora11g not found. 

由于是新环境,重新创建资料档案库,并重新配置数据库control

 
  1. [oracle@source admin]$ emca -repos drop   --删除当前的资料库 
  2.  
  3. STARTED EMCA at Dec 8, 2012 1:13:13 PM 
  4. EM Configuration Assistant, Version 11.2.0.0.2 Production 
  5. Copyright (c) 2003, 2005, Oracle.  All rights reserved. 
  6.  
  7. Enter the following information: 
  8. Database SID: ora11g 
  9. Listener port number: 1521 
  10. Password for SYS user:   
  11. Password for SYSMAN user:   
  12.  
  13. Do you wish to continue? [yes(Y)/no(N)]: yes 
  14. Dec 8, 2012 1:13:47 PM oracle.sysman.emcp.EMConfig perform 
  15. INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ora11g/emca_2012_12_08_13_13_12.log. 
  16. Dec 8, 2012 1:14:08 PM oracle.sysman.emcp.EMReposConfig invoke 
  17. INFO: Dropping the EM repository (this may take a while) ... 
  18. Dec 8, 2012 1:20:13 PM oracle.sysman.emcp.EMReposConfig invoke 
  19. INFO: Repository successfully dropped 
  20. Enterprise Manager configuration completed successfully 
  21. FINISHED EMCA at Dec 8, 2012 1:20:13 PM 
  22. [oracle@source admin]$ emca -repos create  --创建新的资料库 
  23.  
  24. STARTED EMCA at Dec 8, 2012 1:20:42 PM 
  25. EM Configuration Assistant, Version 11.2.0.0.2 Production 
  26. Copyright (c) 2003, 2005, Oracle.  All rights reserved. 
  27.  
  28. Enter the following information: 
  29. Database SID: ora11g 
  30. Listener port number: 1521 
  31. Password for SYS user:   
  32. Password for SYSMAN user:   
  33.  
  34. Do you wish to continue? [yes(Y)/no(N)]: Y 
  35. Dec 8, 2012 1:21:02 PM oracle.sysman.emcp.EMConfig perform 
  36. INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ora11g/emca_2012_12_08_13_20_41.log. 
  37. Dec 8, 2012 1:21:03 PM oracle.sysman.emcp.EMReposConfig createRepository 
  38. INFO: Creating the EM repository (this may take a while) ... 
  39. Dec 8, 2012 1:32:44 PM oracle.sysman.emcp.EMReposConfig invoke 
  40. INFO: Repository successfully created 
  41. Enterprise Manager configuration completed successfully 
  42. FINISHED EMCA at Dec 8, 2012 1:32:44 PM 
  43. [oracle@source admin]$ emca -config dbcontrol db   --配置database control 
  44.  
  45. STARTED EMCA at Dec 8, 2012 1:55:39 PM 
  46. EM Configuration Assistant, Version 11.2.0.0.2 Production 
  47. Copyright (c) 2003, 2005, Oracle.  All rights reserved. 
  48.  
  49. Enter the following information: 
  50. Database SID: ora11g 
  51. Database Control is already configured for the database ora11g 
  52. You have chosen to configure Database Control for managing the database ora11g 
  53. This will remove the existing configuration and the default settings and perform a fresh configuration 
  54. Do you wish to continue? [yes(Y)/no(N)]: Y 
  55. Listener ORACLE_HOME [ /oracle/product/10.2.0/db_1 ]:  
  56. Password for SYS user:   
  57. Password for DBSNMP user:   
  58. Password for SYSMAN user:   
  59. Email address for notifications (optional):  
  60. Outgoing Mail (SMTP) server for notifications (optional):  
  61. ----------------------------------------------------------------- 
  62.  
  63. You have specified the following settings 
  64.  
  65. Database ORACLE_HOME ................ /oracle/product/10.2.0/db_1 
  66.  
  67. Local hostname ................ source 
  68. Listener ORACLE_HOME ................ /oracle/product/10.2.0/db_1 
  69. Listener port number ................ 1521 
  70. Database SID ................ ora11g 
  71. Email address for notifications ...............  
  72. Outgoing Mail (SMTP) server for notifications ...............  
  73.  
  74. ----------------------------------------------------------------- 
  75. Do you wish to continue? [yes(Y)/no(N)]: Y 
  76. Dec 8, 2012 1:56:34 PM oracle.sysman.emcp.EMConfig perform 
  77. INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ora11g/emca_2012_12_08_13_55_38.log. 
  78. Dec 8, 2012 1:56:37 PM oracle.sysman.emcp.util.DBControlUtil stopOMS 
  79. INFO: Stopping Database Control (this may take a while) ... 
  80. Dec 8, 2012 1:57:33 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository 
  81. INFO: Uploading configuration data to EM repository (this may take a while) ... 
  82. Dec 8, 2012 2:00:53 PM oracle.sysman.emcp.EMReposConfig invoke 
  83. INFO: Uploaded configuration data successfully 
  84. Dec 8, 2012 2:01:28 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib 
  85. INFO: Software library configured successfully. 
  86. Dec 8, 2012 2:01:28 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary 
  87. INFO: Deploying Provisioning archives ... 
  88. Dec 8, 2012 2:06:40 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary 
  89. INFO: Provisioning archives deployed successfully. 
  90. Dec 8, 2012 2:06:40 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole 
  91. INFO: Securing Database Control (this may take a while) ... 
  92. Dec 8, 2012 2:07:45 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole 
  93. INFO: Database Control secured successfully. 
  94. Dec 8, 2012 2:07:45 PM oracle.sysman.emcp.util.DBControlUtil startOMS 
  95. INFO: Starting Database Control (this may take a while) ... 
  96. Dec 8, 2012 2:11:38 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration 
  97. INFO: Database Control started successfully 
  98. Dec 8, 2012 2:11:39 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration 
  99. INFO: >>>>>>>>>>> The Database Control URL is https://source:5500/em <<<<<<<<<<< 
  100. Dec 8, 2012 2:20:53 PM oracle.sysman.emcp.EMDBPostConfig invoke 
  101. WARNING:  
  102. ************************  WARNING  ************************ 
  103.  
  104. Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted.  The encryption key has been placed in the file: /oracle/product/10.2.0/db_1/source_ora11g/sysman/config/emkey.ora.   Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.  
  105.  
  106. *********************************************************** 
  107. Enterprise Manager configuration completed successfully 
  108. FINISHED EMCA at Dec 8, 2012 2:20:53 PM 

emca -repos create: 创建新的 Database Control 资料档案库
emca -repos drop: 删除当前的 Database Control 资料档案库
emca -repos recreate: 删除当前的 Database Control 资料档案库并重新创建一个
   
emca -config dbcontrol db:配置数据库的 Database Control
emca -deconfig dbcontrol db:取消数据库的 Database Control

注:
(1)如果服务器上存在多个数据库,必须在启动Database control之前设置ORACLE_SID环境变量.
(2)最好使用静态IP地址来配置服务器.


参考:

http://raugher.blog.51cto.com/3472678/1083406

这篇关于oem 无法启动,报not found错误的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/963031

相关文章

部署Vue项目到服务器后404错误的原因及解决方案

《部署Vue项目到服务器后404错误的原因及解决方案》文章介绍了Vue项目部署步骤以及404错误的解决方案,部署步骤包括构建项目、上传文件、配置Web服务器、重启Nginx和访问域名,404错误通常是... 目录一、vue项目部署步骤二、404错误原因及解决方案错误场景原因分析解决方案一、Vue项目部署步骤

在MySQL执行UPDATE语句时遇到的错误1175的解决方案

《在MySQL执行UPDATE语句时遇到的错误1175的解决方案》MySQL安全更新模式(SafeUpdateMode)限制了UPDATE和DELETE操作,要求使用WHERE子句时必须基于主键或索引... mysql 中遇到的 Error Code: 1175 是由于启用了 安全更新模式(Safe Upd

Android里面的Service种类以及启动方式

《Android里面的Service种类以及启动方式》Android中的Service分为前台服务和后台服务,前台服务需要亮身份牌并显示通知,后台服务则有启动方式选择,包括startService和b... 目录一句话总结:一、Service 的两种类型:1. 前台服务(必须亮身份牌)2. 后台服务(偷偷干

Idea实现接口的方法上无法添加@Override注解的解决方案

《Idea实现接口的方法上无法添加@Override注解的解决方案》文章介绍了在IDEA中实现接口方法时无法添加@Override注解的问题及其解决方法,主要步骤包括更改项目结构中的Languagel... 目录Idea实现接China编程口的方法上无法添加@javascriptOverride注解错误原因解决方

Windows设置nginx启动端口的方法

《Windows设置nginx启动端口的方法》在服务器配置与开发过程中,nginx作为一款高效的HTTP和反向代理服务器,被广泛应用,而在Windows系统中,合理设置nginx的启动端口,是确保其正... 目录一、为什么要设置 nginx 启动端口二、设置步骤三、常见问题及解决一、为什么要设置 nginx

springboot启动流程过程

《springboot启动流程过程》SpringBoot简化了Spring框架的使用,通过创建`SpringApplication`对象,判断应用类型并设置初始化器和监听器,在`run`方法中,读取配... 目录springboot启动流程springboot程序启动入口1.创建SpringApplicat

树莓派启动python的实现方法

《树莓派启动python的实现方法》本文主要介绍了树莓派启动python的实现方法,文中通过图文介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧... 目录一、RASPBerry系统设置二、使用sandroidsh连接上开发板Raspberry Pi三、运

SpringBoot中的404错误:原因、影响及解决策略

《SpringBoot中的404错误:原因、影响及解决策略》本文详细介绍了SpringBoot中404错误的出现原因、影响以及处理策略,404错误常见于URL路径错误、控制器配置问题、静态资源配置错误... 目录Spring Boot中的404错误:原因、影响及处理策略404错误的出现原因1. URL路径错

golang1.23版本之前 Timer Reset方法无法正确使用

《golang1.23版本之前TimerReset方法无法正确使用》在Go1.23之前,使用`time.Reset`函数时需要先调用`Stop`并明确从timer的channel中抽取出东西,以避... 目录golang1.23 之前 Reset ​到底有什么问题golang1.23 之前到底应该如何正确的

Spring常见错误之Web嵌套对象校验失效解决办法

《Spring常见错误之Web嵌套对象校验失效解决办法》:本文主要介绍Spring常见错误之Web嵌套对象校验失效解决的相关资料,通过在Phone对象上添加@Valid注解,问题得以解决,需要的朋... 目录问题复现案例解析问题修正总结  问题复现当开发一个学籍管理系统时,我们会提供了一个 API 接口去