| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Oracle 8i installation issue RedHat Linux 7.1
Installation issues of oracle 8i on RedHat linux 7.1.
In the release notes of linux 7.1 on RedHat it says that I do have
tremendous problem to install oracle 8.1.0.7 on linux 7.1. Here is the
following steps you will need to follow before you start the oracle
installation and during the oracle installation.
Perform these steps after you did all the necessary tasks you are
suppose to do for oracle installation as per the installation guide.
I got all these information from the net and just putting them
altogether.
Steps 1.
Login as root.
After installing LINUX, install these pacakges (the "compat" packages
are necessary for Oracle, the others are services for ftp,telnetd,ssh
& samba)
OFF CD 1 /mnt/cdrom/RedHat/RPMS
rpm -ivh xinetd-2.1.8.9pre14-6.i386.rpm rpm -ivh telnet-server-0.17-10.i386.rpm rpm -ivh openssh-server-2.5.2p2-5.i386.rpm rpm -ivh wu-ftpd-2.6.1-16.i386.rpm
rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-glibc-6.2-2.1.3.2.i386.rpm;
OFF CD 2 rpm -ivh samba-2.0.7-36.i386.rpm
rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-egcs-6.2-1.1.2.14.i386.rpm; rpm -ivh /mnt/cdrom/RedHat/RPMS/compat-libs-6.2-3.i386.rpm;
Now, run
ntsysv
and choose
smb
wu-ftp
telnetd
ssh
Steps 2.
Login as oracle user.
Create a shell script file ora_install_env.sh
Add the following entry on the file.
#! /bin/sh
unset LANG
export LD_ASSUME_KERNEL=2.2.5
export LDEMULATION=elf_i386_glibc21
export GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/
Save the file and run from the $ prompt. Make sure you will start your oracle installation from this window.
Steps 3
Run the oracle installer .
Cd mntrom/Disk1 (assuming ur cdrom is mounted in the /mnt/cdrom)
. ./runInstaller
Follow the screen as per the instruction. Make sure jdk is installed
in the java home you specified during the time of installation. For my
case it was /usr/local/java
Steps 4.
After installation is complete 97 %
Error in invoking target install of makefile
/ora01/app/oracle/product/8.1.7/ctx/lib/ins_ctx.mk
At this point you need the file glibc-2.1.3-stubs.tar.gz. As user oracle do the following:
$ cd $ORACLE_HOME
$ tar -xvzf /tmp/glibc-2.1.3-stubs.tar.gz
./
./lib/
./lib/stubs/
./lib/stubs/libc-2.1.3-stub.so
...
./lib/stubs/libnss_files.so
./setup_stubs.sh
./README.stub
$ ./setup_stubs.sh
Setting up patch files...done.
Patching makefiles as necessary:
checking file
'/ora01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/rdbms/demo/ociucb.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/rdbms/lib/ins_rdbms.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/rdbms/lib/env_rdbms.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/network/lib/ins_net_client.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/network/lib/env_network.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/network/lib/ins_cman.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/network/lib/ins_names.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/network/lib/ins_oemagent.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/network/lib/env_oemagent.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/network/lib/ins_net_server.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/network/lib/ins_nau.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/plsql/lib/env_plsql.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/plsql/lib/ins_plsql.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/plsql/demo/demo_plsql.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/precomp/lib/ins_precomp.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/precomp/lib/env_precomp.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/ldap/lib/env_ldap.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/ldap/lib/ins_ldap.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/ldap/demo/demo_ldap.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/sqlplus/lib/env_sqlplus.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/sqlplus/lib/ins_sqlplus.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/ord/im/lib/env_ordim.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/ord/img/demo/demo_ordimg.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/ord/ts/demo/oci/src/demo_ordts.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/ord/ts/demo/proc/src/demo_ordts.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/ord/ts/lib/env_ordts.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/md/demo/examples/demo_sdo.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/md/demo/unix/motif/src/demo_motif.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/md/demo/unix/motif/src/db_src/demo_dbsrc.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/md/demo/unix/motif/src/main_src/demo_mainsrc.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/otrace/demo/atmoci.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/otrace/lib/env_otrace.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/otrace/lib/ins_otrace.mk'...OK.
checking file
'/ora01/app/oracle/product/8.1.7/ctx/lib/env_ctx.mk'...patched.
checking file
'/ora01/app/oracle/product/8.1.7/ctx/lib/ins_ctx.mk'...OK.
Rebuilding client shared library...done.
Relinking executables:
running 'ins_rdbms.mk'...done.
running 'ins_net_client.mk'...done.
running 'ins_cman.mk'...done.
running 'ins_names.mk'...done.
running 'ins_oemagent.mk'...done.
running 'ins_net_server.mk'...done.
running 'ins_nau.mk'...done.
running 'ins_plsql.mk'...done.
running 'ins_precomp.mk'...done.
running 'ins_ldap.mk'...done.
running 'ins_sqlplus.mk'...done.
running 'ins_otrace.mk'...done.
running 'ins_ctx.mk'...done.
$
and then continue the installation, that is, click Ignore.
A popup window then appears asking to execute the script
/ora01/app/oracle/product/8.1.7/root.sh as user root. Before we
execute the script we
correct a few errors (taken from this note). Line 102
RMF=/bin/rm -f
is changed into
RMF=`/bin/rm -f`
and line 156
RUID=`/usr/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}`
is changed into
RUID=`/usr/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}'`
Execute the script root.sh as user root:
# whoami
root
# /ora01/app/oracle/product/8.1.7/root.sh
IMPORTANT NOTE: Please delete any log and trace files previously
created by the Oracle Enterprise Manager
Intelligent
Agent. These files may be found in the
directories
you use for storing other Net8 log and trace
files.
If such files exist, the OEM IA may not restart.
Running Oracle8 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /ora01/app/oracle/product/8.1.7
ORACLE_SID= odb
Enter the full pathname of the local bin directory:
[/usr/local/bin]:
Hit Enter
\nCreating /etc/oratab file...
Entry will be added to the /etc/oratab file by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/network/trace/dbsnmp*.trc: No such
file or directory
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/network/trace/oratcl*.trc: No such
file or directory
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/network/log/dbsnmp*.log: No such file
or directory
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/network/log/nmiconf.log: No such file
or directory
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/bin/dbsnmp0: No such file or directory
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/bin/oemevent0: No such file or
directory
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/bin/oratclsh0: No such file or
directory
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/network/agent/library/pkgIndex.tcl: No
such file or directory
/ora01/app/oracle/product/8.1.7/root.sh:
/ora01/app/oracle/product/8.1.7/network/admin/snmp_ro.ora: No such
file or directory
/ora01/app/oracle/product/8.1.7/root.sh: /snmp_ro.ora: No such
file or directory
[root_at_nh 8.1.7]#
Hmm, more errors!. In root.sh the above files are removed using rm -f:
...
# remove all previously created log and trace files
$RMF $ORACLE_HOME/network/trace/dbsnmp*.trc
$RMF $ORACLE_HOME/network/trace/oratcl*.trc
$RMF $ORACLE_HOME/network/log/dbsnmp*.log
$RMF $ORACLE_HOME/network/log/nmiconf.log
$RMF $ORACLE_HOME/bin/dbsnmp0
$RMF $ORACLE_HOME/bin/oemevent0
$RMF $ORACLE_HOME/bin/oratclsh0
# remove previously created pkgIndex.tc file
$RMF $ORACLE_HOME/network/agent/library/pkgIndex.tcl
# remove previously created snmp_ro.ora file
$RMF $ORACLE_HOME/network/admin/snmp_ro.ora
$RMF $TNS_ADMIN/snmp_ro.ora
...
I assume, that we can silently ignore this.
In the Net8 Configuration Assistant: Welcome window choose Perform typical configuration and click Next.
The Net8 Configuration Assistant hang for a while and then the window
Database Creation Progress appeared. After a while a pupop window with
database information appeared:
Database creation completed.
Database information:
global database name: ballinux.linuxbox (my database name and linux machine name)
database system identifier(SID): ballinux
SYS account passwrod: change_on_install
SYSTEM account password: manager
A window End of installation appears; click Exit, and then Yes.
Hope this will help Received on Fri Oct 18 2002 - 04:41:56 CDT
![]() |
![]() |