Oracle 11g r2安装完,建完库之后,启动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
[oracle@source admin]$ emca -repos drop --删除当前的资料库
STARTED EMCA at Dec 8, 2012 1:13:13 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ora11g
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: yes
Dec 8, 2012 1:13:47 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ora11g/emca_2012_12_08_13_13_12.log.
Dec 8, 2012 1:14:08 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Dec 8, 2012 1:20:13 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Dec 8, 2012 1:20:13 PM
[oracle@source admin]$ emca -repos create --创建新的资料库
STARTED EMCA at Dec 8, 2012 1:20:42 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ora11g
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: Y
Dec 8, 2012 1:21:02 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ora11g/emca_2012_12_08_13_20_41.log.
Dec 8, 2012 1:21:03 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Dec 8, 2012 1:32:44 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Enterprise Manager configuration completed successfully
FINISHED EMCA at Dec 8, 2012 1:32:44 PM
[oracle@source admin]$ emca -config dbcontrol db --配置database control
STARTED EMCA at Dec 8, 2012 1:55:39 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ora11g
Database Control is already configured for the database ora11g
You have chosen to configure Database Control for managing the database ora11g
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener ORACLE_HOME [ /oracle/product/10.2.0/db_1 ]:
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 ................ /oracle/product/10.2.0/db_1
Local hostname ................ source
Listener ORACLE_HOME ................ /oracle/product/10.2.0/db_1
Listener port number ................ 1521
Database SID ................ ora11g
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Dec 8, 2012 1:56:34 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/cfgtoollogs/emca/ora11g/emca_2012_12_08_13_55_38.log.
Dec 8, 2012 1:56:37 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Dec 8, 2012 1:57:33 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Dec 8, 2012 2:00:53 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Dec 8, 2012 2:01:28 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library configured successfully.
Dec 8, 2012 2:01:28 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Dec 8, 2012 2:06:40 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Dec 8, 2012 2:06:40 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Dec 8, 2012 2:07:45 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Dec 8, 2012 2:07:45 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Dec 8, 2012 2:11:38 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Dec 8, 2012 2:11:39 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is https://source:5500/em <<<<<<<<<<<
Dec 8, 2012 2:20:53 PM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
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.
***********************************************************
Enterprise Manager configuration completed successfully
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地址来配置服务器.
- 大小: 65 KB
分享到:
相关推荐
oracle.sysman.emcp.exception.EMConfigException: 启动 Database Control 时出错 at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:649) at oracle.sysman.emcp.EMDBPostConfig....
Oracle_EM无法启动_解决方案这个文档在其他论坛得到很好的认可,希望对有此问题的朋友有帮助
打开浏览器在地址栏键入 http://pc-name:port/em 打开登录界面,输入用户名和密码、选择登陆身份点击登录企业管理器,报出错误信息:java.lang.Exception Exception in sending Request null
linux启动oracle方法linux启动oracle方法linux启动oracle方法linux启动oracle方法linux启动oracle方法linux启动oracle方法linux启动oracle方法linux启动oracle方法linux启动oracle方法linux启动oracle方法linux启动...
Oracle应用项目——使用OracleEM创建表空间.pdf 学习资料 复习资料 教学资源
解决oracle监听无法启动问题 用该方法 屡试不爽
oracle 10g提示oracle not available
Environment variable ORACLE_UNQNAME not defined错误解决
Oracle 10g IP更改解决EM无法启动; 还在为ip更改后em无法访问烦恼嘛。 有了这个 一切ok。
深刻理解Oracle数据库的启动和关闭,深刻理解Oracle数据库的启动和关闭
最近安装10G,遇到了修改IP之后服务起不来的情况,在网上找了一些文章,对解决问题很有指导意义.
Windows 下 oracle 服务自动启动设置
oracle10g10204 or 10205 处理方法。 单实例数据库应用此patch的方法如下: 1、安装或者升级数据库到10.2.0.4过程中忽略此错误继续安装,数据库的创建不受影响。 2、使用opatch把此补丁应用到oracle安装: 一种...
oracle跨版本导入备份DMP报实际值最大值错误
SQL%NOTFOUND 是一个布尔值。下面通过本文给大家分享oracle数据库中sql%notfound的用法,需要的的朋友参考下吧
oracle手动启动,希望可以减少开机速度慢的问题
oracle监听服务无法启动问题解决,ORA-12541解决办法
EM 的重建管理。oracle 11g r2 一块讨论,共同进步吧,真心不错。
Navicat 远程连接 Oracle 时提示oracle library is not loaded 所需文件
解决有关Oracle安装后服务器无法开启的问题,特别是报错是误码2