[INS-20802] Oracle Net Configuration Assistant failed

        [INS-20802] Oracle Net Configuration Assistant failed。在安装Oracle 11g R2时出现了该错误提示。以前安装的时候没有碰到过类似 的错误。原来是64bit和32bit系统兼容性的问题。如果基于64bit硬件安装32bit 的Linux 和32bit的Oracle 11g,则需要安装patch 8670579。下 面给出patch的安装过程。

一、错误提示     [INS-20802] Oracle Net Configuration Assistant failed .     Cause --  The plug-in failed in its perform method.     Action --  Refer to the logs or contact Oracle Support Services.     Log File Location       /u01/oraInventory/logs/installActions2011-10-27_02_42-57PM.log 

    查看日志文件:     INFO: Oracle Net Services Configuration:     INFO: #     INFO: # An unexpected error has been detected by HotSpot Virtual Machine:     INFO: #     INFO: #  SIGSEGV (0xb) at pc=0xa446a43c, pid=9431, tid=3084382264     INFO: #     INFO: # Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)     INFO: # Problematic frame:     INFO: # C  [libnnz11.so+0x3c45c]     INFO: #     INFO: # An error report file with more information is saved as hs_err_pid9431.log     运行dbca同时也出现错误 二、安装环境     宿主机:Windows 7(64bit) + Vmware server 2.0.2        客户机:Oracle EnterPrise Linux Server release 5.4 (32bit) + Oracle 11g R2(32bit)

三、Oracle 的Bug信息     从metalink 获得下列bug 信息     [ID 942076.1]     X86 DBCA, NETCA GIVE JAVA HOTSPOT ERROR IF ON X86_64 HARDWARE [ID 942076.1]     You are encountering published Bug 8930861, “X86 DBCA, NETCA GIVE JAVA HOTSPOT ERROR IF ON X86_64 HARDWARE”     You have Oracle’s 32-bit 11.2.0.1.0 RDBMS software, a supported 32-bit Linux OS, but you are on 64-bit x86_64 hardware.     the command “cat /proc/cpuinfo” shows:     model name : Quad-Core AMD Opteron(tm) Processor 2356     Solution     1. Please find out if there is any business reason that the 64-bit hardware is only running a     32-bit OS. If not, then Oracle recommends that you re-install a 64-bit OS and 64-bit Oracle to     avoid published Bug 8930861, “X86 DBCA, NETCA GIVE JAVA HOTSPOT ERROR IF ON X86_64 HARDWARE”     2. If there is some business reason that you must use 64-bit hardware running a     32-bit Linux OS, then before you can use the 11gR2 DBCA or NETCA tools, you will need to apply patch 8670579 , “NETCA/DBCA     FAILED WITH HOTSPOT VIRTUAL MACHINE”. You will be downloading and using file p8670579_112010_LINUX.zip     从上面的描述可知,是将32bit的Oracle 和32bit的Linux 安装到了X86_64的硬件之上,所以出现上述问题,建议安装64bit操作系统和64bit     Oracle 。可以解决的办法是安装补丁p8670579_112010_LINUX.zip。补丁下载地址:http://download.csdn.net/source/3253906

四、安装补丁     1、在安装的过程中出现该错误,先不退出安装程序,而是安装补丁文件,再点击安装程序的retry,继续安装即可。     2、如果在安装数据库的过程中不创建数据库,则不会出现该错误提示,而后续使用dbca或netca会触发同样的错误,因此使用dbca或netca        前先安装补丁。     3、安装补丁步骤       

[oracle@orasrv Inst_source]$ cd 8670579/  -->进入到解压路径                                                              
[oracle@orasrv 8670579]$ ls               -->README.txt文件中提供了安装方法,可以参照进行安装补丁,注意环境变量的配置    
etc  files  README.txt                                                                                                   
[oracle@orasrv 8670579]$ /u01/app/oracle/OPatch/opatch apply     -->opatch位置: $ORACLE_HOME/OPatch/opatch              
Invoking OPatch 11.1.0.6.6                                       -->使用opatch apply应用补丁,opatch -help获得帮助信息   
                                                                                                                         
