<?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/"
	>

<channel>
	<title>This is ZX81.org.uk &#187; Oracle</title>
	<atom:link href="http://www.zx81.org.uk/computing/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zx81.org.uk</link>
	<description>Photography, opinions and other random ramblings by Stephen Darlington</description>
	<lastBuildDate>Sun, 25 Jul 2010 11:42:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Installing Oracle 10g Express Edition on CentOS 4</title>
		<link>http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html#comments</comments>
		<pubDate>Sun, 22 Oct 2006 17:58:42 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Oracle Howto]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html</guid>
		<description><![CDATA[I recently tried to install Oracle 10g Express Edition on CentOS 4. Things have dramatically improved since the early days of Oracle on Linux, but here are the details.


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install817.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R3'>Installing Oracle 8i R3</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install901.html' rel='bookmark' title='Permanent Link: Installing Oracle 9i'>Installing Oracle 9i</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The short story is that if you have a standard configuration things should work entirely as you&#8217;d expect. That is, download the archive which, these days, comes as a RedHat &#8220;rpm&#8221; file. Become &#8220;root&#8221; and enter &#8220;rpm -ivh oracle-xe.rpm&#8221; and wait a bit. The install goes away and creates all the required users, starts up the listener and creates a default empty database.</p>
<p><a href="http://www.centos.org" rel="nofollow"  title="Not RedHat Linux">CentOS</a>, for those that have not come across it, is a Linux operating system built from the same source package as RedHat Enterprise Linux but without the support contract.</p>
<p>The first thing to note is that the few problems that I had were probably my own fault. Hardware was the main one. At home I&#8217;ve moved almost exclusively to Macs, and the one x86 Linux machine is a Via C3 running at 533Mhz and only has 512Mb of memory, both some way below Oracle&#8217;s recommended minimum.</p>
<p>So I downloaded the <em>oracle-xe-10.2.0.1-1.0.i386.rpm</em> file, switched to <em>root</em> and entered <em>rpm -ivh oracle-xe.rpm</em>. And it didn&#8217;t work.</p>
<p>On the plus side, it told me exactly what the problem was: I didn&#8217;t have <em>libaio</em> installed. I installed it (<em>yum install libaio</em>) and tried again.</p>
<p>It worked!</p>
<p>It took a long time to create and start the database, but this is Oracle and this is an old, slow machine, and everything I have tried so far is operating correctly.</p>
<p>To be honest, the only problem I have found so far is that I can&#8217;t get the web admin interface working from a remote machine. If I click the button to enable the option, I get a blank page in Firefox and no luck from the Mac end. Bouncing the database (<em>/etc/rc.d/init.d/oracle-xe restart</em>) seemed not to make any difference.</p>
<p>If you come across any further problems (or solutions) please do add a comment below.</p>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install817.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R3'>Installing Oracle 8i R3</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install901.html' rel='bookmark' title='Permanent Link: Installing Oracle 9i'>Installing Oracle 9i</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Oracle for Linux Installation HOWTO Home</title>
		<link>http://www.zx81.org.uk/computing/oracle/oracle-howto/index-4.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/oracle-howto/index-4.html#comments</comments>
		<pubDate>Sun, 12 Oct 2003 21:04:36 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Oracle Howto]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/computing/oracle/oracle-howto/oracle-for-linux-installation-howto-home.html</guid>
		<description><![CDATA[Installing Oracle on Linux isn't quite as straight-forward as it might be. Here is some guidance on making it easier. 


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/howto.html' rel='bookmark' title='Permanent Link: Oracle for Linux Installation HOWTO'>Oracle for Linux Installation HOWTO</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/oracle-howto.html' rel='bookmark' title='Permanent Link: Oracle 8i for Linux Installation HOWTO'>Oracle 8i for Linux Installation HOWTO</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This HOWTO business has got slightly out of hand! There are so many different versions of Oracle and Linux that I&#8217;ve been forced to do a little restructuring.</p>
<p>This table should explain the documents that you need. Generally you need the main HOWTO (to answer any questions you might have) and the errata. If you know what you&#8217;re doing you might be able to get away with just the errata.</p>
<table>
<tr>
<td>?</td>
<td><b>Oracle 8i R1 (8.1.5)</b></td>
<td><b>Oracle 8i R2 (8.1.6)</b></td>
<td><b>Oracle 8i R3 (8.1.7)</b></td>
<td><b>Oracle 9i</b></td>
</tr>
<tr>
<td><b>Redhat 6.x</b></td>
<td><a href="howto.html" rel="nofollow" >HOWTO</a></td>
<td><a href="install816.html" rel="nofollow" >Errata</a></td>
<td><a href="install817.html" rel="nofollow" >Errata</a></td>
<td>(Not supported)</td>
</tr>
<tr>
<td><b>RedHat 7.x</b></td>
<td><a href="redhat7.html" rel="nofollow" >Errata</a></td>
<td><a href="redhat7.html" rel="nofollow" >Errata</a></td>
<td><a href="redhat7.html" rel="nofollow" >Errata</a></td>
<td><a href="install901.html" rel="nofollow" >Guide</a></td>
</tr>
<tr>
<td><b>RedHat 8.x</b></td>
<td><a href="redhat8.html" rel="nofollow" >Errata</a></td>
<td><a href="redhat8.html" rel="nofollow" >Errata</a></td>
<td><a href="redhat8.html" rel="nofollow" >Errata</a></td>
<td><a href="install901.html" rel="nofollow" >Guide</a></td>
</tr>
</table>
<p>Other distributions are generally just like RedHat, assuming they have the same glibc and kernel versions.</p>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/howto.html' rel='bookmark' title='Permanent Link: Oracle for Linux Installation HOWTO'>Oracle for Linux Installation HOWTO</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/oracle-howto.html' rel='bookmark' title='Permanent Link: Oracle 8i for Linux Installation HOWTO'>Oracle 8i for Linux Installation HOWTO</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/oracle-howto/index-4.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle for Linux Installation HOWTO</title>
		<link>http://www.zx81.org.uk/computing/oracle/oracle-howto/howto.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/oracle-howto/howto.html#comments</comments>
		<pubDate>Sat, 19 Jul 2003 16:40:25 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Oracle Howto]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/computing/oracle/oracle-howto/oracle-for-linux-installation-howto.html</guid>
		<description><![CDATA[I found installing Oracle 8i for Linux to be none too easy, but I struggled through. This document shows how I did it. 


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/index-4.html' rel='bookmark' title='Permanent Link: Oracle for Linux Installation HOWTO Home'>Oracle for Linux Installation HOWTO Home</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/oracle-howto.html' rel='bookmark' title='Permanent Link: Oracle 8i for Linux Installation HOWTO'>Oracle 8i for Linux Installation HOWTO</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is the official home-page for my <a href="oracle-howto.html" rel="nofollow" >Oracle on Linux HOWTO</a>.</p>
<p>The current version is 1.18 and was released on 19 July, 2003. It&#8217;s been a long time &#8212; nearly a year &#8212; since the last release which may lead you to conclude that it&#8217;s a major update. You would be wrong! I&#8217;ve added some text about &#8220;how to ignore that this document is out of date&#8221; and a few clarifications. (This may sound lazy, but it&#8217;s not possible to keep it completely up to date.) This update is mainly for the <a href="http://www.tldp.org/" rel="nofollow" >Linux Documentation Project</a> rather than people that come here.</p>
<p>The HOWTO, in order to make the structure simple, is geared towards Oracle 8.1.5 and RedHat 6, 6.1 and 6.2. Your chances of success are much greater if your configuration is similar to this. If this does not mirror your configuration, look <a href="index.html" rel="nofollow" >here</a>. I may have an article that will get you further than the HOWTO alone.</p>
<p>Some people have also been kind enough to translate it into languages other than English. Currently there is a <a href="ftp://kldp.org/pub/kldp/HOWTOs/" rel="nofollow" >Korean</a> version (not perfect, according to Kwang-Ho, Yun, the author, but it is being maintained). There is also a <a href="http://www.linux.or.jp/" rel="nofollow" >Japanese translation</a> (I&#8217;m not sure whether this is the official home). The most recent is Fernando Boaglio&#8217;s <a href="http://www.oracle.matrix.com.br/oracle-howto-br/" rel="nofollow" class="broken_link">Portugese translation</a>. I&#8217;m reliably informed that Chinese and Italian version are in the works, too. Watch this space&#8230;</p>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/index-4.html' rel='bookmark' title='Permanent Link: Oracle for Linux Installation HOWTO Home'>Oracle for Linux Installation HOWTO Home</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/oracle-howto.html' rel='bookmark' title='Permanent Link: Oracle 8i for Linux Installation HOWTO'>Oracle 8i for Linux Installation HOWTO</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/oracle-howto/howto.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle 8i for Linux Installation HOWTO</title>
		<link>http://www.zx81.org.uk/computing/oracle/oracle-howto/oracle-howto.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/oracle-howto/oracle-howto.html#comments</comments>
		<pubDate>Sat, 19 Jul 2003 10:34:16 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Oracle Howto]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/news/oracle-howto.html</guid>
		<description><![CDATA[With this HOWTO, and a little luck, you will be able to get "Oracle 8i   Enterprise Edition for Linux" installed, create a database and connect   to it from a remote machine. The main focus of this guide is RedHat   Linux 6.0 and Oracle 8.1.5, although it should work well for other   recent distributions and more stable versions of Oracle.



Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/index-4.html' rel='bookmark' title='Permanent Link: Oracle for Linux Installation HOWTO Home'>Oracle for Linux Installation HOWTO Home</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/howto.html' rel='bookmark' title='Permanent Link: Oracle for Linux Installation HOWTO'>Oracle for Linux Installation HOWTO</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>v1.18, 19 July 2003</p>
<p>With this HOWTO, and a little luck, you will be able to get &#8220;Oracle 8i   Enterprise Edition for Linux&#8221; installed, create a database and connect   to it from a remote machine. The main focus of this guide is RedHat   Linux 6.0 and Oracle 8.1.5, although it should work well for other   recent distributions and more stable versions of Oracle.</p>
<h3>1.  Introduction</h3>
<h3>1.1.  What&#8217;s in here?</h3>
<p>  Linux is well known for being difficult and, generally, user hostile.   Being a bit of a Unix fan I&#8217;m not sure whether I agree with that or   not.</p>
<p>  Oracle is similar I guess. Initially it&#8217;s difficult to get to grips   with, but it&#8217;s difficult to work with any other RDBMS when you&#8217;re used   to it.</p>
<p>  Combine the two, remember that 8i is only the second production   release, and you realise that this isn&#8217;t going to be straight-forward,   even if you&#8217;re familiar with both.</p>
<p>  I am, but I had problems. Many problems were my own stupidity or   hubris, but I document them for completeness.</p>
<h3>1.2.  Who is this HOWTO for?</h3>
<p>  Fundamentally this document is about installing Oracle 8i Version   8.1.5.0.0 on RedHat Linux 6.0, and any deviation from this   configuration may reduce your chances of success. (I originally tried   to write this guide for all types of Linux and all recent version of   Oracle, but the structure was unclear and it was less useful for just   about everyone.)</p>
<p>  For later versions of Oracle, including 9i, you have two options. I   have some errata on my website   <http://www.zx81.org.uk/computing/oracle/oracle-howto/>. You&#8217;ll find   that the process is very similar to that found in this document   although there are some &#8216;gotchas&#8217; for each version. Generally   speaking, newer version of Oracle are much easier to install than   8.1.5 and are recommended over it by just about everyone, including   Oracle themselves.</p>
<p>  Or if you prefer there are also a number of other, more specific   guides at the Linux Documentation Project (in fact there seems to be a   new one there every time I check back!). If you&#8217;re installing 8i on   RedHat 7.x, Krastio Atanassov and Luca Roversi&#8217;s   <http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-   formats/html_single/Oracle8-on-RH7X-HOWTO.html> HOWTO might be useful.   For installing Oracle 9i on RedHat 8 or above, Evgueni Tzvetanov&#8217;s   <http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-   formats/html_single/Oracle-9i-RH8-and-RH9-HOWTO.html> guide could well   do the trick.</p>
<p>  For different distributions of Linux chances of success are also good,   especially if they are RedHat-like, Mandrake for example. Again, my   web site may contain advice for certain troublesome distributions.</p>
<p>  If you want to install 8.0, I recommend you try Linux Journals guide   <http://www2.linuxjournal.com/lj-issues/issue67/3572.html>, and if you   want to install any of the previous versions you&#8217;re going to have to   use the SCO version and follow Paul Haigh&#8217;s Oracle Database HOWTO   <http://www.tldp.org/HOWTO/Oracle-7-HOWTO.html>.</p>
<p>   If you&#8217;re trying to install the &#8216;right&#8217; version, what level of   background knowledge will you need?</p>
<p>  Perhaps the easiest way is if I explain a little of my background,   clearly if yours is similar we&#8217;re going to be on the same wave-length.   I&#8217;ve used a lot of Unix and Oracle over the last few years. At home   I&#8217;ve been running Linux since 1994 and I&#8217;ve been using Solaris and HP-   UX on-and-off since 1992. I first came across Oracle in 1996 and have   worked with versions 7, 8 and 8i. I&#8217;m mainly a developer, but I have   done DBA and sysadmin-type work.</p>
<p>  In summary, I can find my way around a Unix box and I know much of the   Oracle terminology. You&#8217;ll need both to brave the rest of this   document. But don&#8217;t worry if you have a different background, follow   this guide closely and keep asking questions. The Linux community are   a helpful bunch, just don&#8217;t expect an answer if you haven&#8217;t at least   made an effort to solve the problem yourself.</p>
<h3>1.3.  New versions of this document</h3>
<p>  Since RedHat Linux 6.x is no longer being supported and given that   there will be no new releases of Oracle 8i, you can probably assume   that this is the most up-to-date version of this document.</p>
<p>  As discussed in the previous section, there are documents in the LDP   <http://www.tldp.org> and extra sections on my website   <http://www.zx81.org.uk/> that might help you get more contemporary   versions of Oracle installed on newer versions on Linux.</p>
<h3>1.4.  Disclaimer</h3>
<p>  You get what you pay for. I offer no warranty of any kind, implied or   otherwise.  I&#8217;ll help you where I can but legally you&#8217;re on your own.</p>
<h3>1.5.  Credits and Thanks</h3>
<p>  This HOWTO has been written by Stephen Darlington. It couldn&#8217;t have   been created without the constant stream of questions and answers on   the Oracle Technology Network website and the Usenet news-groups. So   thanks to the people that keep posting and sorry that I can&#8217;t credit   you all individually!</p>
<p>  Many people have emailed me directly with hints, updates and   corrections; this document would not be as useful as it is without   their contribution. So thanks go to the following people: Ton Haver,   Guy Cole, Iain Frerichs, Albert Braun, Steve Morando, Krill Kokoshka,   Brain Slesinsky, Galen G Burk, Bill Gathen and Veres Lajos.</p>
<p>  I welcome any constructive feedback on this HOWTO and any general   Linux or Oracle issues. However, if you have questions it&#8217;s probably   better that you ask on a newsgroup or the discussion forums on my   website where others can benefit from the solutions. Email me at   stephen at zx81 dot org dot uk <mailto:stephen at zx81 dot org dot   uk>.</p>
<h3>1.6.  Licence</h3>
<p>  This document is copyright 1999-2003 Stephen Darlington. You may use,   disseminate and reproduce it freely, provided you:</p>
<ul>
<li>  Do not omit or alter this copyright notice.
<li>  Do not omit or alter the version number and date.
<li>  Do not omit or alter the document&#8217;s pointer to the current WWW      version.
<li>  Clearly mark any condensed, altered or versions as such.
</ul>
<p>  These restrictions are intended to protect potential readers from   stale or mangled versions. If you think you have a good case for an   exception, ask me.</p>
<p>  (This copyright notice has been lifted from Eric Raymond&#8217;s   Distribution HOWTO.)</p>
<p>  You do not need to ask me if you&#8217;d like to provide a translation,   although notification would be appreciated.</p>
<h3>2.  Starting off</h3>
<h3>2.1.  Overview</h3>
<p>  In this section, we&#8217;ll set up Linux so that you&#8217;re in a position to   get Oracle 8i from the CD that they sent you into your hard-disk. (If   they didn&#8217;t send you a disc and you&#8217;re working from a tar-ball that   you downloaded from the Internet, don&#8217;t worry. The installation   process is identical.)</p>
<p>  The Oracle installation process begins when you&#8217;ve built your PC,   installed Linux, configured it and connected it to your network.</p>
<h3>2.2.  Prerequisites</h3>
<h3>2.2.1.  Your brain</h3>
<p>  This may sound like a very silly prerequisite, but I do mean it   although not necessarily in the same way you might be thinking just   now. There are two main problems.</p>
<p>  Firstly, both Oracle and Linux change very frequently. This is a good   thing in that bugs and security holes gets fixed quickly and there are   always new and exciting enhancements to play with and, with luck,   solve the problems we&#8217;re actually paid to solve. The bad news is that   no matter how much effort I put into this document it&#8217;ll never be   completely up to date.</p>
<p>  The onus is, therefore, on you to engage brain. Sometime Oracle change   small things. The dialog used to say &#8220;OK&#8221; but now says &#8220;Okay&#8221;, or the   screens are in a slightly different order, or&#8230; well, it could be any   number of things. There&#8217;s no way I can keep up on all the changes like   that, just like there&#8217;s no way that I can provided detailed guides for   every version of Oracle running on every possible Linux distribution.</p>
<p>  Or it could be the big, complex things, like when RedHat Linux 7 first   came out with new C libraries and a slightly non-standard C compiler.   You could apply the first point here, applying your brain, reading the   release notes, the RedHat website and Oracle Technet but you&#8217;d be   spending more time than you need to be. The reason is problem number   two: the culture clash.</p>
<p>  In the case of Linux, newer is better. People frequently upgrade their   OS to the latest and greatest and it&#8217;s certainly not unusual to add or   upgrade individual packages to something more familiar or more   powerful. This is not how things are done in the world of Oracle.   Companies are still running Oracle 6, software that has been available   for more than ten years. (Oracle have not supported this for quite   some time, so this isn&#8217;t terribly smart.) People here value stability   and change, so loved by many Linux die-hards, is the complete   antithesis of it.</p>
<p>  The trick to applying this to installing Oracle 8i on your Linux box   is to read the release notes. If they recommend RedHat Linux 6, as   they did for Oracle 8i 8.1.5, this is the distribution that you should   use unless there&#8217;s a <em>very</em> good reason to do otherwise. The same for   any other requirements they state: their hardware and software   requirements have, to date, been pretty accurate.</p>
<h3>2.2.2.  Hardware</h3>
<p>  I think that the most important part of the prerequisites is not to   underestimate them. Oracle is a very big and complex application and   you won&#8217;t get the best out of it if you skimp too much on the   hardware.</p>
<p>  My biggest mistake was to assume that Oracle were joking when they   said that you need 128Mb of RAM. I&#8217;ve installed Oracle a couple of   times on Sun servers with that much, why would I need more on a CISC   machine?</p>
<p>  Believe Oracle not my gut. My machine with 32Mb of Ram ground on for   less than half an hour before I realised that it was hopeless.</p>
<p>  I was trying to use the bare minimum of hardware, and that&#8217;s generally   a bad idea. If you can&#8217;t afford the hardware you certainly won&#8217;t be   able to afford the licences!</p>
<p>  Things to look for on a production server are many disks, possibly   RAIDed, and fast CPU&#8217;s. Database access is relatively easy to break   down into smaller parallel phases so having a number of processors   really does help.</p>
<p>  On the other hand, any machine that can run Linux and that has enough   memory should be in with a chance. My other machine, the one I used   for the rest of this document, is fine as a development machine. It is   a Celeron 466Mhz with 128Mb of memory, an 8Gb hard disk, an Intel   graphics card and a DM9102 network card.</p>
<h3>2.3.  Linux setup</h3>
<p>  <b>2.3.1.  Choice of distribution</b></p>
<p>  Oracle seem to have done most of their development on RedHat Linux   6.0. For a fuss-free installation, using RedHat is an excellent idea.   Using version 6.2 with all the patches will be the easiest. For RedHat   Linux 7 and later refer to my website. Depending on how you&#8217;ve   installed your operating system there may be extra steps required.</p>
<p>  I&#8217;ve heard horror stories about trying to get it installed on other   distributions. However, as a general rule, anything <em>like</em> RedHat should   also do the trick. A recent version of Mandrake should be fine and   SuSE, in fact, are fairly active in supporting Oracle and have <a href="http://www.suse.com/us/solutions/partners/oracle/" rel="nofollow" >a web   page dedicated to   the task</a>.</p>
<p>  The further you get from RedHat the more problems you can expect.</p>
<p>   <b>2.3.2.  Distribution Setup</b></p>
<p>  Now that you&#8217;ve decided on which RedHat-like distribution you&#8217;re going   to use, you&#8217;ll need to work out which options to set and which of the   vast number of packages need to be installed to make Oracle work.</p>
<p>  Firstly you need two to three times the amount of memory you have for   your swap space. (You&#8217;ll need around 200Mb of memory, real or virtual,   just to run the installer!) Note that contrary to popular opinion,   Linux swap partitions can be larger than 128Mb.</p>
<p>  The arrangements of your other partitions can also be important. Make   sure that the Oracle software is on a different partition to your   operating system, and make sure that the Oracle data-files are on yet   another partition.  The idea here is to make sure that your data-files   do not get fragmented. (In a live environment, you&#8217;re likely to have a   number of disk with Oracle spread across them. There are a number of   good books that you consult for more information on this.) Also, make   sure you have <em>at least</em> 400Mb free in /tmp and that it&#8217;s not on the   root filesystem.</p>
<p>  As for the software, I took the easy option and installed just about   everything. You certainly need all the &#8216;base&#8217; packages, X Windows (the   installation routine is a Java GUI) and the development tools   regardless of whether you intend doing any coding or not. Compared to   the size of Oracle and your databases a Linux distribution is tiny,   probably less than a gigabyte. It&#8217;s worth installing it all for an   easy life!</p>
<p>   <b>2.3.3.  Kernel parameters</b></p>
<p>  The documentation suggests that you make changes to the Linux kernel   so you can get more shared memory. Since I was only planning on   running a very small database, I assumed everything would be okay and   decided to go ahead with the installation anyway. The default RedHat   Linux settings worked, although you may have to change them for a   larger development or production system.</p>
<p>  Note that some people have had to recompile the kernel to get Oracle   to work at all. I guess it must depend on the other software that   you&#8217;re running on the same machine.</p>
<p>  Follow the instructions in the Oracle documentation (on the   installation CD in HTML format) and the Linux Kernel HOWTO   <http://www.tldp.org/HOWTO/Kernel-HOWTO.html> to build your new   kernel.</p>
<p>   <b>2.3.4.  Users and groups</b></p>
<p>  Using LinuxConf (or whatever other method you feel comfortable with),   you need to add a new group called &#8220;dba&#8221; and a new user called   &#8220;oracle&#8221;, which should belong to your newly created &#8220;dba&#8221; group.</p>
<p>  You can make any other user a DBA by putting them in the DBA group. If   you have several DBA&#8217;s this is probably a good idea for auditing   purposes.</p>
<p>   <b>2.3.5.  Installing the right Java Virtual Machine</b></p>
<p>  Oracle were obviously stung by Java on their first release. All full   release of 8i since 8.1.6 have included their own virtual machine so   you don&#8217;t need to get your own. In fact, make sure that you remove any   reference to Java you currently have (you don&#8217;t need to delete it,   just remove it from your PATH and make sure that no other variable,   such as JAVA_HOME or CLASSPATH, are set). The installer is   temperamental enough without adding more variables.</p>
<p>  If you&#8217;re installing 8.1.5, read on:</p>
<p>  If you check the official documentation, you&#8217;ll find that Oracle   recommend the Blackdown Java Runtime Environment version 1.1.6v5.   That&#8217;s what they mean. Don&#8217;t think &#8216;newer versions will be less buggy&#8217;   as the installer probably won&#8217;t work. And don&#8217;t think, &#8216;I&#8217;ll be   developing software so I&#8217;ll just get the JDK,&#8217; as that won&#8217;t work   either.</p>
<p>  There is one caveat to using this version of the JRE: the Oracle   installer seems to be hard-coded to expect the JRE executable to be at   /usr/local/jre/bin/jre. While this is inconvenient, it does not mean   that you have to install it there.</p>
<p>  I performed the following steps to get a working copy of the JRE:</p>
<ol>
<li>Download the Java Runtime Environment from the Blackdown website      <http://www.blackdown.org></li>
<li>  Move to where you want to install the JRE:
<p>      <code>cd /usr/local</code>
</li>
<li> Uncompress the archive:
<p>      <code>bzip2 -d -c jre-1.1.6-v5-glibc-x86.tar.bz2 | tar xvf -</code></p>
</li>
<li> Create a symbolic link between where Oracle thinks it is and where      it actually is:
<p>     <code>ln -s jre116_v5 jre</code>
</li>
</ol>
<h3>2.4.  Starting off questions and answers</h3>
<p>  <b>2.4.1.  Do I really need 128Mb RAM?</b></p>
<p>  I would recommend that you do use 128Mb of RAM or more. I think it   would be difficult to get any serious work done with less.</p>
<p>  However, if you disable the Java option and set all the shared memory   settings to be relatively small, there&#8217;s no reason why it shouldn&#8217;t   work. I&#8217;ve heard success stories with 64Mb. You&#8217;re probably not going   to get away with 32Mb, though.</p>
<p>  There is a caveat. You may only need half of what Oracle recommends to   run the thing, but to install it their number starts to make sense.   I&#8217;ve heard reports of the installer using 150Mb of memory and I&#8217;ve   seen it well over 120Mb myself. If you have 64Mb or less of memory,   make sure you have lots of swap space and patience.</p>
<p>  An alternative if you absolutely can&#8217;t add more memory: install Oracle   on another, bigger machine and copy across the $ORACLE_HOME directory.   You&#8217;ll need to make sure that you have all the same users and groups   (preferably with the same numeric codes) and take special care with   SUID executables like $ORACLE_HOME/bin/oracle.</p>
<p>   <b>2.4.2.  Does it work with Debian/SuSE/Mandrake/some other distribution?</b></p>
<p>  Oracle specify the Linux kernel version 2.2 or above and GLIBC version   2.1 with any window manager. In theory, any distribution that meets   these requirements should work.</p>
<p>  In practice, unless Oracle have certified you distribution they may   not support it and you may have more problems trying to complete the   installation. Unless you have a very good reason to do otherwise I   suggest you stick to RedHat Linux 6.x with all the patches you can get   hold of.</p>
<p>  For the record, I&#8217;ve heard success stories will all those   distributions. Some, however, consistently cause problems, Slackware   being the main culprit.</p>
<p>   <b>2.4.3.  Does it work with GLIBC 2.2 distributions?</b></p>
<p>  At the moment, RedHat Linux 7.x and other distributions based on GLIBC   2.2 are known to be fairly problematic. It is possible to make it   work, however. To avoid &#8220;clutter&#8221; in this document I&#8217;ve included the   details on my website <http://www.zx81.org.uk/computing/oracle/oracle-   howto/redhat7.html>.</p>
<p>   <b>2.4.4.  Does it work with development kernels?</b></p>
<p>  There&#8217;s no obvious reason why it shouldn&#8217;t work &#8212; I used 2.3.19 for a   while because it supported my network card and the stable kernel at   the time didn&#8217;t &#8212; but unless there&#8217;s a pressing need it&#8217;s certainly   safest to stay well clear. I switched back to the stable series as   soon as the driver was included.</p>
<p>   <b>2.4.5.  Does it work with Linux 2.4?</b></p>
<p>  The current stable kernel has a number of features and performance   improvements over the 2.2.x line that Oracle could benefit from. Can   you use it without risking disaster? The answer is definitely &#8220;yes.&#8221;</p>
<p>  Generally the kernel is upwardly compatible with 2.2.x and I&#8217;ve not   heard of any significant problems with any of the more recent 2.4   releases (although some of the early ones are almost certainly worth   avoiding).</p>
<p>   <b>2.4.6.  Does it work with Linux 2.5.x and 2.6?</b></p>
<p>  At the time of writing, the 2.6 kernel is just enter its beta testing   phase, so the same advice as for previous development kernels applies   here too. Summary: no technical reason why you can&#8217;t use them, but not   recommended especially in a live environment.</p>
<p>   <b>2.4.7.  Where do I get Oracle from?</b></p>
<p>  Firstly, if you&#8217;re brave, have a very fast Internet connection or   inexhaustible patience (and unmetered access) you can download it from   Oracle Technology Network <http://otn.oracle.com/>. Beware: 8.1.5 is   nearly 200Mb, and 8.1.7 is nearer 500Mb.</p>
<p>  A better option is to get the CD. Oracle sometimes offer to send you a   free development CD when you join Technet. It&#8217;s certainly worth   spending some time looking round their web site for that.   Alternatively, you can buy them from the Oracle Store for around $40.   It includes lots of other software too and comes on 15 discs.</p>
<p>   <b>2.4.8.  What if I just want to connect to an Oracle database?</b></p>
<p>  If you have an Oracle database on another machine and just want to   connect to it from another Linux machine, the process is very similar   to that described here but with less of the complex stuff.</p>
<p>  Oracle tend not to distribute an Oracle Client CD for anything other   than Windows. Instead you just use the same Oracle Enterprise CD and   select the &#8220;Oracle Client&#8221; or &#8220;Oracle Developer&#8221; (not to be confused   with the Oracle Developer product) when it asks what kind of   installation you want.</p>
<p>  All the other advice, about using the correct version of Linux, the   Java distribution, etc, are all just as pertinent for the client   install as for the server, since the same installer is used.</p>
<h3>3.  The installer</h3>
<h3>3.1.  How?</h3>
<p>  Generally, following the documentation is a good idea. It&#8217;s not that   bad and you&#8217;ll get much better support from Oracle if you have. (I   ended up breaking things &#8212; and knowing it would &#8212; by following the   documentation for Oracle Applications. It was the only way to get   decent support.)</p>
<p>  This document is going to give an overview, but you should still have   their documentation available.</p>
<h3>3.2.  What do I tell the installation program?</h3>
<p>  As part of the installation Oracle will ask a number of questions.   Generally they&#8217;re not too difficult but let&#8217;s see what I entered and   why.</p>
<ol>
<li> Many people make the mistake of following Oracle&#8217;s documentation      and, therefore, fail at the first hurdle. Don&#8217;t execute      runInstaller as it almost always fails. Instead move to      install/linux on the CD and run runIns.sh while logged in as      &#8216;oracle&#8217;.</li>
<li> It should show a title screen. Click &#8216;Next.&#8217;</li>
<li>It should ask you to enter the source directory of the installation      files (&#8216;jar&#8217; file) and your Oracle installation directory. You      should be able to leave the former alone. The Oracle home directory      is where you want to install the software. According to the      installation documentation is should be somewhere on /u01, but I      ignored that and put it in /home/oracle. Oracles advice, in this      respect, is usually worth following. Click &#8216;Next&#8217; when you&#8217;ve      entered the details.</li>
<li> Now it should ask you for the DBA group. This is the Unix group you      created in the last section and is probably &#8216;dba&#8217;. Enter the      details and click &#8216;Next.&#8217;</li>
<li> This time it wants you to log in as &#8216;root&#8217; and run      /tmp/OraInstall/orainstRoot.sh. Do as it says. (You may have to run      pdksh or bash in the &#8216;Bourne compatibility mode&#8217; to get it to      complete successfully.) When you&#8217;re done click &#8216;Retry.&#8217;</li>
<li> You&#8217;re now given the option of what to install. Your best bet here      is &#8216;Oracle Enterprise Edition,&#8217; as this includes just about      everything (table 3.1 in the Oracle documentation tells you exactly      what it installs).  Make sure the right radio button is selected      and click &#8216;Next.&#8217;</li>
<li>It should now allow you to choose what you install with much finer      granularity. Unless you&#8217;re particularly constrained by disk space      or know exactly what you need, I&#8217;d recommend leaving it exactly as      it is and clicking &#8216;Next.&#8217; The Universal Installer won&#8217;t let you      make any silly choices so don&#8217;t worry too much if you unselect      something. You can always add it back in later.</li>
<li> For any products that you&#8217;ve asked it to install, the installer      will allow you to change where it puts them. Again, only if you      have a good reason to should you change it. Click &#8216;Next&#8217; when      you&#8217;re done.</li>
<li> It now goes away and installs all the pieces of software you asked      it to. This will probably take quite a while and will use far more      memory than is reasonable.</li>
<li>      It should ask you if you want to create a database. Select when it      does, it&#8217;s very slow (it seems to fire up another JVM, leaving X,      the Oracle back-end and <em>two</em> virtual machines in memory; not good      with 128Mb of memory).</li>
<li>      The installer should now ask you about the network protocols that      you want Oracle to support. The boxes all came up blank for me. I      don&#8217;t know what&#8217;s supposed to be in there, but I clicked &#8216;Next&#8217; and      found that everything worked.</li>
<li>     All the hard stuff is complete now. All the products you want      should be installed and are ready to go. Congratulations.</li>
</ol>
<h3>3.3.  Installing the patch</h3>
<p>  Unfortunately, the CD that Oracle sent you was probably version   8.1.5.0.0. As with almost all first releases there are problems with   that version (problems include empty files, so they&#8217;re quite serious)   and a patch, to version 8.1.5.0.2 is essential. You&#8217;ll certainly need   it to progress to the &#8220;Configuration&#8221; section of this HOWTO. The patch   described here is a cumulative patch, i.e., it includes all the files   required to move from version 8.1.5.0.0 to 8.1.5.0.2.</p>
<p>  The file you need is on the Oracle web site   <http://technet.oracle.com/software/products/oracle8i/software_index.htm>   and is relatively easy to install.</p>
<ol>
<li>This is probably the first of many patches, so create a directory      called &#8220;patches&#8221; somewhere convenient (mine is in $ORACLE_HOME).</li>
<li> Download the file into it.</li>
<li> Create somewhere to put the files:
<p>     <code>mkdir /tmp/orapatch<br />
     cd /tmp/orapatch</code></p>
</li>
<li> Uncompress the file:
<p>     <code>tar zvxf $ORACLE_HOME/patches/linux815patches.tgz</code></p>
</li>
<li> Run the shell script that&#8217;s now in the current directory:
<p>     <code>./linux_815patches.sh</code></p>
</li>
</ol>
<p>  Note that it&#8217;s important not to uncompress the file in the current   directory. The patch installer checks that the correct number of files   are present and fails if there are not the right number. Of course, if   it finds the patch archive it finds too many files!</p>
<h3>3.4.  Setting up your environment</h3>
<p>  Add the following lines to your &#8220;.profile&#8221; (or whatever the equivalent   is for your shell):</p>
<p>   <code>. oraenv   export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib</code></p>
<p>  Quite why the Oracle installer doesn&#8217;t do this I have no idea.</p>
<p>  If you see &#8220;[: integer expression expected before -lt&#8221; the next time   you log in, it&#8217;s because &#8216;oraenv&#8217; is expecting your ULIMIT to be an   integer rather than the default &#8216;unlimited.&#8217; I&#8217;ve seen no ill effects   by ignoring the error, but you can fix it by setting the ULIMIT to   something finite.</p>
<h3>3.5.  Installations questions and answers</h3>
<p>  <b>3.5.1.  The installation program exits with &#8216;CreateOUIProcess()&#8217;</b></p>
<p>  Firstly, make sure that you&#8217;re running the right version of the JVM. I   don&#8217;t know what Oracle do with their software, but it&#8217;s very dependent   on the version you use.</p>
<p>  Secondly, it might help if, instead of running runInstaller from the   root of the CD, you move into install/linux and run the runInst.sh   shell script instead.</p>
<p>  This problem seems more common on RedHat Linux 6.1 than 6.0 and could   be something to do with a newer C library.</p>
<p>  I&#8217;ve also heard reports that if you have the wrong version of Gnome&#8217;s   usual window manager, Enlightenment, you might get this problem.   Upgrade or switch to another environment such as KDE or Fvwm2.</p>
<p>  <b>3.5.2.  The installer just flashes on the screen and then vanishes</b></p>
<p>  This is not an uncommon occurrence. Usually it means that you&#8217;re   running an old version of Enlightenment. Upgrading or switching to   another environment should fix the problem.</p>
<p>  A similar problem is the installation program vanishing at some later   point in the process, often around 80% of the way through. The   consensus seems to be that Oracle ran out of memory. You should   increase the amount of swap space your machine has, anything over   200Mb should be sufficient.</p>
<p>   <b>3.5.3.  Strange Java errors when I start the installation program?</b></p>
<p>  Which version of the Java Virtual Machine are you using? People have   claimed success with other versions, but most of the problems that I   had disappeared when I downgraded to JRE 1.1.6v5, the one that Oracle   recommends in their documentation.</p>
<p>  Two other things that are worth mentioning: make sure you use the JRE   and not the JDK and, secondly, you should be using &#8220;green&#8221; threads.   Unless you&#8217;ve set THREADS_FLAG to &#8216;native&#8217; you almost certainly have   the correct setting.</p>
<p>   <b>3.5.4.  The installation program &#8216;Segmentation Fault&#8217;s</b></p>
<p>  You do have GLIBC 2.1 don&#8217;t you?</p>
<p>   <b>3.5.5.  Problems loading shared libraries</b></p>
<p>  The error message that I&#8217;m talking about looks a bit like this:</p>
<p>   error in loading shared libraries: libclntsh.so.8.0: cannot open   shared object file: No such file or directory</p>
<p>  This is the same as NT complaining that it can&#8217;t find a DLL. It&#8217;s very   easy to fix. Simply add the following line to the end of your   &#8220;.profile&#8221; if you&#8217;re using a Bourne-like shell (ask a local guru if   you don&#8217;t know):</p>
<p>   <code>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib</code></p>
<p>  Or use the following line if you&#8217;re using a CSH-like shell:</p>
<p>   <code>setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH   $ORACLE_HOME/lib"</code></p>
<p>  I don&#8217;t use the C-Shell, so independent verification of this command   would be appreciated.</p>
<p>  <b>3.5.6.  Pro*C doesn&#8217;t work</b></p>
<p>  The answer to this took quite a bit of tracking down, although the   answer <em>is</em> on the Oracle web site if you look hard enough.</p>
<p>  The default configuration of Pro*C doesn&#8217;t know where to find all its   libraries, so you need to tell it. After installation   $ORACLE_HOME/precomp/admin/pcscfg.cfg is empty, but it needs to   contain the following:</p>
<p>   <code>sys_include=(/home/oracle/precomp/public, /usr/include,   /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/,   /usr/include, /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include,   /usr/include)   include=(/home/oracle/precomp/public)   include=(/home/oracle/rdbms/demo)   include=(/home/oracle/network/public)   include=(/home/oracle/plsql/public)   ltype=short</code></p>
<p>  (The first four lines above, from sys_include to include) should all   be on the same line in the file.)</p>
<p>  The Oracle documentation doesn&#8217;t mention this, but you also need to   edit $ORACLE_HOME/precomp/lib/env_precomp.mk. On the line that defines   CCPSYSINCLUDE, put the following:</p>
<p>   <code>CCPSYSINCLUDE=sys_include='($(ORACLE_HOME)/precomp/public,/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include,/usr/include/g++-2,/usr/include)'</code></p>
<p>  This works for RedHat Linux 6.0, but may need tweaking for other   distributions or later versions of RH.</p>
<p>   <b>3.5.7.  I installed the patch but it made things worse!</b></p>
<p>  This is tricky, barely documented by Oracle and common across all   their products and installation programs. It&#8217;s about time they did   something about it!</p>
<p>  Often what happens is as follows: you install Oracle Enterprise   Edition and, as Oracle tells you, you dash off and install all the   available patches. Then you decide you need the pre-compilers and   install Oracle Programmer from the same CD.</p>
<p>  Before you installed Pro*C your database worked, and now it doesn&#8217;t.</p>
<p>  The problem is that the versions of the pre-compilers that you   installed were not patched and some of the Oracle server code relies   on the fixes; Oracle&#8217;s installer is so stupid that it will overwrite   newer version of the same code.</p>
<p>  The solution is not pretty. Since you can&#8217;t extract an individual file   from the CD you need to install the whole thing again, this time   adding Oracle Programmer before the patch.</p>
<p>  <b>3.5.8.  Oracle thinks I don&#8217;t have enough disk space</b></p>
<p>  There&#8217;s something wrong with the installation program. Assuming you <em>do</em>   have enough space it will install okay.</p>
<h3>4.  Creating a database</h3>
<h3>4.1.  Overview</h3>
<p>  Hopefully you followed the advice from the previous section and didn&#8217;t   create a database.</p>
<p>  For most people, I can probably outline the process in a couple of   words: &#8220;Run &#8216;dbassist&#8217;.&#8221; Unless this is the first time you&#8217;ve ever run   Oracle, none of the questions should really phase you.</p>
<p>  For completeness, I&#8217;ll document what I did but I&#8217;d best say what I was   aiming for first. Bottom line: this is neither a production system nor   a &#8216;serious&#8217; (i.e., several people, full time) development box. I   installed 8i to play around and see what was new or different from 8   and older versions.</p>
<p>  This means that when &#8216;dbassist&#8217; offered an easy option I took it. And   when it suggested using a different disk, or at least a different   partition, I declined. My $ORACLE_HOME is /home/oracle. All the data   files and software are in there, all on one partition.</p>
<h3>4.2.  Step-by-step guide</h3>
<ol>
<li>   1. Bring up a command prompt and type:
<p>     <code>dbassist</code></li>
<li> My machine tells me that &#8220;JNLS Exception:      oracle.ntpg.jnls.JNLSException. Unable to find any National      Character Sets.&#8221; According to Oracles 8i Patch FAQ, this is a known      problem (884001) and can safely be ignored.</li>
<li> Select the &#8220;Create a database&#8221; radio button and press &#8220;Next&#8221;</li>
<li> There are two options: Typical and Custom. If you knew exactly what      you were doing you probably wouldn&#8217;t be reading this and could      comfortably select Custom. I&#8217;m not going to cover that. Instead      I&#8217;ll assume you select &#8220;Typical&#8221; and press &#8220;Next&#8221;</li>
<li> Next it asks whether you want to copy the database from your CD or      to create the data files. Whenever I tried the first option, Oracle      couldn&#8217;t find my CD player (you just installed from it!). So I      recommend choosing the second option. It&#8217;s not difficult, it      probably just takes longer</li>
<li> It&#8217;s probably safe to select &#8216;Hybrid&#8217; when it asks you what      environment the database will operate in</li>
<li> Now it asks you how many users will be using your database at any      given time. I put five.</li>
<li> Next it asks you what products you want to install in your new      database. Again, you know what you want better than me! v
<li>  Oracle needs a &#8220;Global Database Name&#8221; and a &#8220;SID&#8221; now. The database      name is like a fully qualified domain name (but different). If      you&#8217;re the Oracle guru you&#8217;ll know what to put, if not your      organisation might have some conventions. I called mine &#8216;dev1&#8242;      (both the SID and database name).</li>
<li>     Now, do you want to create the database &#8216;now&#8217; or should you let it      save the information to a shell script? With 128Mb of RAM I found      the former option painful.
<p>     I created the shell script, quit out of X and anything else using a      lot of memory and then ran the script. Much more snappy.</li>
<li>      I didn&#8217;t notice this in any of the documentation, but your database      won&#8217;t work properly without it! The database that &#8216;dbassist&#8217;      creates is fine, but by default the user rollback segments are left      off-line. (Read: non-system users can&#8217;t perform any operation that      requires transactions.)
<p>     Type:</p>
<p>     <code>cd $ORACLE_HOME/dbs</code></p>
<p>  You now need to edit a file called &#8220;init<SID>.ora&#8221; (&#8220;initdev1.ora&#8221; in   my case).</p>
<p>  About half-way down the file is a commented out line looking something   like this:</p>
<p>   <code># rollback_segments = (r01, r02, r03, r04)</code></p>
<p>  Uncomment this line (remove the hash), save the file and you&#8217;re done.</li>
<li>      This is a kind of meta-step. You have a database and you should be      able to start it up, but you probably don&#8217;t know what any of the      system passwords are!
<p>     There are two that you need to know. The first is the SYSTEM      password. This defaults to &#8216;MANAGER&#8217;. (It seems to be conventional      to put Oracle passwords in uppercase. In fact passwords are not      case sensitive.) I recommend you change it straight away by typing      password at the SQL*Plus prompt. (For people expecting an ALTER      USER command, this is new to the version of SQL*Plus supplied with      8i.)</p>
<p>     The other password that you need to know is the one for SYS. It      defaults to &#8216;CHANGE_ON_INSTALL&#8217; and you should do exactly what it      says!</li>
<li>   Final step. This one gets rid of the annoying &#8216;no profile&#8217; warnings      you get when you log into SQL*Plus.
<p>     Log into SQL*Plus as user &#8216;system&#8217; (sqlplus system/
<password>).      Then type:</p>
<p>     <code>@?/sqlplus/admin/pupbld.sql</code></p>
<p>  The question-mark is an alias for the $ORACLE_HOME directory.</li>
<li>      This is an optional step used to define the default editor for      SQL*Plus (it defaults to ed so you do!). Open      $ORACLE_HOME/sqlplus/admin/glogin.sql in your favourite editor and      add define_editor=<editor name> to the end.</li>
</ol>
<p>  And that&#8217;s it. You should now have an operational database that you   can log into using SQL*Plus.</p>
<h3>4.3.  Questions and answers</h3>
<p>  <b>4.3.1.  Is it really that easy?</b></p>
<p>  Yes and no. If you&#8217;re just playing around, building a database for   yourself to learn the new features of 8i, then &#8216;yes.&#8217; The database the   above instructions will build is complete and will work fine.</p>
<p>  However, if you know anything about Oracle, you will quickly realise   that the default configuration is appallingly bad. If you&#8217;re making a   serious, production system I recommend you use the &#8220;Custom&#8221; option.</p>
<p>  Even for my toy system I did some tweaking. I increased the sizes of   most of the table-spaces and changed them so that they didn&#8217;t grow   automatically (I hate software when it tries to be too clever).</p>
<p>   <b>4.3.2.  Is it really necessary to put all the files on different disks?</b></p>
<p>  No and it will work fine if you don&#8217;t, but I don&#8217;t recommend putting   all your files on the same disk nevertheless.</p>
<p>  Spreading the files over a number of disks, even it&#8217;s just the data   files on one and the rollback segments on another, will have a   significant performance advantage. Read an Oracle DBA book if you need   further information.</p>
<p>   <b>4.3.3.  I can&#8217;t start dbassist</b></p>
<p>  Caused by several zero-length files in the initial installation.   Following the patch procedure will fix this problem.</p>
<p>   <b>4.3.4.  I get &#8220;ORA-01034: ORACLE not available&#8221;</b></p>
<p>  To cut a long story short, your $ORACLE_SID is probably set   incorrectly or not at all. Make sure it&#8217;s set to the same value you   gave &#8216;dbassist&#8217; and that it&#8217;s value is exported (i.e., export   ORACLE_SID in any Bourne compatible shell).</p>
<p>   <b>4.3.5.  I get &#8220;ORA-01012: Not logged in&#8221;</b></p>
<p>  This is a very common error, and there are a number of different   things that cause it.</p>
<p>  Firstly you&#8217;ll want to make sure that you&#8217;re not creating a Shared   Server configuration (sometimes known as MTS). Create a database using   Dedicated Server and convert it later.</p>
<p>  If that&#8217;s not it, check your NLS_LANG environment variable. The   easiest option is to unset it. If you really want to use it, make sure   that you have it exactly right. Make sure you don&#8217;t transpose any &#8217;1&#8242;s   (one&#8217;s) for &#8216;l&#8217;s (the twelfth letter of the alphabet)!</p>
<p>   <b>4.3.6.  Can data-files only be 1Gb in size?</b></p>
<p>  this to be a bug as Linux has no problem with files up to 2Gb.</p>
<p>  Note that does not limit the size of your database to 1Gb or less. A   database is made up of many table-spaces which can be made up of many   data-files. Talk to your friendly DBA for more information.</p>
<p>   <b>4.3.7.  Can I use raw files?</b></p>
<p>  Recent versions of the Linux kernel allow applications to directly   access the disks. Oracle is able to use this facility and can   (sometimes) increase its performance.</p>
<p>  Technically the answer is &#8216;yes,&#8217; you can use raw files. But   realistically the answer is &#8216;no.&#8217; The performance improvement you&#8217;ll   get probably isn&#8217;t worth the administrative overhead.</p>
<h3>5.  Configuration</h3>
<h3>5.1.  Overview</h3>
<p>  Congratulations, you have Oracle running on your Linux box. You have   created a database and can connect to it using SQL*Plus.</p>
<p>  Of course, this is not the end of it. Ideally, you&#8217;d be able to   connect to it as another Unix user or from a completely different   machine. That is what this section is for.</p>
<h3>5.2.  Connecting as another user</h3>
<p>  Some of the details in this section are a little sketchy as this is   not a configuration that I personally use. However, performing one of   the following steps should work:</p>
<ol>
<li>
<p>     <code>. oraenv</code></p>
<p>   or pdksh)</li>
<li>
<p>     <code>source coraenv</code></li>
<p>  When running &#8220;oraenv&#8221; I get an error if I use &#8216;bash&#8217;, the default   Linux shell. It seems not to cause any problems so don&#8217;t worry. You   can always use &#8216;pdksh&#8217; if it <em>does</em>a worry you.</p>
<h3>5.3.  Connecting from another machine</h3>
<p>  I remember this being very complex with earlier versions of Oracle,   but just seemed to work here. I&#8217;m sure that must mean that I did   something wrong, forgot something I did or that there&#8217;s a massive   security hole.</p>
<p>  This is what I remember doing:</p>
<ol>
<li>Logging into Linux as user &#8216;oracle&#8217;</li>
<li>Make sure that &#8220;oraenv&#8221; has been executed (i.e., your $ORACLE_HOME      is set correctly)</li>
<li>Type:
<p>     <code>lsnrctl start</code></li>
</ol>
<p>  On your client machine all you need to do now is point it at the right   machine and database instance.</p>
<p>  If you want more control over the process, the &#8220;Net8 Configuration   Assistant&#8221; (&#8216;netec&#8217;) should be able to help.</p>
<h3>5.4.  Connecting to another machine</h3>
<p>  This used to be very difficult in many earlier version of Oracle,   involving editing many text files, most of which had an fantastically   complex syntax.</p>
<p>  But in 8i, if you&#8217;ve got your JVM working, then all you need is the   &#8220;Net8 Easy Config&#8221; program. Follow these steps to allow your machine   to connect to a database on another machine:</p>
<ol>
<li>Start &#8220;Net8 Easy Config&#8221; by typing netec at the command prompt      while logged in as &#8216;oracle.&#8217;</li>
<li> After a short delay while Java gets its act together, the welcome      screen appears. It should be asking what you want to do. Leave the      radio buttons on the left alone (the default is &#8216;create&#8217;) and enter      the name of the database in the text box. Click &#8216;Next&#8217; when you&#8217;re      done.</li>
<li>Select one of the protocols it offers. Unless you know differently,      this should probably be &#8216;TCP/IP&#8217; which is the default. Press      &#8216;Next.&#8217;</li>
<li> Enter the hostname (or IP address) of the remote machine. The port      number probably doesn&#8217;t need changing. Press &#8216;Next.&#8217;</li>
<li>Select the type of database (8i or other) using the radio buttons      and enter the name in the appropriate text box. Press &#8216;Next.&#8217;</li>
<li>You can now test that the information you&#8217;ve enter makes sense to      Oracle. I found that &#8216;netec&#8217; has a tendency to crash if some of the      details are wrong. Press &#8216;Next&#8217; when you&#8217;re sure that it all works.      You can keep pressing the &#8216;Back&#8217; button to go back and correct any      information.</li>
<li> If you&#8217;re happy with all the information you&#8217;ve entered, you can      press the &#8216;Finish&#8217; button and that&#8217;s it!   If you want more control over the process, you may need to use the   &#8220;Net8 Assistant&#8221; &#8212; a big window with many confusing options &#8212; which   can be started with the netasst command.</li>
</ol>
<h3>5.5.  Questions and answers</h3>
<p>  <b>5.5.1.  I can&#8217;t start &#8216;netasst&#8217;</b></p>
<p>  The problem is with a couple of zero-length files. Installing the   patch should fix this problem.</p>
<h3>6.  Final Words</h3>
<h3>6.1.  Useful Software</h3>
<p>  Now that you&#8217;ve managed to get Oracle installed, you&#8217;ll want to try   and use it. Although it&#8217;s possible to do everything from your server   PC, it&#8217;s generally best to user the client-server facilities and use   another machine to access your database.</p>
<p>  Naturally Oracle have a large collection of, largely, pretty good   client software, however there&#8217;s not much for Linux at this time. The   main useful piece of software, Oracle Enterprise Manager, usually   comes with Oracle.</p>
<p>  But most of the best software comes from other places&#8230;</p>
<ul>
<li>  Tool for Oracle Application Development (T.O.A.D.). This used to be      free but is now owned by Quest Software <http://www.quest.com>. You      can download a free version (if you&#8217;re prepared to do it every      couple of months) or you can pay for it. When I&#8217;m using Oracle on a      daily basis, this is the program I choose if I have to use a      Windows desktop. It&#8217;s not as polished as some, but it does just      about everything you need.</li>
<li>  TOra <http://www.globecom.se/tora/>. This is the closest you&#8217;ll      find to a TOAD for Linux. In fact, in some ways it&#8217;s better than      TOAD! The Linux version is free, but you can also buy a Windows      version.</li>
<li>  SQLNavigator. Also by Quest Software <http://www.quest.com>. I&#8217;ve      not really used it but it&#8217;s been highly recommended by all who      have.</li>
<li>  OraSoft <http://www.orasoft.com>. These guys produce applications      for Oracle that actually run on Linux. I&#8217;ve not used them in anger,      but they look good.</li>
<li>  Orac <http://www.tux.org/orac-dba/>. Another that I&#8217;ve not used      much, but has been described as a nice, configurable DBA-tool by a      number of people.</li>
</ul>
<h3>6.2.  Useful Books</h3>
<p>  I seem to get most of my Oracle information from colleagues and books.   I&#8217;m not able to give away my colleagues, but the books I recommend are   as follows:</p>
<ul>
<li>   &#8220;Oracle Essentials,&#8221; Rick Greenwald, R. Stackowiak, Jonathan      Stern, O&#8217;Reilly and Associates, ISBN 1-56592-708-7.</li>
<li>   &#8220;Oracle 8i: The Complete Reference,&#8221; Kevin Loney and George Koch,      Oracle Press, ISBN 0-07212-364-8.</li>
<li>   &#8220;Oracle Performance Tuning,&#8221; Mark Gurry and Peter Corrigan,      O&#8217;Reilly and Associates, ISBN 1-56592-237-9.</li>
<li>   &#8220;Oracle Design,&#8221; Dave Ensor and Ian Stevenson, O&#8217;Reilly and      Associates, ISBN 1-56592-268-9.</li>
<li>   &#8220;PL/SQL Programming,&#8221; Steven Feuerstein, O&#8217;Reilly and Associates,      ISBN 1-56592-335-9.</li>
<li>   &#8220;PL/SQL Built-in Packages,&#8221; Steven Feuerstein, O&#8217;Reilly and      Associates, ISBN 1-56592-375-8.</li>
</ol>
<p>  You&#8217;ll find some more <a href="http://www.zx81.org.uk/computing/opinion/">book recommendations and reviews on my web site</a>.</p>
<h3>6.3.  Useful Internet resources</h3>
<p>  There&#8217;s a lot of useful stuff on the web.</p>
<ul>
<li>  Oracle Technet http://otn.oracle.com. This is Oracle&#8217;s public and      free support website. Lot&#8217;s of very useful information there.</li>
<li>  Oracle Metalink http://support.oracle.com. Oracle&#8217;s private (you      need a support contract) support website. Only slightly more useful      than Technet!</li>
<li>  If this HOWTO hasn&#8217;t worked for you, there are a couple of other&#8217;s      that you might like to try: Jesus M. Salvo, Jr.&#8217;s      <http://homepages.tig.com.au/~jmsalvo/linux/oracle8i.html> and Tom      Bissett&#8217;s <http://jordan.fortwayne.com/oracle/> slightly dated      guide. Or there&#8217;s a bulletin board <http://cgi.zx81.org.uk/phpBB2/>      on my website if you still need to ask questions.</li>
<li>  OraFaq http://www.orafaq.org. A site full of questions and      answers regarding Oracle on all platforms.</li>
<li>  Oracle Linux mailing list (Send a mail to ListGuru@fatcity.com      <mailto:ListGuru@fatcity.com> with the words &#8216;SUBSCRIBE ORACLE-      LINUX-L&#8217; in the body.</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/index-4.html' rel='bookmark' title='Permanent Link: Oracle for Linux Installation HOWTO Home'>Oracle for Linux Installation HOWTO Home</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/howto.html' rel='bookmark' title='Permanent Link: Oracle for Linux Installation HOWTO'>Oracle for Linux Installation HOWTO</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/oracle-howto/oracle-howto.html/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Installing Oracle 9i</title>
		<link>http://www.zx81.org.uk/computing/oracle/oracle-howto/install901.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/oracle-howto/install901.html#comments</comments>
		<pubDate>Wed, 08 Jan 2003 22:28:58 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Oracle Howto]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/computing/oracle/oracle-howto/installing-oracle-9i.html</guid>
		<description><![CDATA[Installing Oracle 9i on Linux may be easier than previous releases, but you'll need much more hardware. 


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install816.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R2'>Installing Oracle 8i R2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Prerequisites</strong></p>
<p>Oracle 9i is the result of merging almost their entire product line into two products. To say that 9i is the database is a little misleading, but this is what you need if you want to keep current with your Oracle database.</p>
<p>There are a few things that you need to be aware of before embarking on the installation of Oracle 9i. First are it&#8217;s hardware requirements. They&#8217;re huge, much more than 8i which itself was large.</p>
<p>Oracle recommend 512Mb of real memory (and twice as much swap space) and Xeon processors. The install itself takes over 2Gb and requires over 400Mb of temporary space! Like 8i, you can get by with less, especially if you&#8217;re just playing around rather than trying to do any real work. My hardware has improved since I wrote the original HOWTO. I still have the same Celeron 466Mhz processor but I&#8217;m now up to 384Mb of memory and in addition to the original 8Gb drive I now have a 120Gb disk mainly dedicated to /home.</p>
<p>This configuration does work, but it&#8217;s clearly not optimal. Installation took quite some time and creating a new database was painful.</p>
<p>If you don&#8217;t believe me, listen to Philippe Andersson: &#8220;<i>I monitored the box closely (through xosview) during the database creation phase (which lasted for over an hour, BTW), and the RAM + swap used topped at over 1.1 GB (while the average system load peaked at 29.0) !!  That&#8217;s what I call pushing the hardware to the limits!</i>&#8221; (I didn&#8217;t see numbers anything like that high, though.) Conversely, Frits Hoogland says he managed to get it working with only 192Mb. (Brave man.)</p>
<p>I also now have broadband Internet access which came in very useful for downloading the 1+Gb of archives from Oracles website. That&#8217;s a lot of data! (For those that are counting, that&#8217;s more than twice the size of 8i R3.) If you pay for your bandwidth it may even be cheaper to buy those three CD&#8217;s from Oracle.</p>
<p>On the software front I&#8217;ve upgraded to Redhat 8. I&#8217;ve added no special other software, so if you have Java or similar installed now might be a good time to remove it from your path so the installer doesn&#8217;t get confused.</p>
<p>Many problems with 8i R3 were because people were using newer distributions that use GLIBC 2.2. With 9i you <i>must</i> have this newer version of the C library. They also stipulate the 2.4 kernel and strongly recommend SuSE. (But then they recommended RedHat previously and practically no-one took any notice.)</p>
<p><strong>On with the show</strong></p>
<p>With all these warnings and prerequisites, you&#8217;re probably thinking that it&#8217;s tricky. Luckily you&#8217;d be wrong. This is by far the easiest Oracle install I&#8217;ve ever done.</p>
<p>First it&#8217;s necessary to extract the installer from the files you downloaded from the Oracle website:</p>
<p class="code">zcat Linux9i_Disk1.cpio.gz | cpio -idmv</p>
<p>It&#8217;s then convenient to burn them onto CD&#8217;s.</p>
<p>The next step is to create an oracle user and &#8220;dba&#8221; group (which &#8220;oracle&#8221; should be a member of).</p>
<p>That done, I inserted the first disc in my CD-ROM drive, mounted it and typed <span class="code">/mnt/cdrom/runInstaller</span>. It&#8217;s probably a good idea not to change your working directory to your CD, as if you do you won&#8217;t be able to eject it when prompted.</p>
<p>After that I just followed the prompts; no special trickery. I just installed the default version of everything.</p>
<p>I did have three problems along the way. The first was a linker error, which manifested itself as &#8220;Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk&#8221;. I just clicked &#8220;Ignore&#8221;. I&#8217;m not sure what feature that means I&#8217;m missing, but I&#8217;ve not noticed anything important so far.</p>
<p>The final two problems relate to creating the database. I found that the &#8220;ORA-27123: unable to attach to shared memory segment.&#8221; error in fact referred to insufficient shared memory being available. Either increase the amount available (see below) or decrease the memory requirements of your database.</p>
<p>I also found that I couldn&#8217;t create the test/demo databases (which I assume are created just by copying some files from the CD). Not to worry: you can easily create a custom database. With hardware like mine, the process takes <i>ages</i> but it works with absolutely no problems.</p>
<p><strong>Altering your shared memory</strong></p>
<p>It used to be quite an ordeal to change the shared memory setting under Linux, but with the 2.4 kernel it&#8217;s as simple as logging in as root and typing this:</p>
<p class="code">echo $((512*1024*1024)) &gt; /proc/sys/kernel/shmmax</p>
<p>This gives you 512Mb of shared memory (which would be rather too much for my machine!). You&#8217;ll probably want to put that in your startup scripts.</p>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install816.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R2'>Installing Oracle 8i R2</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/oracle-howto/install901.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Oracle on Redhat 8</title>
		<link>http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat8.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat8.html#comments</comments>
		<pubDate>Sun, 29 Dec 2002 16:57:28 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Oracle Howto]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/computing/oracle/oracle-howto/installing-oracle-on-redhat-8.html</guid>
		<description><![CDATA[Just like RedHat 7 before it, installing Oracle on RedHat 8 creates some new and interesting problems. 


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install901.html' rel='bookmark' title='Permanent Link: Installing Oracle 9i'>Installing Oracle 9i</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install816.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R2'>Installing Oracle 8i R2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In all honesty, I&#8217;ve not managed to get Oracle working properly yet. When I upgraded my RedHat 7 machine to 8 it still worked, when I installed it from scratch it didn&#8217;t. This clearly shows that it&#8217;s possible to get Oracle 8i working, but I can&#8217;t say how!</p>
<p>For those that are interested, I found that it was easy to get the installer to complete, but I get the infamous &#8220;end of communication channel&#8221; error when trying to start an instance.</p>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install901.html' rel='bookmark' title='Permanent Link: Installing Oracle 9i'>Installing Oracle 9i</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install816.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R2'>Installing Oracle 8i R2</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat8.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Oracle 8i R3</title>
		<link>http://www.zx81.org.uk/computing/oracle/oracle-howto/install817.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/oracle-howto/install817.html#comments</comments>
		<pubDate>Sat, 19 Oct 2002 16:23:12 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Oracle Howto]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/computing/oracle/oracle-howto/installing-oracle-8i-r3.html</guid>
		<description><![CDATA[Installing the third release of Oracle 8i is very similar to version 8.1.5. But there are some differences. This page covers them. 


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install816.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R2'>Installing Oracle 8i R2</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have recently installed Oracle 8i R3 (8.1.7) on my Celeron 466 machine. I found the installation to be very straight-forward compared with both 8.1.5 and the experiences of many people.</p>
<p>My machine is well below the specification that would be required to do real work on, especially if you have a number of developers. It does work, albeit rather slowly. Creating my initial database, for example, took around eight hours.</p>
<p>It currently runs RedHat 7.2 with a few minor patches (including a more recent kernel). I installed just about everything, including the full development kit and &#8220;glibc-compat&#8221;.</p>
<p>My secret to success, I believe, were these two commands:</p>
<ol>
<li><code>. /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh</code></li>
<li><code.>export LD_ASSUME_KERNEL=2.2.5</code></li>
</ol>
<p>After this, the installation ran exactly to plan.</p>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 7'>Installing Oracle on Redhat 7</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install816.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R2'>Installing Oracle 8i R2</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/oracle-howto/install817.html/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Oracle on Redhat 7</title>
		<link>http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html#comments</comments>
		<pubDate>Sat, 19 Oct 2002 16:23:12 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Oracle Howto]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/computing/oracle/oracle-howto/installing-oracle-on-redhat-7.html</guid>
		<description><![CDATA[Any Linux distribution that uses glibc 2.2 causes problems with the 8i releases of Oracle. What can you do to make it work? 


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install817.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R3'>Installing Oracle 8i R3</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat8.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 8'>Installing Oracle on Redhat 8</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>The subject at hand is really much wider than just Redhat 7.x, especially as more recent distributions are following Redhats lead and are now including glibc 2.2 also. I have no reason to believe that this process will not work with newer versions of <a href="http://www.suse.com" rel="nofollow" >SuSE</a>, <a href="http://www.debian.org" rel="nofollow" >Debian</a>, etc.</p>
<p>The other point to note is that I have not tried the procedure outlined here. I have migrated my box from Debian 2.2 to RedHat 7.2 and can testify that Oracle still works, but I have not actually performed an installation. I have, however, recieved a good number of emails confirming that it works, so don&#8217;t worry!</p>
<p>Most of the following material comes from two people, who are the real people you should thank if it works for you. They are <a href="mailto:smiley@lucent.com" rel="nofollow" >John Smiley</a> and <a href="mailto:maxmc@acm.org" rel="nofollow" >Max McClanahan</a>.</p>
<p><strong>The process</strong></p>
<p>The problem is that Oracle 8.1.x needs glibc 2.1.3. It will link without error with glibc 2.2, but when you try to run dbassist or create a database from scratch, there are problems (dbassist hangs, &#8216;End of file on communication channel&#8217;, etc.)</p>
<p>Here is a step-by-step process for getting Oracle 8.1.6 or 8.1.7 working on systems with glibc 2.2 (don&#8217;t bother with 8.1.5 if you can help it). Note that <a href="install901.html" rel="nofollow" >9i</a> <i>requires</i> glibc 2.2 and will not work with earlier versions:</p>
<ol>
<li>Install the compat-glibc RPM for 2.1.3. The exact filename will vary depending on your version of RedHat or other distribution. Many people (Fernando Boaglio, Peter Whysall, Jose T. Martin Prior amongst others) have noted that Oracle provide a patch (glibc-2.1.3-stubs.tar.gz) that provides the same functionality. I prefer the RPM&#8217;s personally, but this will certainly work.</li>
<li>Execute the following command: . /usr/i386-glib21-linux/bin/i386-glibc21-linux-env.sh</li>
<li>Type &#8220;export LD_ASSUME_KERNEL=2.2.5&#8243;</li>
<li>Type: cd $ORACLE_HOME/bin</li>
<li>Run the following command from the UNIX prompt: relink all</li>
</ol>
<p>All of the Oracle software, including the assitants, will work fine now.</p>
<p>This technique will work on RedHat 7.0 with the 2.2.16 kernel, as well as the 2.4.0 and 2.4.1-pre11 kernels.</p>
<p><strong>The rest</strong></p>
<p>John Smiley also asked me to point out that Oracle have issues some patches (<a href="ftp://205.227.44.220/server/patchsets/unix/LINUX/8161/bug1467074/ " rel="nofollow" >ftp://205.227.44.220/server/patchsets/unix/LINUX/8161/bug1467074/</a>) that are required in order for them to consider your machine &#8216;certified&#8217;:</p>
<pre>
Operating System: Intel Based Server LINUX Version:Red Hat 7.0
Oracle Server - Enterprise Edition Version: 8.1.7 (8i)
N/A Version: N/A
Status: Certified
Oracle Server - Enterprise Edition Version: 8.1.7 (8i)
Bug Number: 1467074
REDHAT 7.0/ORA-3113 ISSUE (GLIBC 2.1.94 AND LATER)
Patch for bug 1467074 is mandatory for this certification.
</pre>
<p>RedHat even have a bug report on this issue, which may be worth a look: <a href="http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=18391" rel="nofollow" >Bugzilla report from Redhat</a>.</p>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/install817.html' rel='bookmark' title='Permanent Link: Installing Oracle 8i R3'>Installing Oracle 8i R3</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat8.html' rel='bookmark' title='Permanent Link: Installing Oracle on Redhat 8'>Installing Oracle on Redhat 8</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/oracle-howto/installing-oracle-10g-express-edition-on-centos-4.html' rel='bookmark' title='Permanent Link: Installing Oracle 10g Express Edition on CentOS 4'>Installing Oracle 10g Express Edition on CentOS 4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>About Oracle Comedy Errors</title>
		<link>http://www.zx81.org.uk/computing/oracle/comedy-errors/about.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/comedy-errors/about.html#comments</comments>
		<pubDate>Sat, 19 Oct 2002 16:23:12 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Comedy Errors]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/computing/oracle/comedy-errors/about-oracle-comedy-errors.html</guid>
		<description><![CDATA[One person cannot cristicise an application suite the size of Oracle alone. This page credits those who have contributed. 


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/index.html' rel='bookmark' title='Permanent Link: Oracle Comedy Errors Home'>Oracle Comedy Errors Home</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/oraapp.html' rel='bookmark' title='Permanent Link: Oracle Applications Comedy Errors'>Oracle Applications Comedy Errors</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/client.html' rel='bookmark' title='Permanent Link: Oracle Client Software Comedy Errors'>Oracle Client Software Comedy Errors</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Credit where it&#8217;s due</strong></p>
<p>I am unable to criticise a suite of products the size         and complexity of Oracle on my own. There are a number of         people that need to me mentioned. Remind me if I missed         you out!</p>
<p><strong>People</strong></p>
<p>Thanks to Anna Brabants who nearly created the term         &#8216;Oracle Comedy Errors&#8217; and certainly did an almost         continuous stream of abuse (not all of it at         Oracle).</p>
<p>And thanks to the rest of the project team, who         invariable love Oracle products as much as I do.</p>
<p>Thanks to the people at Oracle support who no doubt have         to put up with a lot, and offer much amusement if only         after the event.</p>
<p><strong>Sources</strong></p>
<p>I&#8217;ve been on a number of projects that use Oracle, however most of the tales have come from the first two. On these I was a DBA and developer and ended up spending much time on the phone to Oracle support.</p>
<p>The first time, we were implementing Oracle Financials         and Human Resources using a Sun UltraEnterprise 1 server         and Compaq workstations.</p>
<p>The server was running Solaris 2.5, with Oracle Server         7.1.6, Oracle Applications 10.6.1 and an incredibly large         number of patches.</p>
<p>The Compaq P166 clients ran Windows 95, with SmartClient         Prod 15. Then Prod 15.1. And then with a number of         ineffective patches&#8230; You get the idea.</p>
<p>The second time, we were implementing a bespoke         client-server application. The Sun Ultra 1 (and later         Ultra 2) server was running Solaris 2.5.1 (2.6) with         Oracle Workgroup Server 7.3.</p>
<p>The Compaq P133 clients ran Windows NT 4 and connected         to Oracle using OLE Objects through Microsoft Visual         Basic 5. </p>
<p>Since then I&#8217;ve worked mainly as a developer (often doing data-loads) on Oracle 8. Any 8i critiques come from developing my <a href="/computing/oracle/oracle-howto/" rel="nofollow" >8i on Linux HOWTO</a>.</p>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/index.html' rel='bookmark' title='Permanent Link: Oracle Comedy Errors Home'>Oracle Comedy Errors Home</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/oraapp.html' rel='bookmark' title='Permanent Link: Oracle Applications Comedy Errors'>Oracle Applications Comedy Errors</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/client.html' rel='bookmark' title='Permanent Link: Oracle Client Software Comedy Errors'>Oracle Client Software Comedy Errors</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/comedy-errors/about.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Client Software Comedy Errors</title>
		<link>http://www.zx81.org.uk/computing/oracle/comedy-errors/client.html</link>
		<comments>http://www.zx81.org.uk/computing/oracle/comedy-errors/client.html#comments</comments>
		<pubDate>Sat, 19 Oct 2002 16:23:12 +0000</pubDate>
		<dc:creator>Stephen Darlington</dc:creator>
				<category><![CDATA[Comedy Errors]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://ccgi.sdarlington.plus.com/computing/oracle/comedy-errors/oracle-client-software-comedy-errors.html</guid>
		<description><![CDATA[Oracles client software has improved a lot over the last few years. It needed to. 


Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/about.html' rel='bookmark' title='Permanent Link: About Oracle Comedy Errors'>About Oracle Comedy Errors</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/oraapp.html' rel='bookmark' title='Permanent Link: Oracle Applications Comedy Errors'>Oracle Applications Comedy Errors</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/index.html' rel='bookmark' title='Permanent Link: Oracle Comedy Errors Home'>Oracle Comedy Errors Home</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Oracle Data Browser</strong></p>
<p>Oracle Data Browser, part of the Discover 2000 suite, is one of the least amusing applications that Oracle supply. Not because it&#8217;s bad, but because it almost works&#8230;</p>
<ul>
<li>Windows 95 has a &#8216;full screen drag&#8217; feature                 (freely download-able from <a href="http://www.eu.microsoft.com" rel="nofollow"                 >Microsoft</a>&#8216;s                 web site). If you load Data Browser you don&#8217;t. It                 suddenly stops working.</li>
<li>Now this is supposed to be a feature, but I&#8217;m not                 convinced. The word &#8216;Browser&#8217; seems to indicate                 that it&#8217;s a read-only product. In fact a version                 comes with it that isn&#8217;t.</li>
</ul>
<p><strong>Oracle Data Query</strong></p>
<p>Until we started really <em>using</em> SmartClient, we thought that Data Query, half of the Discoverer 2000 suite, was the lemon of the Oracle product library. That&#8217;s not to say that it&#8217;s good, just that after all that&#8217;s happened with Applications we&#8217;ve more or less forgotten a lot of the really annoying stuff. Lucky Oracle.</p>
<ul>
<li>Data Query makes Windows 2.0 seem stable. Even in                 it&#8217;s 32-bit version.</li>
<li>It often magically moves the input focus to                 somewhere you don&#8217;t want.</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/about.html' rel='bookmark' title='Permanent Link: About Oracle Comedy Errors'>About Oracle Comedy Errors</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/oraapp.html' rel='bookmark' title='Permanent Link: Oracle Applications Comedy Errors'>Oracle Applications Comedy Errors</a></li>
<li><a href='http://www.zx81.org.uk/computing/oracle/comedy-errors/index.html' rel='bookmark' title='Permanent Link: Oracle Comedy Errors Home'>Oracle Comedy Errors Home</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.zx81.org.uk/computing/oracle/comedy-errors/client.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
