Tuesday, February 19, 2013

AMD bug for dbca and netca in 11g R2 an unexpected error has been detected by HotSpot Virtual Machine

When I installed an Oracle 11gR2 database in a system with AMD processor the installation worked fine. However when I was trying to run the dbca or the netca it was returning the following error:\






Upon doing some R&D I figured out that this was a bug with the Oracle 11.2.0.1 in AMD systems.

To fix this bug I downloaded the following patches from Oracle Support:

1. p11724930_112010_LINUX

2. p8670579_112015_LINUX

Note that p11724930_112010_LINUX  is a prerequisite patch for p8670579_112015_LINUX.


In order to apply the patch I downloaded the latest version of OPatch available which in my case was:


1. p6880880_112000_LINUX


==========================================================================


The patch along with their output are as follows:

[oracle@node1 Desktop]$ cd 11724930/
[oracle@node1 11724930]$ /home/oracle/Desktop/OPatch/opatch apply -invPtrLoc /u01/app/oraInventory/oraInst.loc

Oracle Interim Patch Installer version 11.2.0.3.3
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oraInventory/oraInst.loc
OPatch version    : 11.2.0.3.3
OUI version       : 11.2.0.1.0
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/11724930_Feb_20_2013_03_02_10/apply2013-02-20_03-02-10AM_1.log

Applying interim patch '11724930' to OH '/u01/app/oracle/product/11.2.0/db_1'
Verifying environment and performing prerequisite checks...
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  Y



Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/db_1')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...

Patching component oracle.rdbms.rsf, 11.2.0.1.0...

Patching component oracle.rdbms.dbscripts, 11.2.0.1.0...

Patching component oracle.rdbms, 11.2.0.1.0...

Patching component oracle.oraolap, 11.2.0.1.0...

Patching component oracle.rdbms.deconfig, 11.2.0.1.0...

Patching component oracle.javavm.server, 11.2.0.1.0...

Patching component oracle.precomp.common, 11.2.0.1.0...

Patching component oracle.network.rsf, 11.2.0.1.0...

Patching component oracle.network.listener, 11.2.0.1.0...

Patching component oracle.rdbms.dv.oc4j, 11.2.0.1.0...

Patching component oracle.sdo.locator, 11.2.0.1.0...

Patching component oracle.sysman.console.db, 11.2.0.1.0...

Patching component oracle.sysman.oms.core, 10.2.0.4.2...

Patching component oracle.rdbms.dv, 11.2.0.1.0...

Patching component oracle.xdk.rsf, 11.2.0.1.0...

Patching component oracle.ldap.rsf.ic, 11.2.0.1.0...

Patching component oracle.ldap.rsf, 11.2.0.1.0...
                                   
Verifying the update...
Patch 11724930 successfully applied
Log file location: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/11724930_Feb_20_2013_03_02_10/apply2013-02-20_03-02-10AM_1.log

OPatch succeeded.
[oracle@node1 11724930]$ cd ..
[oracle@node1 Desktop]$ cd 8670579/
[oracle@node1 8670579]$ /home/oracle/Desktop/OPatch/opatch apply -invPtrLoc /u01/app/oraInventory/oraInst.loc

Oracle Interim Patch Installer version 11.2.0.3.3
Copyright (c) 2012, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oraInventory/oraInst.loc
OPatch version    : 11.2.0.3.3
OUI version       : 11.2.0.1.0
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/8670579_Feb_20_2013_03_13_28/apply2013-02-20_03-13-27AM_1.log

Applying interim patch '8670579' to OH '/u01/app/oracle/product/11.2.0/db_1'
Verifying environment and performing prerequisite checks...
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  Y



Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/db_1')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...

Patching component oracle.ldap.rsf, 11.2.0.1.0...

Patching component oracle.ldap.rsf.ic, 11.2.0.1.0...

Patching component oracle.rdbms.rsf, 11.2.0.1.0...

Patching component oracle.rdbms, 11.2.0.1.0...

Verifying the update...
Patch 8670579 successfully applied
Log file location: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/8670579_Feb_20_2013_03_13_28/apply2013-02-20_03-13-27AM_1.log

OPatch succeeded.