操作系统:AIX 6.1
ORACLE版本:oracle 11g R1 64bit
1、之前在安装oracle时,在执行./runInstaller的时候,图形界面出来闪一下就没有了,报错如下:
Unhandled exception Type=Segmentation error vmState=0x00000000 J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033 Handler1=09001000A059CC78 Handler2=09001000A0594538 R0=0000000000000246 R1=0FFFFFFFFFFFDB70 R2=0000000000000400 R3=0000000000000400 R4=0000000000000246 R5=07000000005FAEB0 R6=000000011168E2B3 R7=000000011168E2A8 R8=000000011168E2B0 R9=0000000000020018 R10=00000001133B52FE R11=0900000008E0FC38 R12=0000000110296288 R13=0000000110015FA0 R14=000000011168E248 R15=0000000110296200 R16=0000000110B2C610 R17=00000001116FA1D0 R18=09001000A05A03B0 R19=0000000000000001 R20=00000001116FA1B0 R21=000000011168E2D0 R22=0000000000000034 R23=0000000000000010 R24=000000011254B640 R25=000000011254B640 R26=09001000A05886A0 R27=09001000A059E2E0 R28=0000000000000000 R29=09001000A059E2E0 R30=07000000008D9808 R31=07000000005FAEB0 IAR=0900000008E0FC38 LR=0000000110361D9C MSR=A00000000000D032 CTR=0900000008E0FC38 CR=4454504420000010 FPSCR=8202200000000000 XER=2000001082022000 FPR0 3fe8000000000000 (f: 0.000000, d: 7.500000e-01) FPR1 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR2 3fe8000000000000 (f: 0.000000, d: 7.500000e-01) FPR3 3fee666660000000 (f: 1610612736.000000, d: 9.500000e-01) FPR4 4530000000000000 (f: 0.000000, d: 1.934281e+25) FPR5 3fd0000000000000 (f: 0.000000, d: 2.500000e-01) FPR6 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR7 8000000000000000 (f: 0.000000, d: -0.000000e+00) FPR8 8000000000000000 (f: 0.000000, d: -0.000000e+00) FPR9 40338c0000000000 (f: 0.000000, d: 1.954688e+01) FPR10 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR11 4026000000000000 (f: 0.000000, d: 1.100000e+01) FPR12 3fe8000000000000 (f: 0.000000, d: 7.500000e-01) FPR13 4020800000000000 (f: 0.000000, d: 8.250000e+00) FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00) Module=/oracle/db/products/jdk/jre/bin/libj9jit23.so Module_base_address=0900000008DE5000 Target=2_30_20070131_11312_BHdSMr (AIX 6.1) CPU=ppc64 (32 logical CPUs) (0x3000000000 RAM) JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait. JVMDUMP007I JVM Requesting System Dump using '/oracle/db/products/bin/core.20131025.132001.20316230.dmp' JVMDUMP010I System Dump written to /oracle/db/products/bin/core.20131025.132001.20316230.dmp JVMDUMP007I JVM Requesting Snap Dump using '/oracle/db/products/bin/Snap0001.20131025.132001.20316230.trc' JVMDUMP010I Snap Dump written to /oracle/db/products/bin/Snap0001.20131025.132001.20316230.trc JVMDUMP007I JVM Requesting Java Dump using '/oracle/db/products/bin/javacore.20131025.132001.20316230.txt' JVMDUMP012E Error in Java Dump: /oracle/db/products/bin/javacore.20131025.132001.20316230.txt JVMDUMP013I Processed Dump Event "gpf", detail "".
2、通过设置export JAVA_COMPILER=NONE解决
3、今天,在查看oracle补丁安装列表的时候,报OPatch failed with error code 160错误,查看具体的错误信息,发现和之前安装oracle时,报的错误其实是一样的,都是和java有关,同样设置export JAVA_COMPILER=NONE解决,具体如下所示:
$ opatch lsinventory Invoking OPatch 11.1.0.8.5 Oracle Interim Patch Installer version 11.1.0.8.5 Copyright (c) 2011, Oracle Corporation. All rights reserved. Unhandled exception Type=Segmentation error vmState=0x00000000 J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033 Handler1=09001000A014EC78 Handler2=09001000A0146538 R0=07000000001165C8 R1=0FFFFFFFFFFFD6E0 R2=0000000000000043 R3=000000000000005F R4=070000000013C508 R5=0000000111613680 R6=00000001116135B8 R7=00000001116135B8 R8=0000000000000000 R9=0000000111613680 R10=0000000110277AA8 R11=0900000005925C38 R12=00000001109F0398 R13=0000000110015FA0 R14=0000000111613680 R15=0000000110200000 R16=0000000110A96370 R17=000000011149AE30 R18=09001000A01523B0 R19=0000000000000055 R20=0000000111523E48 R21=0000000111613820 R22=0000000000000002 R23=070000000001F4C8 R24=FFFFFFFF91384B72 R25=0700000000009A88 R26=0000000000000004 R27=000000000000005F R28=0700000000222760 R29=0000000000000003 R30=0000000000000059 R31=0000000000000000 IAR=0900000005925C38 LR=0000000110277C5C MSR=A00000000000D032 CTR=0900000005925C38 CR=825458442000003D FPSCR=8202000000000000 XER=2000003D82020000 FPR0 0000000800000008 (f: 8.000000, d: 1.697597e-313) FPR1 41e0000000000000 (f: 0.000000, d: 2.147484e+09) FPR2 3fe8000000000000 (f: 0.000000, d: 7.500000e-01) FPR3 3fee666660000000 (f: 1610612736.000000, d: 9.500000e-01) FPR4 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR5 4530000000000000 (f: 0.000000, d: 1.934281e+25) FPR6 3ff0000000000000 (f: 0.000000, d: 1.000000e+00) FPR7 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR8 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR9 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR10 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR11 4026000000000000 (f: 0.000000, d: 1.100000e+01) FPR12 3fe8000000000000 (f: 0.000000, d: 7.500000e-01) FPR13 4020800000000000 (f: 0.000000, d: 8.250000e+00) FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00) FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00) Module=/oracle/db/products/jdk/jre/bin/libj9jit23.so Module_base_address=09000000058FB000 Target=2_30_20070131_11312_BHdSMr (AIX 6.1) CPU=ppc64 (32 logical CPUs) (0x3000000000 RAM) JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait. JVMDUMP007I JVM Requesting System Dump using '/home/oracle/core.20131222.094708.4391606.dmp' JVMDUMP010I System Dump written to /home/oracle/core.20131222.094708.4391606.dmp JVMDUMP007I JVM Requesting Snap Dump using '/home/oracle/Snap0001.20131222.094708.4391606.trc' JVMDUMP010I Snap Dump written to /home/oracle/Snap0001.20131222.094708.4391606.trc JVMDUMP007I JVM Requesting Java Dump using '/home/oracle/javacore.20131222.094708.4391606.txt' JVMDUMP012E Error in Java Dump: /home/oracle/javacore.20131222.094708.4391606.txt JVMDUMP013I Processed Dump Event "gpf", detail "". OPatch failed with error code 160
4、设置export JAVA_COMPILER=NONE,执行opatch lsinventory成功:
$ export JAVA_COMPILER=NONE $ opatch lsinventory Invoking OPatch 11.1.0.8.5 Oracle Interim Patch Installer version 11.1.0.8.5 Copyright (c) 2011, Oracle Corporation. All rights reserved. Oracle Home : /oracle/db/products Central Inventory : /home/oracle/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.8.5 OUI version : 11.1.0.7.0 OUI location : /oracle/db/products/oui Log file location : /oracle/db/products/cfgtoollogs/opatch/opatch2013-12-22_09-48-30AM.log Patch history file: /oracle/db/products/cfgtoollogs/opatch/opatch_history.txt Lsinventory Output file location : /oracle/db/products/cfgtoollogs/opatch/lsinv/lsinventory2013-12-22_09-48-30AM.txt -------------------------------------------------------------------------------- Installed Top-level Products (2): Oracle Database 11g 11.1.0.6.0 Oracle Database 11g Patch Set 1 11.1.0.7.0 There are 2 products installed in this Oracle Home. Interim patches (2) : Patch 7715339 : applied on Tue Oct 29 19:01:58 GMT+08:00 2013 Unique Patch ID: 13924594 Created on 16 Jul 2011, 16:36:03 hrs PST8PDT Bugs fixed: 7715339 This patch overlays patches: 12419384 This patch needs patches: 12419384 as prerequisites Patch 12419384 : applied on Tue Oct 29 18:34:29 GMT+08:00 2013 Unique Patch ID: 13854926 Created on 11 Jul 2011, 02:07:14 hrs PST8PDT Bugs fixed: 9068088, 7207654, 8865718, 7835247, 7648406, 9054253, 6851110, 7206858 9744252, 7497788, 9956713, 8251486, 6434104, 8851675, 7502237, 8211920 9352179, 7013124, 7643188, 7135702, 7529174, 7196532, 8300793, 9049725 ...... ...... ----------------------------------------------------------------- OPatch succeeded.