This discussion is archived
3 Replies Latest reply: Jan 23, 2011 7:49 AM by sb92075 RSS

New Install: dbca problem on ubuntu 10.04

722205 Newbie
Currently Being Moderated
Hello List,

I want to install Oracle 11gR2 on my Ubuntu box which is running 10.04 Lucid:

oracle@z2:~/oh$ cat /etc/issue
Ubuntu 10.04.1 LTS


oracle@z2:~/oh$ uname -a
Linux z2 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux

The above command suggests to me that I am running 32bit Linux.

I downloaded the 32bit Oracle cdroms.

I read this link:
- http://www.pythian.com/news/13291/installing-oracle-11gr2-enterprise-edition-on-ubuntu-10-04-lucid-lynx/

I carefully followed the instructions there.

The instructions there are for 64 bit Linux. Like I said, my box is 32bit.

Here are the results of my libstdc++5 shoehorn-install:


oracle@z2:/usr/lib$ ll libstd*
lrwxrwxrwx 1 root root 18 2010-08-10 21:59 libstdc++.so.5 -> libstdc++.so.5.0.7
-rw-r--r-- 1 root root 737192 2010-08-10 21:58 libstdc++.so.5.0.7
lrwxrwxrwx 1 root root 19 2010-08-09 13:54 libstdc++.so.6 -> libstdc++.so.6.0.13
-rw-r--r-- 1 root root 975088 2010-03-26 15:43 libstdc++.so.6.0.13
oracle@z2:/usr/lib$
oracle@z2:/usr/lib$
oracle@z2:/usr/lib$ file libstdc++.so.5.0.7
libstdc++.so.5.0.7: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
oracle@z2:/usr/lib$
oracle@z2:/usr/lib$ file libstdc++.so.6.0.13
libstdc++.so.6.0.13: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
oracle@z2:/usr/lib$
oracle@z2:/usr/lib$

The instructions suggest that I install some debian packages.

Here are my results for that task:

root@z2:/oracle/downloads/database# apt-get install unzip build-essential x11-utils rpm ksh lsb-rpm libaio1
Reading package lists... Done
Building dependency tree
Reading state information... Done
unzip is already the newest version.
build-essential is already the newest version.
x11-utils is already the newest version.
rpm is already the newest version.
ksh is already the newest version.
lsb-rpm is already the newest version.
libaio1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The instructions described a software-only install so I did that.

I bumped into no problems.

After the install,
I added env vars to my .bashrc and got a new bash:

export ORACLE_BASE=/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export PATH=$ORACLE_HOME/bin:$PATH

Then:

oracle@z2:~$ sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Sat Aug 14 18:03:00 2010

Copyright (c) 1982, 2009, Oracle. All rights reserved.

SQL> exit



oracle@z2:~$ ln -s $ORACLE_HOME oh
oracle@z2:~$ ln -s $ORACLE_HOME 11gr2oh
oracle@z2:~$ cd oh
oracle@z2:~/oh$ OPatch/opatch lsinventory
Invoking OPatch 11.1.0.6.6

Oracle Interim Patch Installer version 11.1.0.6.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.


Oracle Home : /oracle/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.1.0.6.6
OUI version : 11.2.0.1.0
OUI location : /oracle/app/oracle/product/11.2.0/dbhome_1/oui
Log file location : /oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2010-08-14_18-06-29PM.log

Patch history file: /oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch_history.txt

Lsinventory Output file location : /oracle/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2010-08-14_18-06-29PM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Database 11g 11.2.0.1.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


--------------------------------------------------------------------------------

OPatch succeeded.
oracle@z2:~/oh$

So far so good.


oracle@z2:~/oh$
oracle@z2:~/oh$ which dbca
/oracle/app/oracle/product/11.2.0/dbhome_1/bin/dbca

Then I tried dbca and it bombed:


oracle@z2:~/oh$
oracle@z2:~/oh$ dbca
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb78476f3, pid=5883, tid=3077301952
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [ld-linux.so.2+0xd6f3]
#
# An error report file with more information is saved as hs_err_pid5883.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
oracle@z2:~/oh$
oracle@z2:~/oh$