Oracle Interim Patch Installer version 11.1.0.6.6                                                                        
Copyright (c) 2009, Oracle Corporation.  All rights reserved.                                                            
                                                                                                                         
Oracle Home       : /u01/app/oracle                                                                                      
Central Inventory : /u01/oraInventory                                                                                    
   from           : /etc/oraInst.loc                                                                                     
OPatch version    : 11.1.0.6.6                                                                                           
OUI version       : 11.2.0.1.0                                                                                           
OUI location      : /u01/app/oracle/oui                                                                                  
Log file location : /u01/app/oracle/cfgtoollogs/opatch/opatch2011-10-27_17-38-25PM.log                                   
                                                                                                                         
Patch history file: /u01/app/oracle/cfgtoollogs/opatch/opatch_history.txt                                                
                                                                                                                         
--------------------------------------------------------------------------------                                         
The patch has more than one Archive Action but there is no Make Action.                                                  
--------------------------------------------------------------------------------                                         
ApplySession applying interim patch '8670579' to OH '/u01/app/oracle'                                                    
                                                                                                                         
Running prerequisite checks...                                                                                           
                                                                                                                         
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.                         
                                                                                                                         
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.                                    
(Oracle Home = '/u01/app/oracle')                                                                                        
                                                                                                                         
Is the local system ready for patching? [y|n]        -->提示是否将patch应用到本地系统,选y                               
y                                                                                                                        
User Responded with: Y                                                                                                   
Backing up files and inventory (not for auto-rollback) for the Oracle Home                                               
Backing up files affected by the patch '8670579' for restore. This might take a while...                                 
Backing up files affected by the patch '8670579' for rollback. This might take a while...                                
                                                                                                                         
Patching component oracle.network.rsf, 11.2.0.1.0...                                                                     
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/ahseteco.o"                                 
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/am11rkg.o"                                  
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/amsha.o"                                    
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/cpui32.o"                                   
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/sha.o"                                      
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/x931rand.o"                                 
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/am11dkg.o"                                  
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/am931rnd.o"                                 
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/amsharnd.o"                                 
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/ghash.o"                                    
Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/shacomm.o"                                  
Copying file to "/u01/app/oracle/lib/libnnz11.so"                                                                        
ApplySession adding interim patch '8670579' to inventory                                                                 
                                                                                                                         
Verifying the update...                                                                                                  
Inventory check OK: Patch ID 8670579 is registered in Oracle Home inventory with proper meta-data.                       
Files check OK: Files from Patch ID 8670579 are present in Oracle Home.                                                  
                                                                                                                         
The local system has been patched and can be restarted.                                                                  
                                                                                                                         
OPatch succeeded.              -->提示patch已被成功安装                                                                  
[oracle@orasrv 8670579]$ /u01/app/oracle/OPatch/opatch lsinventory  -->查看系统中已安装的patch                           
Invoking OPatch 11.1.0.6.6                                                                                               
                                                                                                                         
Oracle Interim Patch Installer version 11.1.0.6.6                                                                        
Copyright (c) 2009, Oracle Corporation.  All rights reserved.                                                            
                                                                                                                         
                                                                                                                         
Oracle Home       : /u01/app/oracle                                                                                      
Central Inventory : /u01/oraInventory                                                                                    
   from           : /etc/oraInst.loc                                                                                     
OPatch version    : 11.1.0.6.6                                                                                           
OUI version       : 11.2.0.1.0                                                                                           
OUI location      : /u01/app/oracle/oui                                                                                  
Log file location : /u01/app/oracle/cfgtoollogs/opatch/opatch2011-10-27_17-40-29PM.log                                   
                                                                                                                         
