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

时间: 2024-08-30 04:37:27

oem 无法启动,报not found错误的相关文章

oracle数据库启动报ORA-00704 ORA-39714错误解决

数据库启动失败,报ORA-00704.ORA-39714错误 [oracle@www.xifenfei.com ~]$ sqlplus / as sysdba   SQL*Plus: Release 12.1.0.1.0 Production on Thu Aug 7 08:15:35 2014   Copyright (c) 1982, 2013, Oracle.  All rights reserved.     Connected to: Oracle Database 12c Enter

windows 服务-(急)win7 C# .NET Framework 4.0 windows服务启动报错1053

问题描述 (急)win7 C# .NET Framework 4.0 windows服务启动报错1053 我本地有两个windows服务,一个是2.0框架,一个4.5框架.2.0框架的服务用对应的方法去安装启动没有任何问题(C:WindowsMicrosoft.NETFrameworkv2.0.50727InstallUtil.exe).4.5框架的项目用4.0(C:WindowsMicrosoft.NETFrameworkv4.0.30319InstallUtil.exe)安装成功,启动报10

memcached 编程-memcached启动报错,之前还好用的

问题描述 memcached启动报错,之前还好用的 之前用很很长时间memcached没有问题,今天启动时突然报错,在服务中启动报错.错误1053:服务没有即使响应启动或控制请求,用memcached.exe -d start启动,报错 failed to start service , 重新安装服务好几次还是不行,跪求大神赐教 解决方案 C:/windows/system32/下找到cmd.exe,之后右键"以管理员身份运行"就好了

mysql 数据库-启动mysql服务报ERROR:1067错误

问题描述 启动mysql服务报ERROR:1067错误 这里是日志: 2014-09-01T06:12:49.816554Z 0 [Note] Plugin 'FEDERATED' is disabled. 2014-09-01T06:12:49.818554Z 0 [Note] InnoDB: Using atomics to ref count buffer pool pages 2014-09-01T06:12:49.820554Z 0 [Note] InnoDB: Mutexes and

启动tomcat报奇怪的错误,求拯救,在线等

问题描述 启动tomcat报奇怪的错误,求拯救,在线等 eclipse做SSH集成中,刚写Struts2,还没写几笔呢,代码都是没错的,然后启动了下tomcat就不行了,报这个异常java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils,百度了半天找不到什么解决办法,很多回答说是jar有问题,我于是把jar都删除了,去官网上新下载了一份热气腾腾的新jar,拷回去再启动tomcat依旧是这个报错,这是为什么啊? 上图提示有个ja

启动servers-myeclipse 启动Servers 报javaw命令错误

问题描述 myeclipse 启动Servers 报javaw命令错误 之前项目好好的,突然由此不知道搞了啥之后,启动Servers的weblogic就报javaw命令有问题,而且在这个项目里面运行main方法的java类也报错,但是如果新建一个java项目,启动main方法不报错,不知道那位可以帮忙解决一下问题 解决方案 http://blog.sina.com.cn/s/blog_4a78a60701000ecr.html 解决方案二: 这个javaw是在你安装的jdk里的一个命令,你去那里

mysql-MySql服务启动报1067错误

问题描述 MySql服务启动报1067错误 错误日志: F:1110mysql3380inmysqld.exe: File 'F:1110mysql3380logsmysql-bin".index' not found (Errcode: 22 - Invalid argument) 2015-11-24 21:49:09 6260 [ERROR] Aborting 2015-11-24 21:49:09 6260 [Note] Binlog end 2015-11-24 21:49:09 62

spring mvc-springMVC+maven,启动报报JNDI的错误,但我没有用到JNDI

问题描述 springMVC+maven,启动报报JNDI的错误,但我没有用到JNDI 要修改一个项目,用的技术有springMVC,maven等,部署到tomcat下,启动时报错.项目中使用的连接池连接数据库,没有使用JNDI,为什么启动时老是去查找JNDI? applicationContext.xml中定义了项目的环境: location="classpath*:/application.properties" /> <!-- Tomcat JDBC连接池 -->

tomcat-Tomcat启动报如下错误:

问题描述 Tomcat启动报如下错误: 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/hckaccountmana

tomcat启动报错啊,不知道哪里的错误。。

问题描述 tomcat启动报错啊,不知道哪里的错误.. 有哪位大神知道吗 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/llsfw-web]] at org.apache.catalina.util.Lifec