General
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems during installation of Oracle 8i

Abhijit_10
Occasional Advisor

Problems during installation of Oracle 8i

We have HP Proliant ML-350 having Redhat Linux Advance Server 2.1 as operating system.
We have two processors.
The memory is 512MB.

When we run top the CPU utilization is 99.9%during the installation of Oracle 8i.

The installation is running from last 2 hrs as well as the cpu utilization is 99.9% constantly.

Kindly advice.
13 REPLIES
Fred Ruffet
Honored Contributor

Re: Problems during installation of Oracle 8i

Is there a particular reason for you to install 8i ? I believe that RH AS 2.1 was supported for 9i. You may encountered problem if this version of Oracle hasn't be compiled on an equivalent server (kernel/libc).

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Abhijit_10
Occasional Advisor

Re: Problems during installation of Oracle 8i

Fred,

Many thanks for the advice.

The requirement is to install Oracle8.1.7 on the given system having OS Redhat AS 2.1.

We have applied i386-glibc-2.1-linux.tar.gz
after untar we hid the gcc,cc & ld under /usr/bin & recreated the links.

Also we hid the lib.so, libdl.so , libm.so under /usr/bin

j2sdk-1_3_1_01-linux-i386-rpm.bin was also applied


After doing this we ran the Oracle installer.

We got errors during installation for various mk files errors.

Error's :
1.
Error in invoking target ntcrontab.o of make file /oracle/network/lib/ins_net_client.mk
2.
Error in invoking target ntcrontab.o of make file /oracle/network/lib/ins_nau.mk
3.
Error in invoking target ntcrontab.o of make file /oracle/network/lib/ins_precomp.mk

like this for 12 files error was invoked.

We have ignored these errors so that we can run glibc-2.1.3-stubs.tar.gz.

It has a script setup_stubs.sh

which contains
*******************************************
#!/bin/bash

patch_mk()
{
echo -n " checking file '$1'..."

# remove the temporary file if it exists
if [ -f $1.stub ]; then
rm $1.stub
fi

# if the file to be patched exists...
if [ -f $1 ]; then
# create a new temporary file with the changes
sed -e '/^LDFLAGS=.*-L$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/-L$(LIBHOME)[[:space:]]\?/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*-L$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/-L$(LIBHOME)[[:space:]]\+/-L$(LIBHOME) -L$(LIBHOME)\/stubs\/ /' -e '/^LDFLAGS=.*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^LDFLAGS=/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\?/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' -e '/^[[:blank:]]$(CC).*$(LDPATHFLAG)$(LIBHOME)\/stubs\//n' -e '/^[[:blank:]]$(CC)/s/$(LDPATHFLAG)$(LIBHOME)[[:space:]]\+/$(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)\/stubs\/ /' $1 > $1.stub

# if the sed command actually changed some lines...
if ! diff -q $1 $1.stub 2>&1 >/dev/null; then
mv $1 $1.nostub
mv $1.stub $1
echo -n "patched."
else
rm $1.stub
echo -n "OK."
fi
fi
echo
}

OH=$ORACLE_HOME
RELINK=$OH/bin/relink

if [ -z $OH ]; then
echo "ERROR: ORACLE_HOME is not set in the environment!"
exit -1
elif [ ! -d $OH ]; then
echo "ERROR: ORACLE_HOME is set to an invalid directory!"
exit -1
fi

if [ ! -f $RELINK ]; then
echo "ERROR: $ORACLE_HOME/bin/relink not found."
exit -1
fi

cd $OH

echo -n "Setting up patch files..."
if [ ! -f lib/stubs/libc.so.tmp ]; then
echo "ERROR: $ORACLE_HOME/lib/stubs/libc.so.tmp not found."
echo " Make sure the stub library patch was extracted properly."
exit -1
fi
sed -e "s%__OH__%$ORACLE_HOME%g" lib/stubs/libc.so.tmp > lib/stubs/libc.so

cp -p bin/genclntsh bin/genclntsh.stub
sed -e '/^LD=.*-L${ORACLE_HOME}\/lib\/stubs\//n' -e '/^LD=/s/-L${ORACLE_HOME}\/lib[[:space:]]\?/-L${ORACLE_HOME}\/lib -L${ORACLE_HOME}\/lib\/stubs\/ /' -e '/^LD=.*$(LDPATHFLAG)${ORACLE_HOME}\/lib\/stubs\//n' -e '/^LD=/s/$(LDPATHFLAG)${ORACLE_HOME}\/lib[[:space:]]\?/$(LDPATHFLAG)${ORACLE_HOME}\/lib $(LDPATHFLAG)${ORACLE_HOME}\/lib\/stubs\/ /' bin/genclntsh > bin/genclntsh.stub
if ! diff -q bin/genclntsh bin/genclntsh.stub 2>&1 >/dev/null; then
mv bin/genclntsh bin/genclntsh.nostub
mv bin/genclntsh.stub bin/genclntsh
else
rm bin/genclntsh.stub
fi
echo "done."

