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

相关文章

SpringBoot+Docker+Graylog 如何让错误自动报警

《SpringBoot+Docker+Graylog如何让错误自动报警》SpringBoot默认使用SLF4J与Logback,支持多日志级别和配置方式,可输出到控制台、文件及远程服务器,集成ELK... 目录01 Spring Boot 默认日志框架解析02 Spring Boot 日志级别详解03 Sp

SQL Server配置管理器无法打开的四种解决方法

《SQLServer配置管理器无法打开的四种解决方法》本文总结了SQLServer配置管理器无法打开的四种解决方法,文中通过图文示例介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的... 目录方法一:桌面图标进入方法二:运行窗口进入检查版本号对照表php方法三:查找文件路径方法四:检查 S

Python中Tensorflow无法调用GPU问题的解决方法

《Python中Tensorflow无法调用GPU问题的解决方法》文章详解如何解决TensorFlow在Windows无法识别GPU的问题,需降级至2.10版本,安装匹配CUDA11.2和cuDNN... 当用以下代码查看GPU数量时,gpuspython返回的是一个空列表,说明tensorflow没有找到

nginx启动命令和默认配置文件的使用

《nginx启动命令和默认配置文件的使用》:本文主要介绍nginx启动命令和默认配置文件的使用,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录常见命令nginx.conf配置文件location匹配规则图片服务器总结常见命令# 默认配置文件启动./nginx

SpringBoot排查和解决JSON解析错误(400 Bad Request)的方法

《SpringBoot排查和解决JSON解析错误(400BadRequest)的方法》在开发SpringBootRESTfulAPI时,客户端与服务端的数据交互通常使用JSON格式,然而,JSON... 目录问题背景1. 问题描述2. 错误分析解决方案1. 手动重新输入jsON2. 使用工具清理JSON3.

Nexus安装和启动的实现教程

《Nexus安装和启动的实现教程》:本文主要介绍Nexus安装和启动的实现教程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、Nexus下载二、Nexus安装和启动三、关闭Nexus总结一、Nexus下载官方下载链接:DownloadWindows系统根

Java中实现线程的创建和启动的方法

《Java中实现线程的创建和启动的方法》在Java中,实现线程的创建和启动是两个不同但紧密相关的概念,理解为什么要启动线程(调用start()方法)而非直接调用run()方法,是掌握多线程编程的关键,... 目录1. 线程的生命周期2. start() vs run() 的本质区别3. 为什么必须通过 st

Oracle修改端口号之后无法启动的解决方案

《Oracle修改端口号之后无法启动的解决方案》Oracle数据库更改端口后出现监听器无法启动的问题确实较为常见,但并非必然发生,这一问题通常源于​​配置错误或环境冲突​​,而非端口修改本身,以下是系... 目录一、问题根源分析​​​二、保姆级解决方案​​​​步骤1:修正监听器配置文件 (listener.

MySQL版本问题导致项目无法启动问题的解决方案

《MySQL版本问题导致项目无法启动问题的解决方案》本文记录了一次因MySQL版本不一致导致项目启动失败的经历,详细解析了连接错误的原因,并提供了两种解决方案:调整连接字符串禁用SSL或统一MySQL... 目录本地项目启动报错报错原因:解决方案第一个:第二种:容器启动mysql的坑两种修改时区的方法:本地

如何解决Druid线程池Cause:java.sql.SQLRecoverableException:IO错误:Socket read timed out的问题

《如何解决Druid线程池Cause:java.sql.SQLRecoverableException:IO错误:Socketreadtimedout的问题》:本文主要介绍解决Druid线程... 目录异常信息触发场景找到版本发布更新的说明从版本更新信息可以看到该默认逻辑已经去除总结异常信息触发场景复