Install Problem (really libaio architecture issue)
During the "Configuration Assistants" startup I have an error. The "Oracle Net Configuration Assistant" succeeded but then the "Oracle Database Configuration Assistant" failed. It "popped-up" a window saying "ORA-12547: TNS:lost contact". There is only an "OK" button as shown here:
I click it and get a new pop-up window saying:
OUI-25031: Some of the configuration assistants failed. It is strongly
recommended that you retry the configuration assistants at this time.
Net successfully running any "Recommended" assistants means your
system will not be correctly configured.
1. Check the Details panel on the Configuration Assistant Screen to
see the errors resulting in the failures.
2. Fix the errors causing thses failures.
3. Select the failed assistants and click the 'Retry' button to retry
them.
This is what the screen looks like then:
I tried stopping the firewall with
service iptables stop
and retrying but the same thing happens.
The Details box contains:
INFO: Starting to execute configuration assistants
INFO: Command = /app/oracle/oracle/product/10.2.0/asm/bin/dbca -progress_only -configureASM -templateName NO_VALUE -gdbName NO -sid NO -emConfiguration NONE -diskString ORCL:* -diskList ORCL:DISK1,ORCL:DISK2 -diskGroupName DATAFLASH -datafileJarLocation /app/oracle/oracle/product/10.2.0/asm/assistants/dbca/templates -responseFile NO_VALUE -obfuscatedPasswords true -oratabLocation NO_VALUE -asmSysPassword <removed> -redundancy NORMAL
Command = /app/oracle/oracle/product/10.2.0/asm/bin/dbca has failed
INFO: Configuration assistant "Oracle Database Configuration Assistant" failed
-----------------------------------------------------------------------------
*** Starting OUICA ***
Oracle Home set to /app/oracle/oracle/product/10.2.0/asm
Configuration directory is set to /app/oracle/oracle/product/10.2.0/asm/cfgtoollogs. All xml files under the directory will be processed
INFO: The "/app/oracle/oracle/product/10.2.0/asm/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
The
configToolFailedCommands
script contains:
[umors:cfgtoollogs]# cat configToolAllCommands
# Copyright (c) 1999, 2005, Oracle. All rights reserved.
/app/oracle/oracle/product/10.2.0/asm/jdk/jre//bin/java -Duser.dir=/app/oracle/oracle/product/10.2.0/asm/network/jlib -classpath /app/oracle/oracle/product/10.2.0/asm/jdk/jre//lib/i18n.jar:/app/oracle/oracle/product/10.2.0/asm/jdk/jre//lib/rt.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/ewt3.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/ewtcompat-3_3_15.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/netcfg.jar:/app/oracle/oracle/product/10.2.0/asm/network/jlib/netcam.jar:/app/oracle/oracle/product/10.2.0/asm/network/jlib/netca.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/help4.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/jewt4.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/oracle_ice.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/share.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/swingall-1_1_1.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/srvmhas.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/srvm.jar:/app/oracle/oracle/product/10.2.0/asm/network/tools:/app/oracle/oracle/product/10.2.0/asm/jlib/ldapjclnt9.jar:/app/oracle/oracle/product/10.2.0/asm/jlib/ldapjclnt10.jar:/app/oracle/oracle/product/10.2.0/asm/oui/jlib/OraInstaller.jar:/app/oracle/oracle/product/10.2.0/asm/lib/xmlparserv2.jar oracle.net.ca.NetCA /orahome /app/oracle/oracle/product/10.2.0/asm /orahnam OraDb10g_ASM /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /app/oracle/oracle/product/10.2.0/asm/network/install/netca_typ.rsp
/app/oracle/oracle/product/10.2.0/asm/bin/dbca -progress_only -configureASM -templateName NO_VALUE -gdbName NO -sid NO -emConfiguration NONE -diskString ORCL:* -diskList ORCL:DISK1,ORCL:DISK2 -diskGroupName DATAFLASH -datafileJarLocation /app/oracle/oracle/product/10.2.0/asm/assistants/dbca/templates -responseFile NO_VALUE -obfuscatedPasswords true -oratabLocation NO_VALUE -asmSysPassword <removed> -redundancy NORMAL
/app/oracle/oracle/product/10.2.0/asm/bin/isqlplusctl start
Solution
After much looking around I found that this problem is because I had installed only the x86 (32bit) version of libaio. You can see the problem via:
[oracle@umors cfgtoollogs]$ sqlplus "SYS/######## as SYSDBA"
'########' should really be the correct password
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 13 14:55:47 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
oracle+ASM: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact
Enter user-name:
The solution is to use
up2date --arch=x86_64 libaio
Retrying the above commands then works (puts you at an sqlplus prompt).
--
ShawnMcKee - 13 Jul 2006