oracle@z2:~/oh$ env|sort
DISPLAY=localhost:10.0
HOME=/oracle
JAVA_HOME=/java/jdk16
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/oracle/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
ORACLE_BASE=/oracle/app/oracle
ORACLE_HOME=/oracle/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=orcl
PATH=/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/java/jdk16/bin:/pt/jruby151/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/dan/bin:/pt/bin:.
SHELL=/bin/bash
TERM=dumb
USER=oracle
_=/usr/bin/env
oracle@z2:~/oh$



oracle@z2:~/oh$
oracle@z2:~/oh$ unset JAVA_HOME
oracle@z2:~/oh$
oracle@z2:~/oh$ export LD_LIBRARY_PATH=${ORACLE_HOME}/lib
oracle@z2:~/oh$
oracle@z2:~/oh$ export PATH=${ORACLE_HOME}/bin:/usr/bin:/bin:/usr/sbin:/sbin
oracle@z2:~/oh$
oracle@z2:~/oh$ which java
/usr/bin/java
oracle@z2:~/oh$
oracle@z2:~/oh$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-4ubuntu3)
OpenJDK Server VM (build 16.0-b13, mixed mode)
oracle@z2:~/oh$
oracle@z2:~/oh$


oracle@z2:~/oh$ su
Password:
root@z2:/oracle/oh# mv /usr/bin/java /usr/bin/java16
root@z2:/oracle/oh#
root@z2:/oracle/oh# exit


oracle@z2:~/oh$ which java
oracle@z2:~/oh$


oracle@z2:~/oh$
oracle@z2:~/oh$ dbca
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb785a6f3, pid=5953, tid=3077314240
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [ld-linux.so.2+0xd6f3]
#
# An error report file with more information is saved as hs_err_pid5953.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
oracle@z2:~/oh$
oracle@z2:~/oh$


I used these google keywords to search for clues:

google:
oracle ubuntu 10.04 dbca SIGSEGV ld-linux.so.2

I found no clues in Google.

So, I look for clues here.

Does anyone have any ideas on how do debug this error from dbca:
oracle@z2:~/oh$ dbca
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb785a6f3, pid=5953, tid=3077314240
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [ld-linux.so.2+0xd6f3]

??
  • 1. Re: New Install: dbca problem on ubuntu 10.04
    sb92075 Guru
    Currently Being Moderated
    I am running V11.2 on 64-bit Ubuntu

    Below are some log files on my system.
    You may be able to find similar ones on yours & they might contain additional clues.

    /u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/logs
    /u01/app/oracle/cfgtoollogs/dbca
    /u01/app/oracle/cfgtoollogs/dbca/v112
    /u01/app/oracle/cfgtoollogs/dbca/v112/mkplug_v3_v112.log
    /u01/app/oracle/cfgtoollogs/dbca/v112/tts_example_imp.log
    /u01/app/oracle/cfgtoollogs/dbca/v112/postDBCreation.log
    /u01/app/oracle/cfgtoollogs/dbca/v112/rmanRestoreDatafiles.sql
    /u01/app/oracle/cfgtoollogs/dbca/v112/trace.log
    /u01/app/oracle/cfgtoollogs/dbca/v112/postScripts.log
    /u01/app/oracle/cfgtoollogs/dbca/v112/OraDb11g_home1_v112_creation_checkpoint.xml
    /u01/app/oracle/cfgtoollogs/dbca/v112/cloneDBCreation.log
    /u01/app/oracle/cfgtoollogs/dbca/v112/CloneRmanRestore.log
    /u01/app/oracle/cfgtoollogs/dbca/v112/lockAccount.log
    /u01/app/oracle/cfgtoollogs/dbca/v112/emConfig.log
    /u01/app/oracle/cfgtoollogs/dbca/trace.log_OraDb11g_home1
    bcm@bcm-laptop:~$ uname -a
    Linux bcm-laptop 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010 x86_64 GNU/Linux
  • 2. Re: New Install: dbca problem on ubuntu 10.04
    scolari-ire Newbie
    Currently Being Moderated
    Hi,
    Apologies for updating this post so late after it was opened, it is very hard to find any information on this issue.
    I have hit the exact same issue as the above user.

    I have checked my logs folders and do not have any.

    Has anyone figured out how to fix this issue?

    Regards.
  • 3. Re: New Install: dbca problem on ubuntu 10.04
    sb92075 Guru
    Currently Being Moderated
    Has anyone figured out how to fix this issue?
    you may be able to get additional clues by doing as below

    script capture.log
    strace dbca

    clues would exist near tail end of capture.log

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points