TABLE OF CONTENTS
Overview 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
Install the Java Development Kit (JDK) 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.
Create Oracle user account 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
'); // -->
iversal Installer to hang!
Downloading/unpacking the Oracle9i installation files
1. Run "gunzip 2. Extract the cpio archives with the command: "cpio -idmv <
Run the Oracle Installer As the "oracle" user account:
About 84% into the Link phase of the install, you will get an error when invoking the target of "install" in makefile: 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. 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 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 This error occurs when the following is executed: 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 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 [TABLE]
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 |
| About Us | Contact Us | For Advertisers | For Business Partners | Site Index | RSS |
|
|
|
|||||||