Redhat/Centos 安装oracle11gR2时出现以下错误:
[INS-20802] Oracle Net Configuration Assistant failed
查看对应日志文件,信息如下:
INFO: Oracle Net Services Configuration:
INFO: #
INFO: # An unexpected error has been detected by HotSpot Virtual Machine:
INFO: #
INFO: # SIGSEGV (0xb) at pc=0xa446a45c, pid=9476, tid=3084384464
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_pid9476.log
该错误出现于64位系统上安装32位数据库文件,即系统不兼容错误。
解决方案:
需打名为p8670579_112010_LINUX.zip的补丁。
出现此错误时,先不要关闭安装程序:
解压补丁压缩包,oracle用户进入该补丁所在目录
$unzip p8670579_112010_LINUX.zip
$cd 8670579
然后执行如下语句:
$/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch apply -invPtrLoc /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
其中/app/oracle/product/11.2.0/dbhome_1/为$ORACLE_HOME,可使用$ORACLE_HOME代替,如下:
$$ORACLE_HOME/OPatch/opatch apply -invPtrLoc $ORACLE_HOME/oraInst.loc
补丁打好后,点击安装程序的retry,继续安装即可。