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_installed_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(ntlookup.o)(.text+0x2a):
In function `ntlookup':
: undefined reference to `ntconent'
/usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(ntlookup.o)(.text+0x146):
In function `ntgetcontab':
: undefined reference to `ntcontab'
/usr/local/oracle/u01/app/oracle/product/8.1.7/lib/libn8.a(ntlookup.o)(.text+0x162):
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=${ORACLE_BASE}/product/8.1.7; export ORACLE_HOME
PATH=${PATH}:${ORACLE_HOME}/bin; export PATH
NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG
ORA_NLS333=${ORACLE_HOME}/ocommon/nls/admin/data; export ORA_NLS333
export LD_ASSUME_KERNEL=2.2.5
export TOP_PATCH_DIR=/home/oracle/Disk1/patch/bug1538440
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
ORACLE_SID=ivpvdb
JRE_Location=$ORACLE_HOME/JRE
CLASSPATH1=$JRE_Location:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbm/jlib:
CLASSPATH2=$ORACLE_HOME/network/jlib:$ORACLE_HOME/plsql/jlib:
CLASSPATH3=$ORACLE_HOME/owm/jlib:$ORACLE_HOME/assistants/jlib:
CLASSPATH4=$ORACLE_HOME/assistants/dbma/jlib:$ORACLE_HOME/assistants/dbca/jlib:
CLASSPATH=$CLASSPATH1$CLASSPATH2$CLASSPATH3$CLASSP ATH4$CLASSPATH
TNS_ADMIN=$ORACLE_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
---