来自:http://blog.itpub.net/25851087/viewspace-1419440/

分类: Oracle

【环境参数】

    Host OS::Win7 32bit

    Client OS::Oracle Enterprise Linux 5

    虚拟机:VMware 10.0..1

    Oracle版本:Oracle 11g R2

 

【障害场景一再现】

1、障碍描述:

在CentOS或者Oracle Enterprise Linux环境下,安装Oracle11gR2的过程中,用户在安装Oracle时,
选择了“Create and Configure a database”,在安装的过程中出现了“[INS-20802] Oracle Net Configuration Assistant failed”的错误,
具体如下图所示。

2、障碍场景图片

图1:

 

图2:

【障碍场景二再现】

1、障碍描述:

用户在安装Oracle时,选择的是“Install database software only”之后,启动DBCA时出现错误。

在用户仅仅安装完Oracle11gRoot数据库软件后(即,用户在安装Oracle时,选择了“Install database software only”),准备通过netca来配置listener时,在执行netca的时候报出“[INS-20802] Oracle Net Configuration Assistant failed”错误。

2、障碍场景图片

【问题原因】

DBCA程序由于缺少补丁包无法正常启动,需要打p8670579_112010_LINUX.zip补丁包。

【解决方案】

到下述网站上下载p8670579_112010_LINUX.zip补丁包,按照README.txt步骤将该补丁打上后执行dbca,,创建db的图形出来了,问题解决.

p8670579_112010_LINUX.zip下载:

免费下载地址在 http://linux.linuxidc.com/ (Linux公社的服务器)

用户名与密码都是www.linuxidc.com

具体下载目录在 /2012年资料/8月/28日/Oracle 11gR2执行DBCA报错误

网上搜索了很多相关的帖子,基本上说的是64位的机器安装了32位的数据导致的,但我的机器是32位的,
下载的oracle版本也是32位的,但也报这个错误.先不管了,按照网上说的需要打补丁p8670579_112010_LINUX.zip.

【补丁安装步骤】

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  //若没有将opath的路径加入到oralce用户的PATH变量中,也可以使用以下命令:$/u01/app/oracle/product/11.2.0/db_1/OPatch/opatch lsinventory

注意:

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

命令结果如下所示:

5.解压缩补丁包

$unzip p8670579_112010_LINUX.zip

6.确保数据库已经停止。

$cd /ftp/8670579

$opatch apply  //在8670579这个目录下执行此命令

7. 若打完补丁成功,则会出现下属结果。

 

【补丁补充的是什么地方】

【README.txt里的说明如下】

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:
--------------------------------

sqlplus / as sysdba
exec SYS.DBMS_METADATA_UTIL.LOAD_STYLESHEETS;

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------

Nice Day
zjrodger

读者如要转载,请标明出处和作者名,谢谢。 
地址01:http://space.itpub.net/25851087 
地址02:http://www.cnblogs.com/zjrodger/ 
地址03:http://blog.csdn.net/zjrodger
作者名:zjrodger

