Home > Oracle Database / Applications Tips > Oracle Database Administrator > Installing Oracle9i (9.2.0) on Red Hat Linux 7.3-8.0
Oracle Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ORACLE DATABASE ADMINISTRATOR

Installing Oracle9i (9.2.0) on Red Hat Linux 7.3-8.0


Jeff Hunter
06.04.2004
Rating: -4.31- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


[TABLE]

TABLE OF CONTENTS
  [IMAGE] Overview
  [IMAGE] Swap space considerations
  [IMAGE] Install the Java Development Kit (JDK)
  [IMAGE] Create Oracle account and directories
  [IMAGE] Downloading/unpacking the Oracle9i installation files
  [IMAGE] Run the Oracle Installer
  [IMAGE] Errors during the relink phase of the install
  [IMAGE] Configuration files/scripts


Overview
[ Return to Table of Contents ]

The following article is a summary of the steps required to successfully install the Oracle9i (9.2.0) RDBMS software on Red Hat Linux 8.0. Keep in mind the following assumptions throughout this article:


Swap space considerations
[ Return to Table of Contents ]


Install the Java Development Kit (JDK)
[ Return to Table of Contents ]

In order to use Oracle's HTTP [Apache] Server, you will need to download the appropriate SDK from Sun.

As per the JDK documentation, install JDK under /usr/local.
Then create a symbolic link to the JDK under /usr/local/java.


Create Oracle user account
[ Return to Table of Contents ]

Create Oracle user account:

Create Oracle directories:

Oracle environment variable settings:

An example ".bash_profile" is provided in the configuration files/scripts section below.

Be sure to set the environment variable: LD_ASSUME_KERNEL=2.2.5

NOTE: Failing to set the LD_ASSUME_KERNEL parameter will cause the Oracle Un


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Oracle Database Administrator
Understanding SQL string functions
What is the difference between a database engineer, architect and administrator?
Import on one table from dump file
Error during RMAN backup
Can I drop a column in SYS schema?
STATSPACK tool: transaction vs. execution measurement
Should I port from Microsoft Access?
How can I find statistics on total memory usage and database connections?
Installing multiple Oracle homes
Modifying SYS password in a RAC environment

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


iversal Installer to hang!


Downloading/unpacking the Oracle9i installation files
[ Return to Table of Contents

1. Run "gunzip " on all the files.

2. Extract the cpio archives with the command: "cpio -idmv < "

  • You should now have three directories called "Disk1, Disk2 and Disk3" containing the Oracle9i installation files:


    Run the Oracle Installer
    [ Return to Table of Contents ]

    As the "oracle" user account:

  • Available Products: Oracle9i Database 9.2.0.1.0
  • Installation Types: Enterprise Edition (2.04GB)
  • Database Configuration: Software Only
  • Errors during the "Link" phase
  • About 84% into the Link phase of the install, you will get an error when invoking the target of "install" in makefile:
    /u01/app/oracle/product/9.2.0/ctx/lib/ins_ctx.mk.
    Leave this error message up and refer to the next section, Errors during the relink phase of the install, on how to resolve and continue from this error. You will come back to this error dialog box after modify the $ORACLE_HOME/ctx/lib/env_ctx.mk file.

  • Continuing with the "Link" phase

    The "Link" phase will now successfully continue to 100% complete. When the "Link" phase is complete, you will be prompted to run the $ORACLE_HOME/root.sh script as the "root" user account. Go ahead and perform this action. When prompted for the "local bin directory," I generally choose to put the files in /opt/bin keeping with by old conventions of Solaris. You may choose to use the default of /usr/local/bin if you would like. Just make sure that whatever directory you choose that it is in the PATH environment variable of the "oracle" user account.

  • Completing the Installation

    After running the root.sh script in the above step, you have successfully installed the Oracle9i RDBMS software. At the "End of Installation" screen, simply hit the "Exit" button. A few seconds after hitting the "Exit" button will bring up "Oracle Enterprise Manager" (OEM). I generally exit from the OEM application as I keep a central repository for all nodes and databases. From here, it is time to create the O920DB Oracle database. In the Configuration files/scripts section of this document, I put together an example initO920DB.ora instance parameter file along with a set of CREATE DATABASE... scripts in an archive named create_database920.tar.

    Good Luck!


    Errors during the relink phase of the install
    [ Return to Table of Contents ]

    During the "Link Phase" of the install, you will get an error while trying to make/install CTX. (The same issue exists in 9.0.1 on Red Hat Linux).

    The following errors will exist in $ORACLE_HOME/install/make.log
    /lib/libdl.so.2: undefined reference to `__ctype_b_loc@GLIBC_2.3'
    /lib/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE'
    /lib/libdl.so.2: undefined reference to `_dl_open@GLIBC_PRIVATE'
    /lib/libdl.so.2: undefined reference to `_dl_close@GLIBC_PRIVATE'
    /lib/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE'
    /lib/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
    collect2: ld returned 1 exit status
    make: *** [ctxhx] Error 1

    This error occurs when the following is executed:
    /usr/bin/make -f ins_ctx.mk install ORACLE_HOME=/u01/app/oracle/product/9.2.0

    Solution

    The solution is to edit the file $ORACLE_HOME/ctx/lib/env_ctx.mk and go to "INSO_LINK =", add a "$(LDLIBFLAG)dl" to the line and save it.

    Here is the full line with the added "$(LDLIBFLAG)dl" flag:

    INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)dl $(LDLIBFLAG)sc_ca
    $(LDLIBFLAG)sc_fa $(LDLIBFLAG)sc_ex $(LDLIBFLAG)sc_da $(LDLIBFLAG)sc_ut
    $(LDLIBFLAG)sc_ch $(LDLIBFLAG)sc_fi $(LLIBCTXHX) $(LDLIBFLAG)c -Wl,-
    rpath,$(CTXHOME)lib $(CORELIBS) $(COMPEOBJS)

    Set LD_ASSUME_KERNEL

    You will also need to enter LD_ASSUME_KERNEL=2.2.5 in your .profile (or .bash_profile if you are using BASH) for the "oracle" user account so that they you can run programs like "dbssist" and "netca".

    Return and retry

    After making the above change, return to the popup error dialog box and hit "Retry". It should continue from here with no errors.


    Configuration files/scripts
    [ Return to Table of Contents ]

    [TABLE]

    Rate this Tip
    To rate tips, you must be a member of SearchOracle.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Oracle Development Solutions - SQL, J2EE, XML, SOA
    HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts