Home » Infrastructure » Linux » Installing Oracle 8.1.6 on Red Hat 7.2
Installing Oracle 8.1.6 on Red Hat 7.2 [message #98664] Mon, 08 April 2002 02:04 Go to next message
navin shakya
Messages: 2
Registered: April 2002
Junior Member
I did all the post installation task suggested in oracle installation.
but while after running ./runInstaller
instead of giving GUI screen, it stop giving oracle jvm error.

how can solve this problem and install oracle 8.1.6 in red hat 7.2

thank you
Re: Installing Oracle 8.1.6 on Red Hat 7.2 [message #98666 is a reply to message #98664] Thu, 18 April 2002 22:21 Go to previous messageGo to next message
Girdhari Choudhary
Messages: 18
Registered: March 2002
Junior Member
To install 8.1.6 on RedHat 7.2 first i am giving a complete set of instrcution and i have done by these stpes
Following:-Installatoin of Oracle 8i (817) Release 3 on Linux RedHat 7.1 / 7.2

1. Download Oracle for Linux from technet.oracle.com, It is free to download, you have to register at the site.
linux81701.tar
Extract it in /usr/src with following command
tar xvf linux81701.tar

1.a Patch for Oracle8i
Download this file (glibc-2.1.3-stubs.tar) at any location

2. Download JDK 1.1.8 Release 3 (jdk118_v3-glibc-2.1.3.tar.bz2 from blackdown.org in /usr/local
Extract it with following command
tar xvf jdk118_v3-glibc-2.1.3.tar.bz2
Create a link with following command
ln -s /usr/local/jdk118_v3 /usr/local/java

3. Update First the Glibc 2.1.3 using following Installation of RPMs
(you can find these RPMs on Net or on RPM Directory of Linxu RedHat 7.2)
Ist Part Installation :
rpm --install --force compat-glibc-6.2-2.1.3.2.i386.rpm
rpm --install --force compat-libstdc++-6.2-2.9.0.16.i386.rpm
rpm --install --force compat-libs-6.2-3.i386.rpm

IInd Part Installation :
rpm --install --force compat-egcs-6.2-1.1.2.16.i386.rpm
rpm --install --force compat-egcs-g77-6.2-1.1.2.16.i386.rpm
rpm --install --force compat-egcs-c++-6.2-1.1.2.16.i386.rpm
rpm --install --force compat-egcs-objc-6.2-1.1.2.16.i386.rpm

4. Create Groups for installation
groupadd oinstall
groupadd dba
groupadd oper

5. Create a user named oracle for installation as Primary Group oinstall and Seconday as dba and oper
useradd oracle -g oinstall -G dba,oper

6. Change the password of oracle
passwd oracle
(It is asking to enter password for oracle, give password and retype it, thats done)

7. If you have not created mount point for Oracle then create Directories to Install Oracle
(Oracle recommands diff. partition for Oracle Software and Data Files)
mkdir /u01
mkdir /u02
mkdir /u03
mkdir /u04

8. Change the Ownership of mount point/Directories and Access Permissions as follows :
chown oracle.dba /u01 (Same for u02, u03, u04)
chmod 775 /u01
chmod 775 /u02
chmod 775 /u03
chmod 775 /u04

9. Steps to be followed when a installation interrupts inbetween and you are again want to start a fresh installation
cd /etc
rm oraInst.loc
mv oratab oratab.old
cd /tmp
rm -r OraInstall
cd /usr/bin
rm dbhome oraenv coraenv
cd /usr/local/bin
rm dbhome oraenv coraenv

10.Log Off and Login as oracle

11.Define the following Variables and export in your suitable profile, profile names are as .<shell>_profile (i.e. .bash_profile for bash shell).
(you can edit a .bash_profile using ur favourite editor i.e. vi)

ORACLE_BASE=/Oracle8i/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/8.1.7; export ORACLE_HOME
ORACLE_SID=test; export ORACLE_SID
PATH=$PATH:/$ORACLE_HOME/bin; export PATH
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip:
$ORACLE_HOME/jdbc/lib/nsl_charset11.zip
export CLASSPATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdbc/lib:/usr/lib
export LD_LIBRARY_PATH
ORA_NLS33=$ORACLE_HOME/ocommmon/nls/admin/data; export ORA_NLS33
export LD_ASSUME_KERNEL=2.2.5
export LDEMULATION=elf_i386_glibc21

12.Now Run the ./runInstaller from the Disk1 directory where you have extract the file Oracle for Linux Installation.
./runInstaller

13.On first Screen just click next

14.Check whether the full path and name of product.jar locatin is there in product list file name or not and Oracle Home is same as you define the ORACLE_HOME and then click Next

15.At the Unix Group Name window, enter "oinstall" as the group, what we created for installation and Click next

16.A window will now pop up asking you to run the "orainstRoot.sh" script. Here is to do
Open a new terminal window
su root (enter your root password)
cd $ORACLE_HOME
./orainstRoot.sh
(Leavethis window open adn at root level)

17.Go back to the popup window and click the Retry button

18.In Available products screen, Select Oracle 8i Enterprise Edition 8.1.7.0.1 and click Next

19.On the Next screen select Typical the Next

20. You will be prompted for Global Database name, This usually consist of a name you create, followed by your domain name, I used to it oracle.itsindia

Be remember name itself should be less then 8 characters. and SID should be same as $ORACLE_SID we defined. verify it and click next.
(you can also check for proper network in a terminal window by following :
ping <your_machine_name>.<domain_name>

21. You will then be asked for the JDK home directory. Make sure it says
/usr/local/java else give this path to it and Click Next

22. Finally at summary window Click the Install button.

23. The Oracle Installation bigins now.....

24. After files have been copied and linked, you will get another pop-up asked you to run the root.sh script
Go back to the terminal window that is running at the root level
cd $ORACLE_HOME
./root.sh
Just Enter when it ask for the path to your local bin directory
exit (to exit superuser privileges)
exit (to exit the terminal window)

25. The Oracle Net8 Configuration now starts, All you need to do is check the box marked "Performed Typical Configuration" and click Next

26. Now Database Configuration Assistant now starts, and It would give you JNLSException, It is common and press OK. the Database Configuration would looks like failed.
(We do not want to make it work, so we define ORA_NLS33 to get it failed, before creating a database we would run a patch, so wait upto that)

27. Now Oracle will start webserver at port 7777 (you do not have to do anything here)

28. Now it is the end of Installation. Click Exit and Confirm that you want to Exit.

29. In the Terminal window running go like following

Extract the Oracle Patch file as follows :
cd $ORACLE_HOME
tar xvf <path_where_patch_is>glibc-2.1.3-stubs.tar
./setup_stubs.sh

30. Now edit the .bash_profile (or what ever it your profile is your) change the ORA_NLS33 as follows (put a # to it)
# ORA_NLS33=$ORACLE_HOME/ocommmon/nls/admin/data; export ORA_NLS33
and save the file.

31. Now unset the ORA_NLS33 using
unset ORA_NLS33

32. Now we would Create a Database
dbassist (will start a GUI to Create a database)
(If it does not work in first time Just Press Ctrl+C and again Try,
It will do)
Re: Installing Oracle 8.1.6 on Red Hat 7.2 [message #98676 is a reply to message #98664] Mon, 03 June 2002 01:30 Go to previous messageGo to next message
Chris
Messages: 128
Registered: November 1998
Senior Member
Does it work?
Re: Installing Oracle 8.1.6 on Red Hat 7.2 [message #99093 is a reply to message #98676] Mon, 12 July 2004 04:27 Go to previous messageGo to next message
Hassan
Messages: 19
Registered: November 2001
Junior Member
please where i can download oracle8.1.6 for linux RedHat 7.2
Re: Installing Oracle 8.1.6 on Red Hat 7.2 [message #99220 is a reply to message #98666] Sun, 07 November 2004 22:38 Go to previous message
Sunil
Messages: 132
Registered: September 1999
Senior Member
26. Now Database Configuration Assistant now starts, and It would give you JNLSException, It is common and press OK. the Database Configuration would looks like failed.

during this while initializing database it gives error ORA-03144 and asks to ignore or abort now what to do to overcome this error
Previous Topic: 0MB of ram available for 10g grid install on fedora 2
Next Topic: Insatlling Oracle 9.0.2 on Linux 7.3
Goto Forum:
  


Current Time: Sat Apr 20 02:33:03 CDT 2024