Oracle Net Configuration Assistant failed异常的解决方案的更多相关文章

  1. Oracle12c client安裝報錯[INS-20802] Oracle Net Configuration Assistant failed完美解決

    Doc ID 2082662.1 1.錯誤碼 Installation Of Oracle Client 12.1.0.2.0 (32-bit) Fails With An Error Message ...

  2. 解决:[INS-20802] Oracle Net Configuration Assistant failed

    在linux 中安装Oracle 11G 的时辰呈现 [INS-20802] Oracle Net Configuration Assistant failed 是oracle数据库的鼓掌,须要补丁p ...

  3. [INS-20802] Oracle Net Configuration Assistant failed

    [INS-20802] Oracle Net Configuration Assistant failed.在安装Oracle 11g R2时出现了该错误提示.以前安装的时候没有碰到过类似的错误.原来 ...

  4. [INS-20802] Oracle Net Configuration Assistant failed,Caught UnknownHostException

    在64位Centos上安装64的oracle 11g R2,出现错误: [INS-20802] Oracle Net Configuration Assistant failed 根据提示查看日志文件 ...

  5. linux安装oracle 报错[INS-20802] Oracle Net Configuration Assistant failed 解决办法

    [INS-20802] Oracle Net Configuration Assistant failed 首先从LinuxIDC.com下载这个补丁包,然后用 unzip p8670579_1120 ...

  6. [INS-20802] Oracle Database Configuration Assistant 失败

    1.错误原因    [INS-20802] Oracle Database Configuration Assistant 失败 2.错误原因 3.解决方案 版权声明:本文博主原创文章.博客,未经同意 ...

  7. 安装ORACLE服务出现Oracle Net Configuration Assistant 失败问题【我】

    安装ORACLE服务出现Oracle Net Configuration Assistant 失败问题 本地安装oracle11g,报错提示: 参考下面文章: 报错原因: 主要是对文件系统的访问权限问 ...

  8. Oracle安装过程中Oracle Database Configuration Assistant失败问题解决

    今天在安装Oracle的过程中出现了oracle Database Configuration Assistant问题,我解决该问题的方法是将我的计算机用户名更改了一下,改成了pc1.之后再在orac ...

  9. Linux下安装oracle提示INS-20802 Oracle Net Configuration Assistant

    安装oracle的时候,在最后install过程中,突然弹出INS-20802 :Oracle Net Configuration Assistant 错误. 查了一些资料,也尝试了很多,但是最终尝试 ...

随机推荐

  1. html+css判断各个IE浏览器版本

    html+css判断各个IE浏览器版本 在编写网页代码时,各种浏览器的兼容性是个必须考虑的问题,有些时候无法找到适合所有浏览器的写法,就只能写根据浏览器种类区别的代码,这时就要用到判断代码了. 在HT ...

  2. 杂项-PPT:如何把幻灯片ppt转换成视频

    ylbtech-杂项-PPT:如何把幻灯片ppt转换成视频 1.返回顶部   2.返回顶部   3.返回顶部   4.返回顶部   5.返回顶部 1. https://jingyan.baidu.co ...

  3. Codeforces 1173A Nauuo and Votes

    题目链接:http://codeforces.com/problemset/problem/1173/A 思路:模拟. AC代码: #include<bits/stdc++.h> usin ...

  4. 2018湘潭大学程序设计竞赛【A】

    题目链接:https://www.nowcoder.com/acm/contest/105/A 题意:给你起始和结束的天时分,让你算总秒数. 题解:输入格式.注意long long.签到题. #inc ...

  5. Thread相关API

    参考书籍:<java多线程核心编程技术> Thread相关API,这些API可以改变线程对象的状态 新建一个线程对象,调用start方法后,系统会为该线程分配CPU资源,此时该线程处于可运 ...

  6. cocos2dx 3.9 微信授权登陆后游戏进程结束解决办法

    找到 Cocos2dxActivity.java 文件夹 里面的 onDestroy() 方法 if (mGLSurfaceView != null) {            Cocos2dxHel ...

  7. notepad++ remove duplicate

    step1 to sort and remove space. Since Notepad++ Version 6 you can use this regex in the search and r ...

  8. 二进制中1的个数(Java实现)

    问题: 输入一个整数,求其二进制中1的个数 看到这个问题,我们应该想到数的位运算: 解法一:我们每次将此数&1 ,如果结果等于1,证明此数的最后一位是1,,count++: 然后在将数右移一位 ...

  9. Mybatis枚举转换

    自定义mybatis枚举转换,原理是如果用户没有定义自己的枚举转换工具,mybatis在解析枚举类时会自动获取mybatis的BaseTypeHandler,来转换枚举类,我们只需要重写这个枚举转换器 ...

  10. Linkedlist 详解

    基本介绍 Linkedlist基于链表的动态数组(双向链表): 可以被当作堆栈(后进先出).队列(先进先出)或双端队列进行操作. 数据添加删除效率高,只需要改变指针指向即可,但是访问数据的平均效率低, ...