最近在CentOS5.5(CPU: AMD Athlon(tm) II P320 Dual-Core Processor)上安装Oracle 11g,先装软件后建数据库,装软件一路都很顺利。然后创建数据库,但是在执行netca或dbca的时候就出现了下面类似的错误了。 [oracle@ora11g ~]$ netca
Oracle Net Services Configuration: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xa44b13a8, pid=2973, tid=3086891216 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode) # Problematic frame: # C [libnnz11.so+0x3c3a8] # # An error report file with more information is saved as hs_err_pid2973.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # /u01/app/oracle/product/11.2.0/dbhome_1/bin/netca: line 178: 2973
Aborted $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $* 还好google到了解决办法: 据说是因为Host是64-Bit的系统,装32位的软件环境下,会产生这个错误bug,主要装个补丁(patch name:p8670579_112010_LINUX.zip)就可以解决问题。 文件名: p8670579_112010_LINUX.zip 文件描述: parche oracle 11gr2 文件大小: 1.13 MB 下载链接: http://www.dbank.com/download?f=c0mqkyip5l&i=8&h=1301121151&v=f049773a 也转载一下oracle对bug的说明,源内容:http://www.oraforum.net/thread-65-1-1.html [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 注:大部分内容源自互联网,只是做些修改 |
转载于:https://www.cnblogs.com/MagicLetters/archive/2011/03/26/4382771.html