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 EM 无法启动 解决方案 #### 一、问题背景 在Oracle 10g环境中,用户可能会遇到Oracle Enterprise Manager (OEM) 无法正常启动的问题。这通常与网络配置、服务状态或EM库(EM Repository)的状态有关。本...
### Oracle EM 无法正常登录解决方案 #### 问题背景与描述 在使用Oracle 10G的企业管理器(Enterprise Manager, 简称EM)时,可能会遇到无法正常登录的情况。具体表现为,在浏览器地址栏输入`...
* 降低错误概率:自动启动 Oracle 服务可以减少人为错误的可能性,从而降低错误概率。 设置 Oracle 服务自动启动 要设置 Oracle 服务自动启动,需要遵循以下步骤: 1. 打开 Administration Assistant For Windows...
1. **ORA-01034: Oracle not available**:此错误表明Oracle服务不可用,可能是由于服务没有启动、数据库实例损坏或其他配置问题导致。 2. **ORA-27101: shared memory realm does not exist**:此错误提示系统...
"Oracle EM 连接问题解决方案" Oracle Enterprise Manager(EM)是Oracle数据库管理的一种图形化工具,能够对数据库进行管理和监控。但有时候,我们可能会遇到EM连接不上的问题,本文将为您提供一些建议来解决这个...
【Oracle EM重建】是指在Oracle 11g R2环境中,由于各种原因(如系统故障、硬件更换或软件升级)导致企业管理器(Enterprise Manager,简称EM)无法正常工作时,需要进行的一系列恢复操作。Oracle EM是Oracle数据库...
### 解决Oracle DB Console orcl 无法启动及错误码2问题 #### 一、问题概述 在Oracle数据库环境中,DB Console或cl(OracleDBConsoleorcl)是一个重要的管理工具,用于监控和管理Oracle实例。然而,在某些情况下,...
在Oracle企业管理器(Oracle Enterprise Manager,简称Oracle EM)中创建表空间是数据库管理员进行日常管理的重要任务之一。本篇文章将详细介绍如何使用Oracle EM创建表空间。 首先,我们需要了解创建表空间的基本...
### Oracle监听无法启动问题解析与解决方案 在Oracle数据库管理中,遇到监听器(Listener)无法启动的情况是非常常见的问题之一。监听器是Oracle网络组件的重要部分,主要负责接收客户端的连接请求,并将其转发到...
### Environment variable ORACLE_UNQNAME not defined 错误解决 在Oracle数据库管理及维护过程中,可能会遇到“Environment variable ORACLE_UNQNAME not defined”这样的错误提示。本文将围绕这一问题展开详细...
在使用 Oracle 10g 数据库时,可能会遇到“ORA-01034: ORACLE not available”和“ORA-27101: shared memory realm does not exist”等错误。这些问题通常出现在启动数据库服务时,比如执行 `startup` 命令之后出现...
### Linux平台下启动Oracle 11g EM控制台的关键知识点 #### 一、Oracle EM(Enterprise Manager)控制台概述 Oracle Enterprise Manager (EM) 是一套综合管理解决方案,用于监控、管理和优化 Oracle 数据库及...
在使用Navicat Premium 15这样的数据库管理工具连接Oracle数据库时,有时会遇到“oracle library is not loaded”的错误提示,这通常是由于缺少或不兼容的Oracle客户端库文件导致的。Oracle Call Interface (OCI) 是...
5. **故障排查**:EM的警报和日志功能有助于定位和解决问题,如数据库错误、性能下降等。 6. **备份恢复**:EM支持计划备份和恢复操作,确保数据安全。 7. **数据库配置**:EM允许修改数据库参数,如内存分配、表...
- 如果服务无法启动,检查错误日志,通常位于`%SystemRoot%\System32\winevt\Logs`目录下。 - 检查Oracle环境变量是否正确设置,如`ORACLE_HOME`、`PATH`、`TNS_ADMIN`等。 - 确保Oracle软件已完整安装,并且没有...
### Centos 7.4 配置 Oracle 自启动详解 #### 一、概述 在Centos 7.4系统上配置Oracle数据库自启动是一项重要的管理任务。通过这项配置,可以在服务器重启后自动启动Oracle实例和服务,确保应用程序和服务的连续...
### Oracle 10g启动后报ORA-16038错误的解决方法 #### 错误概述 在启动Oracle 10g数据库时遇到ORA-16038错误,该错误通常与归档日志操作有关。具体错误信息为: ``` ORA-16038: log 1 sequence #230 cannot be ...