Patch history file: /u01/app/oracle/cfgtoollogs/opatch/opatch_history.txt                                                
                                                                                                                         
Lsinventory Output file location : /u01/app/oracle/cfgtoollogs/opatch/lsinv/lsinventory2011-10-27_17-40-29PM.txt         
                                                                                                                         
--------------------------------------------------------------------------------                                         
Installed Top-level Products (1):                                                                                        
                                                                                                                         
Oracle Database 11g                                                  11.2.0.1.0                                          
There are 1 products installed in this Oracle Home.                                                                      
                                                                                                                         
Interim patches (1) :                                                                                                    
                                                                                                                         
Patch  8670579      : applied on Thu Oct 27 17:39:32 CST 2011   -->inventory中已经包含了Patch  8670579                   
Unique Patch ID:  12243614                                                                                               
   Created on 25 Feb 2010, 09:55:12 hrs US/Eastern                                                                       
   Bugs fixed:                                                                                                           
     8670579                                                                                                             
--------------------------------------------------------------------------------                                         
OPatch succeeded.                                                                                                        

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏Kubernetes

containerd源码分析

本文是对containerd v0.2.4的源码分析。 ##Containerd源码流程图 ? 源码接口调用详情 从ctr调用containerd-api #...

80370
来自专栏CodingBlock

Android查缺补漏(IPC篇)-- 进程间通讯基础知识热身

本文作者:CodingBlock 文章链接:http://www.cnblogs.com/codingblock/p/8479282.html

11440
来自专栏小白安全

WinPayloads:一个可以绕过安全检查的Windowspayload生成器

今天给大家介绍的是一款名叫WinPayloads的Payload生成器,这款工具使用了metasploits meterpreter shellcode,它不...

31890
来自专栏CodingBlock

Android查缺补漏(IPC篇)-- 进程间通讯基础知识热身

本文作者:CodingBlock 文章链接:http://www.cnblogs.com/codingblock/p/8479282.html

11620
来自专栏乐沙弥的世界

Oracle RAC环境下如何更新patch(Rolling Patch)

    Oracle RAC数据库环境与单实例数据库环境有很多共性,也有很多异性。对于数据库补丁的更新同样如此,都可以通过opatch来完成。但RAC环境的补...

12610
来自专栏about云

flume搜集日志:如何解决实时不断追加的日志文件及不断增加的文件个数问题

本文的背景: 在搜集日志的过程中,日志文件的个数及日志文件需要不断的追加。flume1.6中,可以使用tail -f可以解决不断追加的文件,但是由于日志文件的个...

43370
来自专栏一个会写诗的程序员的博客

RESTFeel: 一个企业级的API管理&测试平台。RESTFeel帮助你设计、开发、测试您的APIRESTFeel功能简介:MongoDB configuration:Building From

The build file is configured to download and use an embedded Tomcat server. So t...

13640
来自专栏张善友的专栏

在CentOS 6.3下安装OpenPetra 的 Mono 3.0.6 部署包

这篇文章记录的是在CentOS 6.3下安装《OpenPetra 以及CentOS Mono 3.0 部署包》提到的 Mono 3.0.6 部署包。 首先下载r...

21280
来自专栏JadePeng的技术博客

jenkins X实践系列(2) —— 基于jx的DevOps实践

jx是云原生CICD,devops的一个最佳实践之一,目前在快速的发展成熟中。最近调研了JX,这里为第2篇,使用已经安装好的jx来实践CICD,旨在让大家了解基...

72220
来自专栏Ken的杂谈

Spring Cloud 入门教程5、服务容错监控:Hystrix Dashboard

上一篇我们介绍了Hystrix的基础使用,我们可以通过Hystrix做到依赖隔离和熔断等操作。但是只有工具的使用而没有监控,我们就无法在第一时间发现出现问题的依...

67810

扫码关注云+社区

领取腾讯云代金券