echo "Patching makefiles as necessary:"
prodlist=`find $OH -name "*.mk"`
for file in $prodlist; do
patch_mk $file
done

echo -n "Rebuilding client shared library..."
$OH/bin/genclntsh >/dev/null
echo "done."

echo "Relinking executables:"
for mkfile in `find $OH -name "ins_*.mk"`; do
dir=`dirname $mkfile`
file=`basename $mkfile`
pushd $dir >/dev/null
echo -n " running '$file'..."
if [ $file != "ins_precomp.mk" ]; then
make -i -f $file install >/dev/null 2>&1
else
make -i -f $file relink >/dev/null 2>&1
fi
echo "done."
popd >/dev/null
done
******************************************
But the installation process is still running for last 3 hours.

Kindly advice if any other procedure to be followed for the installation.

Thanks in Advance.
Emir Faisal
Frequent Advisor

Re: Problems during installation of Oracle 8i

Have you setup the proper value for $LD_ASSUME_KERNEL?

Check metalink.oracle.com for any error message and patches. i've tried several combination (rh9+oracle9i, rh9+oracle9ir2, rhas2.1+oracle9ir2, rhas2.1+oracle9iAS, rhas2.1+oracle9iASr2), it works for me.

EF
Everything is possible, if you don't know what you're talking about.
Vitaly Karasik_1
Honored Contributor

Re: Problems during installation of Oracle 8i

There are several tricks, see for example this doc:

http://staff.in2.hr/denis/oracle/817install_rh72_en.html
Abhijit_10
Occasional Advisor

Re: Problems during installation of Oracle 8i

Amir,

Thanks for the advice .

The settings are fine.

Is it possible for me to get a procedure for the installation ?

Abhijit_10
Occasional Advisor

Re: Problems during installation of Oracle 8i

Amir

The LD_ASSUME_KERNEL is 2.4.9-e.3smp
Vitaly Karasik_1
Honored Contributor

Re: Problems during installation of Oracle 8i

you should set export LD_ASSUME_KERNEL=2.2.5
but there are more settings - please read manual I sent.
Abhijit_10
Occasional Advisor

Re: Problems during installation of Oracle 8i

Vitaly ,

After setting export LD_ASSUME_KERNEL=2.2.5

And taking the help from the manual which you had sent.

I removed all oracle and oracle entries and restarted the installation but it is still giving errors during installation for various mk files errors.

Error's :
1.
Error in invoking target ntcrontab.o of make file /oracle/network/lib/ins_net_client.mk
2.
Error in invoking target ntcrontab.o of make file /oracle/network/lib/ins_nau.mk
3.
Error in invoking target ntcrontab.o of make file /oracle/network/lib/ins_precomp.mk

like this for 12 files error was invoked.

Now after the setup went to netconfiguration it gave the following error:
libclntsh.so.8.0:cannot open shared object file: No such file or directory (libnjni8.so)
error loading native library : libnjni8.so
java.lang.UnsatisfiedLink error.jniGetOracleHome
at
at Oracle.net.ca.CmdlineArgs.setOraArgs(Compiled Code)
at Oracle.net.ca.NetCA (Compiled Code)
at Oracle.net.ca.NetCA.main (Compiled Code)
Vitaly Karasik_1
Honored Contributor

Re: Problems during installation of Oracle 8i

There is some part with glibc-2.1.3-stubs,
if previous doc forgot it, read this:
http://linuxlab.dk/fcl/technotes/ora_817_3
Abhijit_10
Occasional Advisor

Re: Problems during installation of Oracle 8i

Many thanks for the help.

I have a new problem at hand now .

I was successfully able to install Oracle Enterpise Edition (8.1.7).
But as soon as I started creation of database from ./dbassist i received errors as following

1. ORA-01519
2. ORA-00604
3. ORA-01119
4. ORA-27044
5. ORA-01109

And the database creation was aborted.

Do I try reinstalling Oracle and creation of database once again.
Fred Ruffet
Honored Contributor

Re: Problems during installation of Oracle 8i

What are the make error ? You can have them in OraInventory/logs directory.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Abhijit_10
Occasional Advisor

Re: Problems during installation of Oracle 8i

There were no make errors.

There was a problem in the DBCA as it was not able to get the files for the installation so I have started the installation again from scratch.
Abhijit_10
Occasional Advisor

Re: Problems during installation of Oracle 8i

Hi all,

Many thanks to Emir Faisal.

Especially to Fred Ruffet and Vitaly Karasik ,I have been able to install the Oracle database 8.1.7 on Redhat Linux AS 2.1 server successfully.