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

相关文章

深度解析Java @Serial 注解及常见错误案例

《深度解析Java@Serial注解及常见错误案例》Java14引入@Serial注解,用于编译时校验序列化成员,替代传统方式解决运行时错误,适用于Serializable类的方法/字段,需注意签... 目录Java @Serial 注解深度解析1. 注解本质2. 核心作用(1) 主要用途(2) 适用位置3

Debian 13升级后网络转发等功能异常怎么办? 并非错误而是管理机制变更

《Debian13升级后网络转发等功能异常怎么办?并非错误而是管理机制变更》很多朋友反馈,更新到Debian13后网络转发等功能异常,这并非BUG而是Debian13Trixie调整... 日前 Debian 13 Trixie 发布后已经有众多网友升级到新版本,只不过升级后发现某些功能存在异常,例如网络转

SpringBoot通过main方法启动web项目实践

《SpringBoot通过main方法启动web项目实践》SpringBoot通过SpringApplication.run()启动Web项目,自动推断应用类型,加载初始化器与监听器,配置Spring... 目录1. 启动入口:SpringApplication.run()2. SpringApplicat

解决Nginx启动报错Job for nginx.service failed because the control process exited with error code问题

《解决Nginx启动报错Jobfornginx.servicefailedbecausethecontrolprocessexitedwitherrorcode问题》Nginx启... 目录一、报错如下二、解决原因三、解决方式总结一、报错如下Job for nginx.service failed bec

SpringBoot3匹配Mybatis3的错误与解决方案

《SpringBoot3匹配Mybatis3的错误与解决方案》文章指出SpringBoot3与MyBatis3兼容性问题,因未更新MyBatis-Plus依赖至SpringBoot3专用坐标,导致类冲... 目录SpringBoot3匹配MyBATis3的错误与解决mybatis在SpringBoot3如果

Spring Boot项目如何使用外部application.yml配置文件启动JAR包

《SpringBoot项目如何使用外部application.yml配置文件启动JAR包》文章介绍了SpringBoot项目通过指定外部application.yml配置文件启动JAR包的方法,包括... 目录Spring Boot项目中使用外部application.yml配置文件启动JAR包一、基本原理

解决若依微服务框架启动报错的问题

《解决若依微服务框架启动报错的问题》Invalidboundstatement错误通常由MyBatis映射文件未正确加载或Nacos配置未读取导致,需检查XML的namespace与方法ID是否匹配,... 目录ruoyi-system模块报错报错详情nacos文件目录总结ruoyi-systnGLNYpe

nginx配置错误日志的实现步骤

《nginx配置错误日志的实现步骤》配置nginx代理过程中,如果出现错误,需要看日志,可以把nginx日志配置出来,以便快速定位日志问题,下面就来介绍一下nginx配置错误日志的实现步骤,感兴趣的可... 目录前言nginx配置错误日志总结前言在配置nginx代理过程中,如果出现错误,需要看日志,可以把

解决hive启动时java.net.ConnectException:拒绝连接的问题

《解决hive启动时java.net.ConnectException:拒绝连接的问题》Hadoop集群连接被拒,需检查集群是否启动、关闭防火墙/SELinux、确认安全模式退出,若问题仍存,查看日志... 目录错误发生原因解决方式1.关闭防火墙2.关闭selinux3.启动集群4.检查集群是否正常启动5.

Springboot项目启动失败提示找不到dao类的解决

《Springboot项目启动失败提示找不到dao类的解决》SpringBoot启动失败,因ProductServiceImpl未正确注入ProductDao,原因:Dao未注册为Bean,解决:在启... 目录错误描述原因解决方法总结***************************APPLICA编