Professional Web Applications Themes

dbca not working in Linux - Linux Setup, Configuration & Administration

Hi all, I've installed oracle 9.2 on Suse Linux Personal 8.2. The database didn't install correctly when I installed the oracle software. And now the database configuration assistant doesn't work either. I did the following in a console window. However, it also didn't run, in the "run" window. I'm sure this is some kind of setup issue. I tried adding some paths to CLASSPATH, but no luck. This was run as the oracle user. Any ideas? Thanks dbca SIGSEGV 11* segmentation violation stackbase=0x453d9000, stackpointer=0x453d8d5c Full thread dump: "stderr reader pid=4840" (TID:0x411d5248, sys_thread_t:0x45495e0c, state:R) prio=5 "stdout reader pid=4840" (TID:0x411d51f8, sys_thread_t:0x45474e0c, state:R) ...

  1. #1

    Default dbca not working in Linux

    Hi all,

    I've installed oracle 9.2 on Suse Linux Personal 8.2.
    The database didn't install correctly when I installed
    the oracle software.

    And now the database configuration assistant doesn't work
    either.

    I did the following in a console window. However, it
    also didn't run, in the "run" window. I'm sure this
    is some kind of setup issue.

    I tried adding some paths to CLASSPATH, but no luck.
    This was run as the oracle user.

    Any ideas?

    Thanks




    dbca

    SIGSEGV 11* segmentation violation
    stackbase=0x453d9000, stackpointer=0x453d8d5c

    Full thread dump:
    "stderr reader pid=4840" (TID:0x411d5248, sys_thread_t:0x45495e0c,
    state:R) prio=5
    "stdout reader pid=4840" (TID:0x411d51f8, sys_thread_t:0x45474e0c,
    state:R) prio=5
    "process reaper" (TID:0x411d5388, sys_thread_t:0x45453e0c,
    state:R) prio=5
    "AWT-Motif" (TID:0x411dd570, sys_thread_t:0x45432e0c, state:R)
    prio=5
    "AWT-Input" (TID:0x411dd550, sys_thread_t:0x45411e0c, state:R)
    prio=5
    "AWT-EventQueue-0" (TID:0x411dd538, sys_thread_t:0x453d8e0c,
    state:R) prio=5 *current thread*
    "Finalizer thread" (TID:0x411b4210, sys_thread_t:0x444d5e0c,
    state:R) prio=1
    "Async Garbage Collector" (TID:0x411b4258,
    sys_thread_t:0x444b4e0c, state:R) prio=1
    "Idle thread" (TID:0x411b42a0, sys_thread_t:0x44493e0c, state:R)
    prio=0
    "Clock" (TID:0x411b4088, sys_thread_t:0x44472e0c, state:CW)
    prio=12
    "main" (TID:0x411b40b0, sys_thread_t:0x8231238, state:CW) prio=5
    java.io.PipedInputStream.read(PipedInputStream.jav a)
    java.lang.ProcessInputStream.read(UNIXProcess.java )
    java.io.PipedInputStream.read(PipedInputStream.jav a)
    java.io.InputStream.read(InputStream.java)
    java.io.InputStreamReader.fill(InputStreamReader.j ava)
    java.io.InputStreamReader.read(InputStreamReader.j ava)
    java.io.BufferedReader.fill(BufferedReader.java)
    java.io.BufferedReader.readLine(BufferedReader.jav a)
    oracle.ops.mgmt.nativesystem.sQueryCluster.<init>( sQueryCluster.java:78)
    oracle.ops.mgmt.cluster.Cluster.isCluster(Cluster. java:113)
    oracle.sysman.assistants.util.ClusterUtils.<clinit >(ClusterUtils.java:61)
    oracle.sysman.assistants.dbca.backend.Host.checkOP S(Host.java:1815)
    oracle.sysman.assistants.dbca.backend.Host.<init>( Host.java:469)
    oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIH ost.java:185)
    oracle.sysman.assistants.dbca.ui.InteractiveHost.< init>(InteractiveHost.java:54)
    oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.ja va:141)
    oracle.sysman.assistants.dbca.Dbca.execute(Dbca.ja va:85)
    oracle.sysman.assistants.dbca.Dbca.main(Dbca.java: 161)
    Monitor Cache Dump:
    java.io.InputStreamReader1092440760/1093032288: owner "main"
    (0x8231238, 1 entry)
    java.lang.ProcessInputStream1092441240/1093029728: <unowned>
    Waiting to be notified:
    "main" (0x8231238)
    Registered Monitor Dump:
    Thread queue lock: <unowned>
    Name and type hash table lock: <unowned>
    String intern lock: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class loading lock: <unowned>
    Java stack lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Has finalization queue lock: <unowned>
    Finalize me queue lock: <unowned>
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    Child death monitor: <unowned>
    Event monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
    Waiting to be notified:
    "Clock" (0x44472e0c)
    Monitor registry: owner "AWT-EventQueue-0" (0x453d8e0c, 1 entry)
    Thread Alarm Q:
    sys_thread_t 0x8231238 [Timeout in 994 ms]
    /oracle/ora92/bin/dbca: line 124: 4830 Killed
    $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m
    -classpath $CLASSPATH ora cle.sysman.assistants.dbca.Dbca
    $ARGUMENTS
    oracle92linux:~>


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

    env

    CLASSPATH=/oracle/ora92/assistants/dbca/jlib/dbca.jar:/oracle/ora92/assistants/dbma/jlib/dbma.jar
    COLORTERM=
    CPU=i686
    DISPLAY=:0.0
    GDK_USE_XFT=1
    GNOME2_PATH=/opt/gnome2:/opt/gnome:/opt/kde3/share/icons/crystalsvg/48x48/apps:/opt/kde3/share/icons/hicolor/SuSE-48x48/apps:/opt/kde3/share/icons/crystalsvg/32x32/apps
    GNOMEDIR=/opt/gnome
    GNOMEPATH=/opt/gnome2
    GNOME_PATH=:/opt/gnome:/usr
    GTK2_RC_FILES=/home/oracle92/.gtk2rc-keramik:/etc/X11/gtk2rc-keramik
    GTK_DATA_PREFIX=/opt/gnome2
    GTK_RC_FILES=/home/oracle92/.gtkrc-keramik:/etc/X11/gtkrc-keramik:/home/oracle92/.gtkrc-kde
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/oracle92
    HOST=linux
    HOSTNAME=linux
    HOSTTYPE=i386
    INFODIR=/usr/local/info:/usr/share/info:/usr/info
    INFOPATH=/usr/local/info:/usr/share/info:/usr/info
    INPUTRC=/etc/inputrc
    JAVA_BINDIR=/usr/lib/java/jre/bin
    JAVA_HOME=/usr/lib/java/jre
    JAVA_ROOT=/usr/lib/java
    JRE_HOME=/usr/lib/java/jre
    KDEHOME=/home/oracle92/.kde
    KDE_FULL_SESSION=true
    KDE_MULTIHEAD=false
    KONSOLE_DCOP=DCOPRef(konsole-4590,konsole)
    KONSOLE_DCOP_SESSION=DCOPRef(konsole-4590,session-1)
    LANG=en_US
    LC_COLLATE=POSIX
    LD_HWCAP_MASK=0x20000000
    LESS=-M -I
    LESSCLOSE=lessclose.sh %s %s
    LESSKEY=/etc/lesskey.bin
    LESSOPEN=lessopen.sh %s
    LESS_ADVANCED_PREPROCESSOR=no
    LIBPATH=/oracle/ora92/lib
    LOGNAME=oracle92
    LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:s o=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31: ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat =01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=0 0;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00; 31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31 :*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2= 00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=0
    ;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01; 35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35 :*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:* .tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.d l=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=0 0;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00; 32:
    LS_OPTIONS=-N --color=tty -T 0
    MACHTYPE=i686-suse-linux
    MANPATH=/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/gnome2/man:/opt/gnome/man
    MINICOM=-c on
    NNTPSERVER=news
    OPENWINHOME=/usr/openwin
    ORACLE_BASE=/oracle
    ORACLE_HOME=/oracle/ora92
    OSTYPE=linux
    PAGER=less
    PATH=/oracle/ora92/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:.:
    PRINTER=lp
    PROFILEREAD=true
    PWD=/home/oracle92
    SESSION_MANAGER=local/linux:/tmp/.ICE-unix/4498
    SHELL=/bin/bash
    SHLVL=2
    TERM=xterm
    TEXINPUTS=:/home/oracle92/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
    USER=oracle92
    USE_FAM=no
    WINDOWMANAGER=/usr/X11R6/bin/kde
    XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd
    XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
    XNLSPATH=/usr/X11R6/lib/X11/nls
    XSESSION_IS_UP=yes
    _=/usr/bin/env
    linuxquestion@yahoo.com Guest

  2. #2

    Default Re: dbca not working in Linux

    com wrote:
     

    www.suse.com/oracle/

    Not all Suse versions support all versions of Oracle.

    --
    ----- stephan beal
    http://s11n.net/
    Registered Linux User #71917 http://counter.li.org
    I speak for myself, not my employer. Contents may
    be hot. Slippery when wet. Reading disclaimers makes
    you go blind. Writing them is worse. You have been Warned.

    stephan Guest

  3. #3

    Default Re: dbca not working in Linux

    com wrote:
     
    Yep, got a few ideas, and I have Oracle 9.2 installed on a SuSE 8.1 OS.

    First, if you have Oracle installed and cannot get a database installed,
    this could be due to the pathing in those darned configuration files. If
    you failed to get Oracle installed correctly, then the problem can be two
    items of interest.

    First, you need glibc-locale.rpm installed on the SuSE version. It's a must
    have.

    Next, when you start the install, you will get an error message (something
    about plsql). When this happens, log on as root on another screen, and go
    to $ORACLE_HOME/bin. Edit the file genclntsh, find the line beginning with
    SYSLIBS.

    Edit this line by adding -lgcc -L /usr/lib/gcc-lib/i486-suse-linux/3.2/

    write and quit.

    If you install Oracle in anything other than the default directory, you got
    all kinds of pathing issues. The same holds true for the databases you
    create. If you are a Linux user, you can edit pathing in the genelntsh
    file by changing the EXPORTed variable paths.

    After you create the (if other than the default path), you need to copy the
    init[dbname].ora from the database home directory to the [oraclehome]/dba
    directory. When you edit the startup scripts to start the database, this
    is where it will look for the initialization parameters for the db.

    Good Luck,

    dan kirk
    PS: unless you are looking to get deep into Oracle and Linux, I suggest
    just using the default install parameters. It was set up according to some
    d*&%med group's 'ideal' of a universal database structure. Useless, and
    worse than useless when you want your executable stuff on one drive and
    your actual data files on another as with a data warehouse.


    Dan Guest

  4. #4

    Default Re: dbca not working in Linux

    Not being certified with Oracle support does not mean that it
    won't work. 8.2 was recommended by an Oracle and Linux guru.
    Oracle database runs on XP, even though that is not certified.

    Back to the question. How to get the GUI to work on the single
    node? Is it the Display environment variable?

    Thanks


    stephan beal <net> wrote in message news:<bog18n$ln3$noris.net>... 
    >
    > www.suse.com/oracle/
    >
    > Not all Suse versions support all versions of Oracle.[/ref]
    linuxquestion@yahoo.com Guest

  5. #5

    Default Re: dbca not working in Linux

    On Thu, 06 Nov 2003 22:50:42 -0800, linuxquestio wrote:
     
    I had this same problem (although mine was on debian ) and solved it by
    using a newer java engine.I opened up $ORACLE_HOME/bin/dbca and changed
    JRE_DIR to point to a local working copy of the JRE. Assuming that you
    have a relatively recent copy of the JRE, you'll also need to change two
    lines toward the bottom. $JRE_DIR/bin/jre will now become
    $JRE_DIR/bin/java. Then I restarted dbca and everything ran fine.

    -- DDS

    Don Guest

  6. #6

    Default Re: dbca not working in Linux

    Try:

    unset CLASSPATH
    LD_ASSUME_KERNEL=2.4.1
    THREADS_FLAG=native
    export LD_ASSUME_KERNEL THREADS_FLAG

    HTH,
    Dave




    <com> wrote in message
    news:google.com... 
    oracle.ops.mgmt.nativesystem.sQueryCluster.<init>( sQueryCluster.java:78) 
    oracle.sysman.assistants.util.ClusterUtils.<clinit >(ClusterUtils.java:61) 
    oracle.sysman.assistants.dbca.backend.Host.checkOP S(Host.java:1815) 
    oracle.sysman.assistants.dbca.ui.InteractiveHost.< init>(InteractiveHost.java
    :54) 
    CLASSPATH=/oracle/ora92/assistants/dbca/jlib/dbca.jar:/oracle/ora92/assistan
    ts/dbma/jlib/dbma.jar 
    GNOME2_PATH=/opt/gnome2:/opt/gnome:/opt/kde3/share/icons/crystalsvg/48x48/ap
    ps:/opt/kde3/share/icons/hicolor/SuSE-48x48/apps:/opt/kde3/share/icons/cryst
    alsvg/32x32/apps 
    GTK_RC_FILES=/home/oracle92/.gtkrc-keramik:/etc/X11/gtkrc-keramik:/home/orac
    le92/.gtkrc-kde 
    LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:s o=01;35:do=01;35:bd=40;33;
    01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe =01;32:*.com=01;32:*.bat=0
    1;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00; 31:*.tgz=00;31:*.rpm=00;31
    :*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:* .zip=00;31:*.zoo=00;31:*.z
    =00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;3 1:*.tz2=00;31:*.tbz2=00;31
    :*.avi=01;35:*.bmp=0 
    ;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01; 35:*.mng=01;35:*.mov=01;35
    :*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:* .png=01;35:*.ppm=01;35:*.t
    ga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl= 01;35:*.gl=01;35:*.aiff=00
    ;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32 :*.voc=00;32:*.wav=00;32: 
    MANPATH=/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/gnome2/man:/opt/gn
    ome/man 
    PATH=/oracle/ora92/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/game
    s:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gn
    ome/bin:.: 


    Dave Guest

  7. #7

    Default Re: dbca not working in Linux

    On 7 Nov 2003 09:34:30 -0800, com wrote:
     

    Of course not. SIGSEGV tells you have a pointer to a non-existing
    memory location. Usually this points to lack of memory.

    I'm not sure why you insist on being 'smart' by installing Oracle on a
    platform for which it wasn't certified. You seem to be the adventurous
    type, who really likes hacking around. Be aware, if you run into
    trouble, because of your platform choice, you will be on your own.


    --
    Sybrand Bakker, Senior Oracle DBA
    Sybrand Guest

  8. #8

    Default Re: dbca not working in Linux

    Hi,

    Edit $ORACLE_HOME/bin/dbca and insert these comments (####):

    #### if [ -f /etc/rac_on ];then
    # RUN DBCA ...
    $JRE_DIR/bin/jre -native -DORACLE_HOME ... Dbca $ARGUMENTS
    #### else
    # RUN DBCA
    ##### $JRE_DIR
    ##### fi

    dbca should now work but you will have to kill the process after the
    database or template has been created


    hth

    Mike


    com wrote: 

    mike Guest

  9. #9

    Default Re: dbca not working in Linux

    Thanks all for your responses. This is what I did:

    backup, then edit the file:
    /oracle/ora92/bin/dbca

    At the tail end of the file, comment out all, but the line:
    $JRE_DIR/bin...
    Previously, all were set to run.

    #if [ -f /etc/rac_on ]; then
    # Run DBCA

    $JRE_DIR/bin/jre -native -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m
    -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS

    #else
    # Run DBCA
    # $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m
    -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
    #fi


    It worked. If anyone else has the same problem, I hope this helps.



    com wrote in message news:<google.com>... 

    linuxquestion@yahoo.com Guest

Similar Threads

  1. Administrator not working on linux
    By DettCom in forum Coldfusion Server Administration
    Replies: 3
    Last Post: August 14th, 01:27 AM
  2. Flash on Linux not working
    By Enigma2100 in forum Macromedia Flash Player
    Replies: 0
    Last Post: December 31st, 02:27 PM
  3. Not working properly in Linux
    By HobbesPK in forum Macromedia Flash Player
    Replies: 0
    Last Post: June 21st, 01:10 AM
  4. Replies: 1
    Last Post: October 1st, 07:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139