[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、安裝補丁步驟       

  1. [oracle@orasrv Inst_source]$ cd 8670579/  -->進入到解壓路徑                                                                
  2. [oracle@orasrv 8670579]$ ls               -->README.txt文件中提供了安裝方法,可以參照進行安裝補丁,注意環境變量的配置      
  3. etc  files  README.txt                                                                                                     
  4. [oracle@orasrv 8670579]$ /u01/app/oracle/OPatch/opatch apply     -->opatch位置: $ORACLE_HOME/OPatch/opatch                
  5. Invoking OPatch 11.1.0.6.6                                       -->使用opatch apply應用補丁,opatch -help獲得幫助信息     
  6.                                                                                                                            
  7. Oracle Interim Patch Installer version 11.1.0.6.6                                                                          
  8. Copyright (c) 2009, Oracle Corporation.  All rights reserved.                                                              
  9.                                                                                                                            
  10. Oracle Home       : /u01/app/oracle                                                                                        
  11. Central Inventory : /u01/oraInventory                                                                                      
  12.    from           : /etc/oraInst.loc                                                                                       
  13. OPatch version    : 11.1.0.6.6                                                                                             
  14. OUI version       : 11.2.0.1.0                                                                                             
  15. OUI location      : /u01/app/oracle/oui                                                                                    
  16. Log file location : /u01/app/oracle/cfgtoollogs/opatch/opatch2011-10-27_17-38-25PM.log                                     
  17.                                                                                                                            
  18. Patch history file: /u01/app/oracle/cfgtoollogs/opatch/opatch_history.txt                                                  
  19.                                                                                                                            
  20. --------------------------------------------------------------------------------                                           
  21. The patch has more than one Archive Action but there is no Make Action.                                                    
  22. --------------------------------------------------------------------------------                                           
  23. ApplySession applying interim patch '8670579' to OH '/u01/app/oracle'                                                      
  24.                                                                                                                            
  25. Running prerequisite checks...                                                                                             
  26.                                                                                                                            
  27. OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.                           
  28.                                                                                                                            
  29. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.                                      
  30. (Oracle Home = '/u01/app/oracle')                                                                                          
  31.                                                                                                                            
  32. Is the local system ready for patching? [y|n]        -->提示是否將patch應用到本地系統,選y                                 
  33. y                                                                                                                          
  34. User Responded with: Y                                                                                                     
  35. Backing up files and inventory (not for auto-rollbackfor the Oracle Home                                                 
  36. Backing up files affected by the patch '8670579' for restore. This might take a while...                                   
  37. Backing up files affected by the patch '8670579' for rollback. This might take a while...                                  
  38.                                                                                                                            
  39. Patching component oracle.network.rsf, 11.2.0.1.0...                                                                       
  40. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/ahseteco.o"                                   
  41. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/am11rkg.o"                                    
  42. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/amsha.o"                                      
  43. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/cpui32.o"                                     
  44. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/sha.o"                                        
  45. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/x931rand.o"                                   
  46. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/am11dkg.o"                                    
  47. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/am931rnd.o"                                   
  48. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/amsharnd.o"                                   
  49. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/ghash.o"                                      
  50. Updating archive file "/u01/app/oracle/lib/libnnz11.a"  with "lib/libnnz11.a/shacomm.o"                                    
  51. Copying file to "/u01/app/oracle/lib/libnnz11.so"                                                                          
  52. ApplySession adding interim patch '8670579' to inventory                                                                   
  53.                                                                                                                            
  54. Verifying the update...                                                                                                    
  55. Inventory check OK: Patch ID 8670579 is registered in Oracle Home inventory with proper meta-data.                         
  56. Files check OK: Files from Patch ID 8670579 are present in Oracle Home.                                                    
  57.                                                                                                                            
  58. The local system has been patched and can be restarted.                                                                    
  59.                                                                                                                            
  60. OPatch succeeded.              -->提示patch已被成功安裝                                                                    
  61. [oracle@orasrv 8670579]$ /u01/app/oracle/OPatch/opatch lsinventory  -->查看系統中已安裝的patch                             
  62. Invoking OPatch 11.1.0.6.6                                                                                                 
  63.                                                                                                                            
  64. Oracle Interim Patch Installer version 11.1.0.6.6                                                                          
  65. Copyright (c) 2009, Oracle Corporation.  All rights reserved.                                                              
  66.                                                                                                                            
  67.                                                                                                                            
  68. Oracle Home       : /u01/app/oracle                                                                                        
  69. Central Inventory : /u01/oraInventory                                                                                      
  70.    from           : /etc/oraInst.loc                                                                                       
  71. OPatch version    : 11.1.0.6.6                                                                                             
  72. OUI version       : 11.2.0.1.0                                                                                             
  73. OUI location      : /u01/app/oracle/oui                                                                                    
  74. Log file location : /u01/app/oracle/cfgtoollogs/opatch/opatch2011-10-27_17-40-29PM.log                                     
  75.                                                                                                                            
  76. Patch history file: /u01/app/oracle/cfgtoollogs/opatch/opatch_history.txt                                                  
  77.                                                                                                                            
  78. Lsinventory Output file location : /u01/app/oracle/cfgtoollogs/opatch/lsinv/lsinventory2011-10-27_17-40-29PM.txt           
  79.                                                                                                                            
  80. --------------------------------------------------------------------------------                                           
  81. Installed Top-level Products (1):                                                                                          
  82.                                                                                                                            
  83. Oracle Database 11g                                                  11.2.0.1.0                                            
  84. There are 1 products installed in this Oracle Home.                                                                        
  85.                                                                                                                            
  86. Interim patches (1) :                                                                                                      
  87.                                                                                                                            
  88. Patch  8670579      : applied on Thu Oct 27 17:39:32 CST 2011   -->inventory中已經包含了Patch  8670579                     
  89. Unique Patch ID:  12243614                                                                                                 
  90.    Created on 25 Feb 2010, 09:55:12 hrs US/Eastern                                                                         
  91.    Bugs fixed:                                                                                                             
  92.      8670579                                                                                                               
  93. --------------------------------------------------------------------------------                                           
  94. OPatch succeeded.                                                                                                          

 

五、更多參考
    手動刪除oracle數據庫  
    Oracle 10.2.0.1 升級到 10.2.0.4    
    Oracle 補丁全集 (Oracle 9i 10g 11g Path)  
    Linux (RHEL 5.4)下安裝 Oracle 10g R2 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM