1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

upgrade from 10.2.0.1 to 10.2.0.4 SLES 10 SP 2

Discussion in 'Installation - Unix and Unix Like' started by firess, Oct 8, 2010.

  1. firess

    firess Active Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    55
    i'm running on SLES 10 SP2 and the following errors occur when upgrading.

    oracle@txlrprogmandbdr:~> rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'com pat|glibc|gcc|libst|binu'|sort
    binutils-2.16.91.0.5-23.31.x86_64
    binutils-32bit-2.16.91.0.5-23.31.x86_64
    compat-libstdc++-5.0.7-22.2.x86_64
    gcc-4.1.2_20070115-0.21.x86_64
    gcc-c++-4.1.2_20070115-0.21.x86_64
    gcc-java-4.1.2_20070115-0.21.x86_64
    gcc-obj-c++-4.1.2_20070115-0.21.x86_64
    gcc-objc-4.1.2_20070115-0.21.x86_64
    glibc-2.4-31.54.x86_64
    glibc-32bit-2.4-31.54.x86_64
    glibc-devel-2.4-31.54.x86_64
    glibc-devel-32bit-2.4-31.43.7.x86_64
    glibc-i18ndata-2.4-31.54.x86_64
    glibc-locale-2.4-31.54.x86_64
    glibc-locale-32bit-2.4-31.54.x86_64
    glibc-profile-32bit-2.4-31.54.x86_64
    libgcc-4.1.2_20070115-0.21.x86_64
    libstdc++-4.1.2_20070115-0.21.x86_64
    libstdc++-devel-4.1.2_20070115-0.21.x86_64
    libstroke-0.5.1-15.2.x86_64


    uname -a
    Linux txlrprogmandbdr 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux


    patch applied when upgrading :1-p6810189_10204_Linux-x86-64.zip


    sqlplus

    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Oct 8 13:32:35 2010

    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.







    Oracle error from make.log ( just two errors.i opted to "continue")


    gcc -m32 -trigraphs -fPIC -m32 -o /oracle/product/10.2/db_1/sysman/lib/e2eme -L/oracle/product/10.2/db_1/sysman//lib32/ -L/oracle/product/10.2/db_1/lib32/ -L/oracle/product/10.2/db_1/lib32/stubs/ /oracle/product/10.2/db_1/sysman//lib32/nmaj.o /oracle/product/10.2/db_1/sysman//lib32/nmajclbk.o /oracle/product/10.2/db_1/sysman//lib32/nmajrules.o /oracle/product/10.2/db_1/sysman//lib32/nmajutl.o /oracle/product/10.2/db_1/sysman//lib32/nmajout.o /oracle/product/10.2/db_1/sysman//lib32/nmajsm.o /oracle/product/10.2/db_1/sysman//lib32/snmajutl.o /oracle/product/10.2/db_1/sysman//lib32/snmajmn.o /oracle/product/10.2/db_1/sysman//lib32/snmajpt.o /oracle/product/10.2/db_1/sysman//lib32/ssnmajed.o /oracle/product/10.2/db_1/sysman//lib32/libnmadbg.a /oracle/product/10.2/db_1/sysman//lib32/libnmadm.a /oracle/product/10.2/db_1/sysman//lib32/libnmalk.a /oracle/product/10.2/db_1/sysman//lib32/libnmarl.a /oracle/product/10.2/db_1/sysman//lib32/libnmasf.a /oracle/product/10.2/db_1/sysman//lib32/libnmastk.a -lxml10 -lcore10 -lnls10 -lunls10 -lclntsh -Wl,-rpath,/oracle/product/10.2/db_1/lib32 `cat /oracle/product/10.2/db_1/lib32/sysliblist` -ldl -lm -lpthread -lnsl -lm -ldl -ln10
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnftboot'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnfhboot'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflboot'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `ntusini'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflrne'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflgapc'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflfrm'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `ntpini'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nttsdpini'
    /oracle/product/10.2/db_1/lib32//libcmake[1]: Leaving directory `/oracle/product/10.2/db_1/sysman/lib'
    lntsh.so: undefined reference to `nttini'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflgav'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `ntzini'
    collect2: ld returned 1 exit status
    make[1]: *** [/oracle/product/10.2/db_1/sysman/lib/e2eme] Error 1
    make: *** [e2eme] Error 2



    Linking external procedure agent (/oracle/product/10.2/db_1/rdbms/lib/extproc32)
    rm -f /oracle/product/10.2/db_1/rdbms/lib/extproc32
    gcc -m32 -o /oracle/product/10.2/db_1/rdbms/lib/extproc32 -L/oracle/product/10.2/db_1/rdbms/lib32/ -L/oracle/product/10.2/db_1/lib32/ -L/oracle/product/10.2/db_1/lib32/stubs/ /oracle/product/10.2/db_1/rdbms/lib32/hormc.o /oracle/product/10.2/db_1/rdbms/lib32/defopt.o /oracle/product/10.2/db_1/rdbms/lib32/homts.o -lagtsh -lpls10 -lplp10 -lpthread -lclntsh -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 /oracle/product/10.2/db_1/lib32/libgeneric10.a `cat /oracle/product/10.2/db_1/lib32/sysliblist` -Wl,-rpath,/oracle/product/10.2/db_1/lib -lm `cat /oracle/product/10.2/db_1/lib32/sysliblist` -ldl -lm -L/oracle/product/10.2/db_1/lib -lvsn10
    /oracle/product/10.2/db_1/lib32//libagtsh.so: undefined reference to `nnflboot'
    /oracle/product/10.2/db_1/lib32//libagtsh.so: undefined reference to `ntusini'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflrne'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflgapc'
    /oracle/product/10.2/db_1/lib32//libagtsh.so: undefined reference to `snlgdn'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflfrm'
    /oracle/product/10.2/db_1/lib32//libagtsh.so: undefined reference to `ntpini'
    /oracle/product/10.2/db_1/lib32//libagtsh.so: undefined reference to `nttsdpini'
    /oracle/product/10.2/db_1/lib32//libagtsh.so: undefined reference to `nttini'
    /oracle/product/10.2/db_1/lib32//libclntsh.so: undefined reference to `nnflgav'
    /oracle/product/10.2/db_1/lib32//libagtsh.so: undefined reference to `ntzini'
    collect2: ld returned 1 exit status
    make[1]: *** [/oracle/product/10.2/db_1/rdbms/lib/extproc32] Error 1
    make[1]: Leaving directory `/oracle/product/10.2/db_1/rdbms/lib'
    make: *** [extproc32] Error 2


    when i try to run the enterprise manager updgrade the following error is shown:

    oracle@txlrprogmandbdr:~> dbua
    UnsatisfiedLinkError exception loading native library: njni10
    Exception in thread "main" java.lang.UnsatisfiedLinkError: get
    at oracle.net.common.NetGetEnv.get(Native Method)
    at oracle.net.config.Config.getNetDir(Unknown Source)
    at oracle.net.config.Config.initConfig(Unknown Source)
    at oracle.net.config.Config.<init>(Unknown Source)
    at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:2 25)
    at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.jav a:264)
    at oracle.sysman.assistants.dbma.backend.CompManager.<init>(CompManager. java:610)
    at oracle.sysman.assistants.dbma.ui.UICompManager.<init>(UICompManager.j ava:150)
    at oracle.sysman.assistants.dbma.Dbma.getCompManager(Dbma.java:154)
    at oracle.sysman.assistants.dbma.Dbma.execute(Dbma.java:98)
    at oracle.sysman.assistants.dbma.Dbma.statusMain(Dbma.java:199)
    at oracle.sysman.assistants.dbma.Dbma.main(Dbma.java:180)


    i'm sure these two errors are related.i just dont know which library/ries i'm missing.

    Thanks.
     
  2. zargon

    zargon Community Moderator Forum Guru

    Messages:
    2,347
    Likes Received:
    348
    Trophy Points:
    1,430
    Location:
    Aurora, CO
    I believe any O/S related rpms need to be installed as 'root', not 'oracle'.
     
  3. firess

    firess Active Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    55
    yes,i installed all the packages as root.but the command to display packages installed can be run by the oracle user.