Women in Technology

Hear us Roar



Article:
  Installing Oracle 9iR2 on Red Hat 9
Subject:   according to problem (dbca)
Date:   2005-03-19 10:07:58
From:   najeebuddinsyed
Response to: according to problem (dbca)

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • according to problem (dbca)
    2005-03-23 22:15:56  Installing-Oracle-9iR2-on-Red-Hat-9 [View]

    Hi,
    I am Trying Oracle 9.2.0.1.0 on Linux Red Hat 9
    I am following instruction on puschitz.com.

    Things went fine during installtion as i proceed as per puschitz's instructions
    However at the i faced some problem.
    and i badly seek your advice and help on that

    Below is list of activities i done for this..

    Checked Memory
    grep MemTotal /proc/meminfo : found proper

    Checked Swap space
    cat /proc/swaps : found proper

    set Shared Memory
    echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf

    checked the space in /tmp
    $ df /tmp : found adequate

    Oracle Disk Space
    /oradir mount point with 3GB space

    checked Development Packages
    rpm -q gcc cpp compat-libstdc++ glibc-devel glibc-kernheaders binutils

    Created Oracle user Account
    su - root
    groupadd dba # group of users to be granted with SYSDBA system privilege
    groupadd oinstall # group owner of Oracle files
    useradd -c "Oracle software owner" -g oinstall -G dba oracle
    passwd oracle

    Created Oracle Directories
    su - root
    mkdir /oradir/oracle
    mkdir /oradir/oracle/product
    mkdir /oradir/oracle/product/9.2.0
    chown -R oracle.oinstall /oradir/oracle

    Following not created as i was not having /var mount point
    mkdir /var/opt/oracle
    chown oracle.dba /var/opt/oracle
    chmod 755 /var/opt/oracle


    Added Following Environment variables in .bash_profiles of oracle user and confirmed by relogging and 'set' as well as echo
    export LD_ASSUME_KERNEL=2.4.1

    export ORACLE_BASE=/oradir/oracle
    export ORACLE_HOME=/oradir/oracle/product/9.2.0
    export ORACLE_SID=SAKET
    export ORACLE_TERM=xterm
    export NLS_LANG=AMERICAN;
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_LIBRARY_PATH
    export PATH=$PATH:$ORACLE_HOME/bin

    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
    export CLASSPATH

    Now, i relogged in and checked environment variables are proper

    put CD 1 Of 3 ->the OUI started Properly
    ORacle Home Name : j
    Oracle Home Path : /oradir/oracle/product/9.2.0.1.0 (was selected by default)

    Privileged Operating System Groups :dba (i kept the default)
    Oracle Managent Server Repository: New i selected
    Create database : No


    The Error1 (resolved finally)
    "Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk"
    adding "`cat $(LIBHOME)/sysliblist`" string to $ORACLE_HOME/ctx/lib/env_ctx.mk and clicking 'Retry' resolved it
    INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m `cat $(LIBHOME)/sysliblist` $(LDLIBFLAG)sc_ca $(LDLIBFLAG)sc_fa $(LDLIBFLAG)sc_ex $(LDLIBFLAG)sc_da $(LDLIBFLAG)sc_ut $(LDLIBFLAG)sc_ch $(LDLIBFLAG)sc_fi $(LLIBCTXHX) $(LDLIBFLAG)c -Wl,-rpath,$(CTXHOME)lib $(CORELIBS) $(COMPEOBJS)

    Then
    Database Creation complete successful
    Link Successful
    Network Services Successful

    Then Error2 (unresolved)
    the attemp to create a database for the enterprise manager repository failed, because:
    The command:
    "/oradir/oracle/product/9.2.0.1.0/bin/dbca -
    progress_only -emca_interrnal -createDatabase -
    templateName Transaction_Processing.dbc -
    gdbName OEMREP.localdomain -sid OEMREP"
    RETURNED STATUS: 137


    Here i finished installation thinking that i will go for OEM stuff later point of time.

    Then Error3 (unresolved)
    then tried to start dbca
    dbca
    SIGSEGV 11* segmentation violation
    stackbase stackpointer
    Full thread:
    ..
    ..
    ..
    /oradir/oracle/product/9.2.0.1.0/bin/dbca: line 124: 3170 killed $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH..........
    oracle.sysman.assistants.dbca.Dbca $ARGUMENTS

    I executed the ipcs command to get the address of the shared memory segments that have been allocated by Oracle:
    $ su - root
    # ipcs

    But there was no entry with 'oracle' as owner name.

    Then Error4 (unresolved)

    Then Tried lsnrctl
    lsnrctl status
    .. Got an error
    According to puschitz.com

    su - root
    mkdir /var/tmp/.oracle
    chown oracle:dba /var/tmp/.oracle
    Now try to run lsnrctl start as oracle again.
    But i do not have /var
    What tyo do here?


    Here i am stuck up, i struggled a lot last few days.
    success seems closer but how to get it.

    Here again i need your advice
    puschitz.com asks for patches for RH As not for RH. so how to proceed are any patches required for RH 9 also or same as RH AS.
    if yes can you help me in getting URL, i am trying at home, no metalink registration available.

    Thanks in advance
    Pratap