X86 DBCA, NETCA GIVE JAVA HOTSPOT ERROR IF ON X86_64 HARDWARE

    在使用DBCA命令创建新的数据库时,DBCA命令无法启动。运行的环境是宿主机64bit+AMD cpu, 而客户机为Linux 32bit + Grid Infrastructure(32) + Oracle database software(32)的情形。原本想着32bit运行的会快一点,没想到Bug 8670579 在执行dbca时再一次被触发,根据Oracel描述,类似的NETCA也会触发这个Bug。 一、故障现象     [oracle@linux1 ~]$ dbca     #     # An unexpected error has been detected by HotSpot Virtual Machine:     #     #  SIGSEGV (0xb) at pc=0x9e0ea498, pid=4242, tid=3086584016     #     # Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)     # Problematic frame:     # C  [libnnz11.so+0x3c498]     #     # An error report file with more information is saved as hs_err_pid4242.log     #     # If you would like to submit a bug report, please visit:     #   http://java.sun.com/webapps/bugreport/crash.jsp     #     Aborted     [oracle@linux1 ~]$

二、故障描述     #MeatLink [ID 942076.1]给出了关于这个问题的描述,那就是在客户机上安装了32bit的操作系统与Oracle,而宿主机硬件为64bit平台     #该现象为一个Oracle Bug,Bug号:8670579

    Applies to:     Oracle Server - Enterprise Edition - Version 11.2.0.0 and later     Linux x86

    Symptoms     After successfully installing 32-bit 11gR2 (11.2.0.1.0) software onto a 32-bit Linux OS (x86) system,  neither netca or dbca can be run:

    Dbca error is:     #     # An unexpected error has been detected by HotSpot Virtual Machine:     #     # SIGSEGV (0xb) at pc=0x9dc0c35e, pid=8292, tid=3086022864     #     # Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)     # Problematic frame:     # C [libnnz11.so+0x3c35e]

    Netca error is:     # An unexpected error has been detected by HotSpot Virtual Machine:     #     # SIGSEGV (0xb) at pc=0xa2c2235e, pid=8272, tid=3086309584     #     # Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)     # Problematic frame:     # C [libnnz11.so+0x3c35e]

    Other Problematic frame values have also been reported, and include:     [libnnz11.so+0x3c35e]     [ld-linux.so.2+0xc1fc]

    Changes     Although the Linux OS that has been installed is indeed a supported 32-bit Linux OS, the hardware that is being used is 64-bit x86_64 hardware.

    Cause     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

三、解决方案     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 need to download the 11.2.0.1.0 version of the patch     (p8670579_112010_LINUX.zip) and install it.

    References     @ BUG:8670579 - DBBETA :NETCA/DBCA FAILED WITH HOTSPOT VIRTUAL MACHINE     BUG:8930861 - X86 DBCA, NETCA GIVE JAVA HOTSPOT ERROR IF ON X86_64 HARDWARE

    #检查本机     [root@linux1 ~]# cat /proc/cpuinfo | grep model     model           : 4     model name      : AMD Phenom(tm) II X4 955 Processor     model           : 4     model name      : AMD Phenom(tm) II X4 955 Processor

    #下载8670579 patch,再使用opatch apply 即可。     #在安装Grid Infrastructure时执行root.sh时也会有出发该bug的情形,最主要的原因应该是对AMD cpu,32bit 平台支持不好。     #因此,宿主机安装在64bit硬件平台,客户机使用32位,需要将该patch应用到Grid Infrastructure,其次也要应用到Oracle database software。     #关于执行root.sh时,会收到Failed to create or upgrade OLR 错误。

BUG:8670579 具体如何实现apply,可参考: Failed to create or upgrade OLR

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏坚毅的PHP

golang mgo的mongo连接池设置:必须手动加上maxPoolSize

本司礼物系统使用了golang的 mongo库 mgo,中间踩了一些坑,总结下避免大家再踩坑 golang的mgo库说明里是说明了开启连接复用的,但观察实验发现...

8533
来自专栏运维技术迷

Centos系统修改时区

今天在操作系统的时候创建了一个文件,ls了一下发现时间和本地时间不对,date看了一下后发现时区是EDT(Eastern Daylight Timing)指...

4536
来自专栏大大的微笑

深入理解JVM原理之编译openjdk7

Java虚拟机种类很多例如:HotSpot 丶 JRockit 丶 J9等 我们一般用的就是HotSpot,如果我们电脑上装了JDK,可以运行java -ver...

2889
来自专栏SpringBoot 核心技术

目录:SpringBoot 核心技术

1692
来自专栏Objective-C

iOS-安装和使用 CocoaPods

4797
来自专栏杨建荣的学习笔记

缓慢的update语句性能分析(r6笔记第61天)

最近处理一个问题的时候,先是收到DB time升高的报警,然后查看DB time的情况发现,已经有近1000%的负载了。 ? 带着好奇心想看看到底是什么样的...

2995
来自专栏bboysoul

使用永恒之蓝(MS17-010)漏洞入侵windows7

前几天,被勒索病毒(Wannacry)刷屏了,这个病毒是大家知道了备份文件的重要性,当然,我是不怕什么病毒的,因为我是一天备份一次文件,而且微云一份,坚果云,移...

2.3K4
来自专栏菩提树下的杨过

CQRS框架:AxonFramework 之 Hello World

Command Query Responsibility Segregation,CQRS 这个架构好象最近博客园里讨论得比较多,有几篇园友的文章很有深度,推荐...

4507
来自专栏Java后端技术

SpringBoot初体验及原理解析

​  上篇文章,我们聊到了SpringBoot得以实现的幕后推手,这次我们来用SpringBoot开始HelloWorld之旅。SpringBoot是Sprin...

1512
来自专栏乐沙弥的世界

ORA-27090 故障一例

    最近的alert日志中碰到了ORA-27090的错误信息,其错误提示为Unable to reserve kernel resources for as...

752

扫码关注云+社区

领取腾讯云代金券