Oracle 8.1.7 on Mandrake 9.1 install problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jan Bols

    Oracle 8.1.7 on Mandrake 9.1 install problems

    I've been trying to install Oracle 8.1.7 on a fresh Mandrake 9.1 O.S for
    days, but I'm still not able to get it running. I've tried several
    install instructions that I found on the internet but no luck yet.

    Here is a short description of what I did so far:

    1. I installed the jdk118_v3-glibc-2.1.3.tar in the /usr/local/ dir and
    made a symbolic link from /usr/local/java to this
    2. I installed all the necessary groups and users (oracle, oinstall, dba)
    3. I edited the .bashrc file of the oracle user. You can find this file
    at the bottom of this message.
    4. I installed oracle, choosing the enterprise edition - typical
    configuration
    5. During the linking phase a lot of errors occurred which I ignored
    6. After the installation I untarred the glibc-2.1.3-stubs.tar.gz from
    the Oracle-website and ran the setup_stubs.sh-script as oracle user.
    When it got to the "Rebuilding client shared library"-part there were
    some errors:

    ---
    Rebuilding client shared
    library.../usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(ntpa.o) (.text+0x17):
    In function `ntpaini':
    : undefined reference to `ntcontab'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(ntpa.o) (.text+0xa6):
    In function `ntpaini':
    : undefined reference to `ntcontab'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nau.o)( .text+0x185a):
    In function `nau_gettab':
    : undefined reference to `nautab'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nau.o)( .text+0x1860):
    In function `nau_gettab':
    : undefined reference to `nautabnum'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nau.o)( .text+0x3473):
    In function `nau_dis':
    : undefined reference to `nautab'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nnfs.o) (.text+0x3cc):
    In function `nnfsgis_get_in stalled_service '
    :
    : undefined reference to `nnfgtable'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nnfg.o) (.text+0x446):
    In function `nnfgiinit':
    : undefined reference to `nnfgtent'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nnfg.o) (.text+0x47d):
    In function `nnfgiinit':
    : undefined reference to `nnfgtable'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nnfg.o) (.text+0x50c):
    In function `nnfgiinit':
    : undefined reference to `nnfgtent'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nnfg.o) (.text+0x517):
    In function `nnfgiinit':
    : undefined reference to `nnfgtable'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(nruvers .o)(.text+0x125 ):
    In function `nruvers':
    : undefined reference to `ntconent'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(ntlooku p.o)(.text+0x2a ):
    In function `ntlookup':
    : undefined reference to `ntconent'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(ntlooku p.o)(.text+0x14 6):
    In function `ntgetcontab':
    : undefined reference to `ntcontab'
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(ntlooku p.o)(.text+0x16 2):
    In function `ntgetcontabent ':
    : undefined reference to `ntconent'
    done.
    ---

    The rest of the script worked fine though.
    7. I applied patch nr 1538440 from the oracle install directory. When I
    ran ./README.1538440 it gave the following errors:

    ---
    Relinking dbsnmp

    cd /usr/local/oracle/u01/app/oracle/product/8.1.7/network/lib
    make -f ins_oemagent.mk idbsnmp
    gcc -L/usr/local/oracle/u01/app/oracle/product/8.1.7/lib/
    -L/usr/local/oracle/u01/app/oracle/product/8.1.7/rdbms/lib
    -L/usr/local/oracle/u01/app/oracle/product/8.1.7/network/lib
    -L/usr/local/oracle/u01/app/oracle/product/8.1.7/lib/
    -L/usr/local/oracle/u01/app/oracle/product/8.1.7/rdbms/lib
    -L/usr/local/oracle/u01/app/oracle/product/8.1.7/network/lib -o dbsnmp
    s0nmi.o -lclntsh -lvppdc \
    -lnmi -lnmd -lnms -lnmsp -lpeer \
    /usr/local/oracle/u01/app/oracle/product/8.1.7/network/lib/libtcl.a
    /usr/local/oracle/u01/app/oracle/product/8.1.7/rdbms/lib/defopt.o
    /usr/local/oracle/u01/app/oracle/product/8.1.7/rdbms/lib/ssdbaed.o
    -lclient8 \
    -ltrace8 -lclntsh
    /usr/local/oracle/u01/app/oracle/product/8.1.7/rdbms/lib/kpuadef.o `cat
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8
    -lnzjs8 -ln8 -lnl8 -lnro8 `cat
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8
    -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8
    -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8
    -lnzjs8 -ln8 -lnl8 -lnro8 `cat
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/ldflags` -lnsgr8
    -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8
    -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8
    -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/sysliblist`
    -Wl,-rpath,/usr/local/oracle/u01/app/oracle/product/8.1.7/lib:/lib:/usr/lib
    -lm `cat
    /usr/local/oracle/u01/app/oracle/product/8.1.7/lib/sysliblist` -ldl -lm
    -lcrypt -ldl -lm -lm
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [dbsnmp] Error 1
    ---

    8. I applied the patch nr. 1542738 also available in the oracle
    installation directory. This didn't return errors.
    9. When I started dbassist I received the following error:

    ---
    /usr/local/oracle/u01/app/oracle/product/8.1.7/bin/dbassist:
    /usr/local/oracle/u01/app/oracle/product/8.1.7/JRE/bin/jre: /bin/sh: bad
    interpreter: Permission denied
    ---

    The same error occurs with other utilities like netca, netassist

    Please help me with some good advise because I ran out of options.


    Thanks

    Jan Bols



    Below you can find the .bashrc of the oracle user.

    ---
    # .bashrc

    # User specific aliases and functions

    # Source global definitions
    if [ -f /etc/bashrc ]; then
    . /etc/bashrc
    fi

    ORACLE_BASE=/usr/local/oracle/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=${O RACLE_BASE}/product/8.1.7; export ORACLE_HOME
    PATH=${PATH}:${ ORACLE_HOME}/bin; export PATH
    NLS_LANG=AMERIC AN_AMERICA.UTF8 ; export NLS_LANG
    ORA_NLS333=${OR ACLE_HOME}/ocommon/nls/admin/data; export ORA_NLS333

    export LD_ASSUME_KERNE L=2.2.5

    export TOP_PATCH_DIR=/home/oracle/Disk1/patch/bug1538440

    LD_LIBRARY_PATH =$ORACLE_HOME/lib:$LD_LIBRARY _PATH
    ORACLE_SID=ivpv db
    JRE_Location=$O RACLE_HOME/JRE
    CLASSPATH1=$JRE _Location:$ORAC LE_HOME/jlib:$ORACLE_HO ME/rdbm/jlib:
    CLASSPATH2=$ORA CLE_HOME/network/jlib:$ORACLE_HO ME/plsql/jlib:
    CLASSPATH3=$ORA CLE_HOME/owm/jlib:$ORACLE_HO ME/assistants/jlib:
    CLASSPATH4=$ORA CLE_HOME/assistants/dbma/jlib:$ORACLE_HO ME/assistants/dbca/jlib:
    CLASSPATH=$CLAS SPATH1$CLASSPAT H2$CLASSPATH3$C LASSPATH4$CLASS PATH
    TNS_ADMIN=$ORAC LE_HOME/network/admin
    TWO_TASK=ivpvdb .autoctrl.UGent .be #net service name of the database
    export ORACLE_BASE ORACLE_HOME NLS_LANG ORA_NLS33 PATH
    export CLASSPATH JRE_Location ORACLE_SID LD_LIBRARY_PATH
    ---

  • Jan Bols

    #2
    Re: Oracle 8.1.7 on Mandrake 9.1 install problems

    You can forget the previous post.

    The problem was that I booted from a secure version of Mandrake
    (vmlinuz-secure instead of vmlinuz) which is selected by default. When I
    reinstalled Oracle on the normal version, everything went smooth.

    Stupid of me.

    Jan Bols

    Comment

    • snaren_dba

      #3
      Re: Oracle 8.1.7 on Mandrake 9.1 install problems


      Hi,
      I am Narendran and could u pls guide me to install oracle 8.1.7 in
      Mandrake linux 9.1.
      Looking for ur reply.
      Thank u.

      --
      Posted via http://dbforums.com

      Comment

      • Russell

        #4
        Re: Oracle 8.1.7 on Mandrake 9.1 install problems

        Heya,

        Try these links for help or send me a mail and ill send you my install guide!
        Success

        R.







        snaren_dba <member32299@db forums.comwrote in message news:<3218615.1 060365291@dbfor ums.com>...
        Hi,
        I am Narendran and could u pls guide me to install oracle 8.1.7 in
        Mandrake linux 9.1.
        Looking for ur reply.
        Thank u.

        Comment

        Working...