`

Oracle 11gR2执行DBCA报错误

阅读更多


环境:
OS:Red Hat Linux As 5
DB:11.2.0.1

今天在安装好11gR2软件后准备通过dbca创建数据库,执行dbca的时候包如下错误:
[Oracle@primary ~]$dbca
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xa44b13a8, pid=2973, tid=3086891216
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [libnnz11.so+0x3c3a8]
#
# An error report file with more information is saved as hs_err_pid2973.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp


步骤如下:
1.下载p8670579_112010_LINUX.zip,并上传到服务器上的目录/ftp

2.确认是否配置了ORACLE_HOME
[oracle@primary]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1

3.检查perl的版本,需要5.00503以上的版本
[oracle@primary 8670579]$ perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi

4.Verify the OUI Inventory.
$opatch lsinventory

5.解压缩补丁包
$unzip p8670579_112010_LINUX.zip

6.确保数据库已经停止
$cd /ftp/8670579
$opatch apply


README.txt里的说明如下:

[oracle@primary 8670579]$ more README.txt
=========================================================================
Interim Patch for Base Bug: 8670579
=========================================================================
Date: 25th February 2010
-------------------------------------------------------------------------
Platform Patch for      : Linux x86
Product Patched         : NETWORK
Product Version #       : 11.2.0.1
RAC Rolling Installable : YES
Online Installable      : NO
Bugs Fixed by this patch:
-------------------------
  8670579 - DBBETA :NETCA/DBCA FAILED WITH HOTSPOT VIRTUAL MACHINE
Patch Preinstall Steps
----------------------
1. For non-recommended patches, you must have the exact symptoms
   described in the service request (SR).
2. Confirm the version of Perl installed and configured for the ORACLE_HOME.
Oracle requires that all customers have at least Perl 5.00503 installed
and configured for patching activities inside the ORACLE_HOME.  Follow
these steps to check the Perl version for the ORACLE_HOME being patched:
  - source the ORACLE_HOME environment
  - execute "perl -v"
  - verify that the returned version of Perl is 5.00503 or higher
If the Perl configured for the ORACLE_HOME is not at 5.00503 or
higher, follow the directions in this metalink note to update to
a more recent version:
https://metalink.oracle.com/metalink/plsql/ml2_documents.showNOT?p_id=189489.1
3. Verify the OUI Inventory.
OPatch needs access to a valid OUI inventory to apply patches.
Validate the OUI inventory with the following command:
  % opatch lsinventory
If the command errors out, contact Oracle Support and work to validate
and verify the inventory setup before proceeding.
4. Review and download the latest version of OPatch.
Oracle recommends that all customers be on the latest version of OPatch.
Please review the following metalink note and follow the instructions
to update to the latest version if needed:
https://metalink.oracle.com/metalink/plsql/ml2_documents.showNOT?p_id=224346.1
5. Confirm executables appear in your system PATH.
The patching process will use the unzip and the opatch executables.  After
sourcing the ORACLE_HOME environment, confirm both of these exist before
continuing:
  - "which opatch"
  - "which unzip"
If either of these executables do not show in the PATH, correct the problem
before proceeding.
6. Create a location for storing the unzipped patch.  This location
will be referred to later in the document as <PATCH_TOP>.
7. Unzip the patch zip file into the <PATCH_TOP>.
  unzip -d <PATCH_TOP>  <ZIP_FILE>
8. Shut down services running from the ORACLE_HOME.
Before applying this patch, do a clean shut down of all services
running from the ORACLE_HOME.
  (a) In a non-RAC environment:
  Shut down all services that are running from this ORACLE_HOME.
  Confirm the return status from each shutdown command to verify
  the shutdown is successful and there are no errors.
  (b) In a RAC environment:
  For each node in the RAC system, shut down the services for
  the specific machine that are running from the ORACLE_HOME.
  OPatch will be used on each node in the RAC system one at
  a time.  If this patch is not rolling RAC installable treat
  it as a non-RAC environment and shut down all services.
  As an example, in the case of a two node RAC system:
     1. Stop instances running on node 1.
     2. Run 'opatch apply <PATCH_TOP>/8670579' on node 1.
     3. When the apply finishes, opatch asks for confirmation
        before going on to apply the patch to node 2.
     4. Start instances on node 1.
     5. Stop instances running on node 2.
     6. Ask opatch to continue to applying the patch to node 2.
     7. Start instances on node 2.     
9.  Apply pre-requisite updates.

Patch Installation Steps:
-------------------------
1.  Set your current directory to the directory where the patch is located.
% cd <PATCH_TOP>/8670579
2.  Apply the patch.
Use the following command to apply the patch to the ORACLE_HOME:
% opatch apply
When OPatch starts, it will validate the patch and make sure there
are no conflicts with the software already installed in the ORACLE_HOME.
OPatch categorizes two types of conflicts:
  (a) Conflicts with a patch already applied to the ORACLE_HOME
  In this case, please stop the patch installation and contact
  Oracle Support Services.
  (b) Conflicts with subset patch already applied to the ORACLE_HOME
  In this case, please continue the install, as the new patch
  contains all the fixes from the existing patch in the ORACLE_HOME.
  The subset patch will automatically be rolled back prior to the
  installation of the new patch.
Patch Post Install Instructions:
--------------------------------

Patch Deinstallation Instructions:
----------------------------------
1. Make sure to follow the same pre-install steps when deinstalling
a patch.  This includes verifying the inventory and shutting down
any services running from the ORACLE_HOME / machine before rolling
the patch back.
2. Change to the directory where the patch was unzipped.
  % cd <PATCH_TOP>/8670579
3. Run OPatch to deinstall the patch.
  % opatch rollback -id 8670579

注意opatch命令是在$ORACLE_HOME/OPatch/目录下,环境变量PATH中没有包含该目录的话,直接敲入opatch命令是提示找不到改命令的,这时需要将该目录加入到PATH中.

-- The End --
  • 大小: 50.8 KB
分享到:
评论

相关推荐

    构建最高可用Oracle数据库系统 Oracle 11gR2 RAC管理、维护与性能优化

    10.6.1使用DBCA配置EM工具 10.6.2使用EMCA创建EM工具 10.6.3 EM工具的日常管理 10.7 CHM集群健康监控 10.7.1 CHM工具介绍 10.7.2 CHM支持的平台及版本 10.7.3 CHM的进程和组件 10.7.4 CHM的基本特性 10.7.5 ...

    Oracle11gR2 部署手册

    Oracle11gR2是Oracle公司的一个重要数据库版本,它提供了高效、稳定的数据管理解决方案。在部署Oracle11gR2数据库时,首先要确保硬件环境和操作系统满足要求。本手册将详细阐述如何在Linux(以CentOS 5.5为例)和...

    Oracle 11gr2的完全卸载

    2. **停止所有 Oracle 相关服务:** 这一步骤非常重要,需要通过 Windows 服务管理器或者使用 `lsnrctl stop` 和 `dbca -silent -deconfig -sourceDB` 命令来确保所有 Oracle 服务已停止运行。 3. **确认卸载路径:*...

    Oracle 11gR1 RAC On Windows 2003

    以上是Oracle 11gR1 RAC在Windows 2003上部署的详细步骤,每个环节都需要仔细规划和执行,以确保RAC环境的稳定性和高性能。同时,由于Windows 2003已过支持期,建议在更现代的操作系统上实施RAC,以获取更好的安全性...

    Oracle 11gR2 for RHEL6 安装手册含备份方案超详细-魏伟新版

    ### Oracle 11gR2 for RHEL6 安装手册含备份方案超详细解析 #### 一、系统环境概述 在本章节中,我们将会详细介绍Oracle 11gR2在RHEL6上的安装环境配置。为了确保Oracle数据库能够稳定运行,我们需要对操作系统...

    suse11sp1安装oracle11gR2_双机RAC

    - 安装和配置助手(如OUI、DBCA、NETCA)在Oracle 11gR2中得到了增强,以便在卸载RAC组件时可以彻底清除所有相关配置。 ### ASM的改进与特性 1. **智能化数据布局** - ASM配置单元允许磁盘I/O子系统受益于磁盘...

    oracle11gr2 chm

    "oracle11gr2 chm"很可能是Oracle 11g R2的相关技术手册或指南,旨在帮助用户理解并操作这个数据库系统。 在Oracle 11g R2中,关键的知识点包括: 1. **安装与配置**:Oracle 11g R2的安装过程涉及选择适当的安装...

    Linux oracle 11GR2 安装

    在本文中,我们将详细探讨如何在Linux环境下安装Oracle 11g Release 2 (11GR2)数据库。Oracle数据库是企业级的关系型数据库管理系统,广泛应用于各种业务场景。以下是安装过程的关键步骤: 1. **下载Oracle软件**:...

    ORACLE11GR_SETUP

    Oracle 11gR2(Release 2)是Oracle数据库的一个重要版本,它在11g的基础上进行了一系列的增强和优化,特别是在高可用性、性能、安全管理等方面有着显著提升。"Step by Step Install Oracle 11gR2 RAC for AS5U3 64...

    Oracle11gR2forLinux安装 .doc

    - **软件包**:需要下载Oracle Database 11gR2的安装包,例如`linuxamd64_11gR2_database_1of2.zip`和`linuxamd64_11gR2_database_2of2.zip`。 2. **安装步骤** - **设置环境变量**:配置`ORACLE_BASE`, `ORACLE_...

    ( CentOS 6安装Oracle 11gR2数据库.doc )

    在本教程中,我们将详细介绍如何在CentOS 6操作系统上安装Oracle 11g Release 2 (11gR2) 数据库。首先,确保你的系统是CentOS 6,并且满足Oracle 11gR2的硬件和软件要求。 1. **安装前准备** 在开始安装之前,需要...

    oracle11gr2 Linux安装说明

    Oracle 11g Release 2 (11gR2) 是 Oracle 公司的一个数据库管理系统,主要用于企业级数据存储和管理。在 Linux 操作系统上安装 Oracle 11gR2 需要遵循一系列步骤,确保系统满足必要的硬件和软件要求。以下是详细的...

    rpms_for_oracle11gR2

    这个“rpms_for_oracle11gR2”的压缩包很可能包含了在Linux环境下安装Oracle 11g R2所需的RPM(Red Hat Package Manager)软件包。在Linux系统中,RPM用于管理和安装软件,它提供了方便的包管理机制,使得安装、升级...

    Oracle11gR2forLinux安装 (1).doc

    【Oracle11gR2 for Linux安装】 Oracle数据库11g Release 2是Oracle公司推出的一款企业级数据库管理系统,尤其适合在Linux操作系统上部署。在Linux Red Hat Enterprise 5.3 64位环境下安装Oracle11gR2,需要进行一...

    Oracle-RAC11gr2(11g-release-2)LINUX 安装指南中文版

    ### Oracle-RAC11gr2(Linux)安装指南中文版:关键知识点详解 #### 一、引言 本文档详细介绍了Oracle RAC 11g Release 2 (11gr2) 在Red Hat Enterprise Linux 5 (RHEL5) 上的安装流程。此版本引入了许多新特性与改进...

    Oracle Database 11gR2 安装文档

    Oracle Database 11gR2是甲骨文公司开发的一套数据库管理系统,具有高度的可靠性、可伸缩性和安全性,广泛应用于企业级应用程序中。本文档主要讲述了Oracle 11g R2数据库在单节点服务器上的安装流程,包括集群件GRID...

    redhat5.4安装oracle11gR2详细步骤

    Oracle 11g R2的安装文件通常包括两个ZIP文件,`linux_11gR2_database_1of2.zip`和`linux_11gR2_database_2of2.zip`。将这两个文件通过SSH传输到服务器的`/usr/local/oracle`目录中。然后使用`unzip`命令解压缩它们...

    Centos7上安装oracle11gR2

    在CentOS7上安装Oracle 11g R2是一个复杂的过程,涉及到多个步骤,包括环境配置、依赖包安装以及数据库的设置。以下是安装过程中需要掌握的关键知识点: 1. **系统环境**:首先确保你的系统是64位的CentOS7。在安装...

    在redhat5上安装Oracle 11gR2

    在Red Hat Enterprise Linux 5 (RHEL5)上安装Oracle 11g Release 2 (11gR2)是一项复杂的过程,涉及到多个步骤和注意事项。以下是对整个过程的详细说明: 1. **操作系统准备**: - **RHEL5 64位**:Oracle 11gR2...

Global site tag (gtag.js) - Google Analytics