如果在X86的操作系统,CPU是AMD 64位的机器上安装oracle11gR2,会遇到DBCA和NETCA不能启动的BUG,BUG ID [946072.1],
会出现以下提示:
n unexpected error has been detected by HotSpot Virtual Machine:
#
#SIGSEGV (0xb) at pc=0x9f41d35e, pid=10739, tid=3076138672
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C[libnnz11.so+0x3c35e]
#
# An error report file with more information is saved as hs_err_pid10739.log
#
# If you would like to submit a bug report, please visit:
#http://java.sun.com/webapps/bugreport/crash.jsp
#
所以我们在安装oracle的时候可以先只安装oracle的实例,数据库先不要安装。
就是在安装过程中,Select any of the following install option的时候,选择Install database software only.
需要在安装完oracle实例以后,给oracle打上patch 8670589,下载地址为
Patch的安装方法是,下载patch到home目录下,解压缩,会得到文件夹8670589,然后进入查看echo $ORACLE_HOME, cd $ORACLE_HOME/OPatch,
然后先运行./opatch lsinventory,查看工具是否可以运行正常,./opatch apply /home/8670589,注意你的文件解压到哪里了,这里的patch目录就填哪里,当patch安装成功后,我们就可以运行DBCA和NETCA了。
BUG 942076.1说明:
源内容: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
参考文献: