<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Anthony Lopez &#187; Oracle</title>
	<atom:link href="http://anthonyl.us/category/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://anthonyl.us</link>
	<description>"I'd rather see a sermon than hear one any day;"</description>
	<lastBuildDate>Fri, 04 Nov 2011 22:47:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='anthonyl.us' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Anthony Lopez &#187; Oracle</title>
		<link>http://anthonyl.us</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://anthonyl.us/osd.xml" title="Anthony Lopez" />
	<atom:link rel='hub' href='http://anthonyl.us/?pushpress=hub'/>
		<item>
		<title>Installing oracle 9 on rhel 5</title>
		<link>http://anthonyl.us/2009/01/15/installing-oracle-9-on-rhel-5/</link>
		<comments>http://anthonyl.us/2009/01/15/installing-oracle-9-on-rhel-5/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 18:41:29 +0000</pubDate>
		<dc:creator>lopeza</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[RHCE]]></category>

		<guid isPermaLink="false">http://anthonyl.us/?p=86</guid>
		<description><![CDATA[I had to install Oracle on a RHEL 5 and after some troubles all works good.  Be sure to review all links and verify all paths on your specific system before creating the links. The following are the steps that I used. Add oracle user and some other stuff # groupadd dba # useradd -g [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anthonyl.us&amp;blog=3504033&amp;post=86&amp;subd=lopeza&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had to install Oracle on a RHEL 5 and after some troubles all works good.  Be sure to review all links and verify all paths on your specific system before creating the links.</p>
<p>The following are the steps that I used.</p>
<ol>
<li>Add oracle user and some other stuff
<pre class="wiki"># groupadd dba
# useradd -g dba oracle
# cd /opt
# mkdir oracle
# chown oracle:dba oracle
# cd /opt
# ln -s path/to/jre1.6.0_11
(Edit the Disk1/install/linux/oraparam.ini and modify JRE_LOCATION
variable and set path to our JRE installation from Step 2.
JRE_LOCATION=/opt/jre1.6.0_11)</pre>
</li>
<li>Kernel settings &#8211; Edit the /etc/sysctl.conf and add following lines (I decided to leave default values and did not modify any of these.  These have to be verified)
<pre class="wiki">kernel.sem = 250 32000 100 128
kernel.shmmax = 2147483648
kernel.shmmni = 128
kernel.shmall = 2097152
kernel.msgmnb = 65536
kernel.msgmni = 2878
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000</pre>
</li>
</ol>
<p>Note: You need execute &#8220;sysctl -p&#8221; or reboot system to apply above settings.</p>
<ol>
<li>create access list for oracle to use xwindows
<pre class="wiki"><code># xhost +local: oracle (with no space inbetween oracle)</code></pre>
</li>
<li>Check for required packages:
<pre class="wiki">rpm -q compat-db compat-gcc-34 compat-gcc-34-c++ compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers libgcc make libXp</pre>
</li>
<li>Set environment &#8211; add these to /home/oracle/.bash_profile
<pre class="wiki">ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/920
ORACLE_SID=ORCL
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$ORACLE_HOME/binexport ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH</pre>
</li>
<li>First Workaround
<pre class="wiki">su -
cd /usr/lib
ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2</pre>
</li>
<li>Download and Install:
<pre class="wiki">rpm -ivh http://oss.oracle.com/projects/compat-oracle/dist/files/RedHat/compat-libcwait-2.1-1.i386.rpm
rpm -ivh http://oss.oracle.com/projects/compat-oracle/dist/files/RedHat/compat-oracle-rhel4-1.0-5.i386.rpm -nodeps</pre>
</li>
<li>Second Workaround
<pre class="wiki">su -
cd /usr/bin
ln -s gcc34 gcc32</pre>
</li>
<li>Third Workaround
<pre class="wiki">su -
cd /usr/lib
ln -s libgdbm.so.2.0.0 libdb.so.2</pre>
</li>
<li>Run installer
<pre class="wiki">./runInstaller</pre>
</li>
<li>When NETCA/DBCA will fail</li>
<li>Fourth Workaround
<pre class="wiki">I suggest to apply 9.2.0.8 patchset before.
cd $ORACLE_HOME
rm JRE
ln -s $ORACLE_BASE/jre/1.3.1 JRE
cd JRE/bin
ln -s java jre
cd i386/native_threads/
ln -s java jre</pre>
</li>
</ol>
<br />Posted in Oracle, RHCE  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lopeza.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lopeza.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lopeza.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lopeza.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lopeza.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lopeza.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lopeza.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lopeza.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lopeza.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lopeza.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lopeza.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lopeza.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lopeza.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lopeza.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anthonyl.us&amp;blog=3504033&amp;post=86&amp;subd=lopeza&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anthonyl.us/2009/01/15/installing-oracle-9-on-rhel-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b170149b19e484222a2827733d95c917?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lopeza</media:title>
		</media:content>
	</item>
	</channel>
</rss>
