<?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>Andrew Fraser DBA &#187; Installs</title>
	<atom:link href="http://andrewfraserdba.com/category/installs/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewfraserdba.com</link>
	<description>Oracle DBA (plus SQL Server)</description>
	<lastBuildDate>Wed, 18 Jan 2012 15:25:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Windows Server 2008 R2 Firewall for SQL Server and FTP</title>
		<link>http://andrewfraserdba.com/2010/12/23/windows-server-2008-r2-firewall-for-sql-server-and-ftp/</link>
		<comments>http://andrewfraserdba.com/2010/12/23/windows-server-2008-r2-firewall-for-sql-server-and-ftp/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 14:20:37 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[SQL server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://andrewfraserdba.com/?p=476</guid>
		<description><![CDATA[Windows Server 2008 R2 has a strict firewall by default. It will not let you run FTP (client) from the server and get files from other servers/sites It will also not let you run &#8220;SQL Server Management Studio&#8221; from your &#8230; <a href="http://andrewfraserdba.com/2010/12/23/windows-server-2008-r2-firewall-for-sql-server-and-ftp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Windows Server 2008 R2 has a strict firewall by default.</p>
<p>It will not let you run <strong>FTP</strong> (client) from the server and <strong>get</strong> files from other  servers/sites</p>
<p>It will also not let you<strong> </strong>run &#8220;SQL Server Management Studio&#8221; from your  PC and connect that into the instance running on the server.</p>
<p>To fix this, apply the below changes are made:</p>
<p><span style="color: #800000;"><strong>1) </strong>Running <strong>FTP</strong> (client) from server command prompt will allow you to connect out to an FTP site, but any &#8216;<strong>ls</strong>&#8216; or &#8216;<strong>get</strong>&#8216; commands will hang.</span></p>
<p>To resolve this, first set firewall notification on:</p>
<p>Start &gt; Administrative Tools &gt; Server Manager &gt; Configuration  &gt; Windows Firewall with Advanced Security &gt; Windows Firewall Properties (also available with a right click) &gt; click on the &#8216;Domain Profile&#8217; tab &#8211; &#8216;settings&#8217; section &#8211; &#8216;customize&#8217; button &gt; Change &#8216;Display a notification&#8217; to &#8216;yes&#8217; &gt; click &#8216;ok&#8217; twice for changes to take effect.</p>
<p><a href="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp1.jpg"><img class="alignnone size-full wp-image-479" title="ftp1" src="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp1.jpg" alt="" width="404" height="448" /></a></p>
<p><a href="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp2.jpg"><img class="alignnone size-full wp-image-480" title="ftp2" src="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp2.jpg" alt="" width="433" height="457" /></a></p>
<p>Now go to a command prompt window and start ftp client session and try &#8216;ls&#8217;. It will still hang, but this time a window will prompt if you want to unblock ftp client:</p>
<p><a href="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp3.jpg"><img class="alignnone size-full wp-image-478" title="ftp3" src="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp3.jpg" alt="" width="531" height="322" /></a></p>
<p>Click the &#8216;Allow Access&#8217; button.</p>
<p>Now any new ftp client sessions will work ok. You can test that by opening a second command window and running ftp again.</p>
<p>At this stage, you can set the firewall notification back to &#8216;off&#8217;, if you want.</p>
<p><span style="color: #800000;"><strong>2) </strong>To allow &#8220;SQL Server Management Studio&#8221; connections from e.g. your PC into the server, add a rule for port 1433 to the database server firewall, with :-</span></p>
<p>Start &gt; Administrative Tools &gt; Server Manager &gt; Configuration &gt; Windows Firewall with Advanced Security &gt; Inbound Rules &gt; (right click) &gt; New Rule</p>
<p>Rule Type: change to &#8216;Port&#8217;</p>
<p>&#8216;Protocols and Ports&#8217;: Keep with &#8216;TCP&#8217;, but specify &#8216;Specific local ports&#8217; &#8211; <strong>1433</strong></p>
<p>Accept defaults with the other screens, except give the rule a meaningful name and description.</p>
<p>Screenshots for this below.</p>
<p><span id="more-476"></span></p>
<p><a href="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp4.jpg"><img class="alignnone size-full wp-image-489" title="ftp4" src="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp4.jpg" alt="" width="720" height="576" /></a><br />
<a href="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp4.jpg"><img class="alignnone size-full wp-image-489" title="ftp5" src="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp5.jpg" alt="" width="720" height="576" /></a><br />
<a href="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp4.jpg"><img class="alignnone size-full wp-image-489" title="ftp6" src="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp6.jpg" alt="" width="720" height="576" /></a><br />
<a href="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp4.jpg"><img class="alignnone size-full wp-image-489" title="ftp7" src="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp7.jpg" alt="" width="720" height="576" /></a><br />
<a href="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp4.jpg"><img class="alignnone size-full wp-image-489" title="ftp8" src="http://andrewfraserdba.com/wp-content/uploads/2010/12/ftp8.jpg" alt="" width="720" height="576" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2010/12/23/windows-server-2008-r2-firewall-for-sql-server-and-ftp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows 2008 remote database connections</title>
		<link>http://andrewfraserdba.com/2010/10/25/windows-2008-remote-database-connections/</link>
		<comments>http://andrewfraserdba.com/2010/10/25/windows-2008-remote-database-connections/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 15:20:38 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://andrewfraserdba.com/?p=434</guid>
		<description><![CDATA[Windows Server 2008 by default has a firewall that does not allow remote database connections. Fix is at http://technet.microsoft.com/en-us/library/ms175043.aspx]]></description>
			<content:encoded><![CDATA[<p>Windows Server 2008 by default has a firewall that does not allow remote database connections. Fix is at <a href="http://technet.microsoft.com/en-us/library/ms175043.aspx">http://technet.microsoft.com/en-us/library/ms175043.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2010/10/25/windows-2008-remote-database-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install latest version of Oracle ODBC</title>
		<link>http://andrewfraserdba.com/2010/06/17/install-latest-version-of-oracle-odbc/</link>
		<comments>http://andrewfraserdba.com/2010/06/17/install-latest-version-of-oracle-odbc/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:27:29 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://andrewfraserdba.com/?p=390</guid>
		<description><![CDATA[To install latest version of Oracle ODBC: Go to http://www.oracle.com/technology/tech/oci/instantclient/ to download: Instant Client Package &#8211; Basic Instant Client Package &#8211; ODBC Unzip both of them into the same folder (e.g. c:\oracle). Add that folder name into the PATH environment &#8230; <a href="http://andrewfraserdba.com/2010/06/17/install-latest-version-of-oracle-odbc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To install latest version of Oracle ODBC:</p>
<p>Go to <a href="http://www.oracle.com/technology/tech/oci/instantclient/index.html">http://www.oracle.com/technology/tech/oci/instantclient/</a> to download:</p>
<ul>
<li>Instant Client Package &#8211; Basic</li>
<li>Instant Client Package &#8211; ODBC</li>
</ul>
<p>Unzip both of them into the same folder (e.g. c:\oracle).</p>
<ul>
<li>Add that folder name into the PATH environment variable (right click my computer, manage, system properties, advanced tab, environment variables)</li>
<li>Create a new environment variable called TNS_ADMIN and set it to that folder name.</li>
<li>Create a file tnsnames.ora in that folder with your target database details.</li>
<li>Run odb_install.exe</li>
</ul>
<p>You can then add and test oracle odbc connections in Control Panel Administrative Tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2010/06/17/install-latest-version-of-oracle-odbc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix for Oracle XE 1608: unable to create InstallDriver instance, return code -2147221164</title>
		<link>http://andrewfraserdba.com/2010/03/08/fix-for-oracle-xe-1608-unable-to-create-installdriver-instance-return-code-2147221164/</link>
		<comments>http://andrewfraserdba.com/2010/03/08/fix-for-oracle-xe-1608-unable-to-create-installdriver-instance-return-code-2147221164/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 12:49:49 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>

		<guid isPermaLink="false">http://andrewfraserdba.com/?p=215</guid>
		<description><![CDATA[I got this annoying error when attempting to install Oracle XE: 1608: unable to create InstallDriver instance, return code -2147221164 The fix for this on my PC was: Identify your TEMP folder &#8211; choose start -&#62; run -&#62; type &#8220;cmd&#8221;, &#8230; <a href="http://andrewfraserdba.com/2010/03/08/fix-for-oracle-xe-1608-unable-to-create-installdriver-instance-return-code-2147221164/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I got this annoying error when attempting to install Oracle XE:</p>
<blockquote><p>1608: unable to create InstallDriver instance, return code -2147221164</p></blockquote>
<p>The fix for this on my PC was:</p>
<ul>
<li>Identify your TEMP folder &#8211; choose start -&gt; run -&gt; type &#8220;cmd&#8221;, then type &#8220;set temp&#8221; in the command window.</li>
<li>Navigate to this folder in windows. It may well be a hidden folder , so  select tools  -&gt;  folder options -&gt; view -&gt; show hidden files and folders.</li>
<li>Attempt to install OracleXE again &#8211; but this time leave the &#8220;<em>1608: unable to create InstallDriver instance, return code -2147221164</em>&#8221; error dialog box visible, do <strong>not</strong> close it by clicking ok. Closing the dialog box will delete the TEMP files which we need for the next step.</li>
<li>A new folder will have been created under the TEMP folder (press F5 to refresh if necessary). Copy this new folder and all its files to a new location.</li>
<li>Now it is safe to close the &#8220;<em>1608: unable to create InstallDriver instance, return code -2147221164</em>&#8221; error dialog box by clicking ok.</li>
<li>Locate file ISScript11.Msi in the newly copied folder.</li>
<li>Right click on file ISScript11.Msi and select &#8220;Uninstall&#8221;</li>
<li>Right click on file ISScript11.Msi and select &#8220;Install&#8221;</li>
<li>Now attempt to install OracleXE again &#8211; for me it now ran through to completion.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2010/03/08/fix-for-oracle-xe-1608-unable-to-create-installdriver-instance-return-code-2147221164/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Oracle Installer on Windows crashes without adequate TEMP space</title>
		<link>http://andrewfraserdba.com/2009/03/13/oracle-installer-on-windows-crashes-without-adequate-temp-space/</link>
		<comments>http://andrewfraserdba.com/2009/03/13/oracle-installer-on-windows-crashes-without-adequate-temp-space/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 15:59:16 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.andrewfraserdba.com/?p=117</guid>
		<description><![CDATA[Oracle installer on Windows can fail to run, crashing out without a useful error message. I found fix was to change the temp directories in a command window set temp=d:\junk set tmp=d:\junk and then run the installer (setup.exe) from that &#8230; <a href="http://andrewfraserdba.com/2009/03/13/oracle-installer-on-windows-crashes-without-adequate-temp-space/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Oracle installer on Windows can fail to run, crashing out without a useful error message.</p>
<p>I found fix was to change the temp directories in a command window</p>
<pre class="brush:bash, shell">set temp=d:\junk
set tmp=d:\junk</pre>
<p>and then run the installer (setup.exe) from that same command window.</p>
<p>TEMP was set to use c:\documents and settings before, and the installer unpacks a lot of temporary files in there as it runs. Limitation in space quota each user can have in documents and settings I believe caused the installer to bomb out.</p>
<p>This happens with the 10g installer (including patchset 9208) which has more temporary files to unpack than earlier versions.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2009/03/13/oracle-installer-on-windows-crashes-without-adequate-temp-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix for windows ftp filling up c: drive space</title>
		<link>http://andrewfraserdba.com/2009/03/13/fix-for-windows-ftp-filling-up-c-drive-space/</link>
		<comments>http://andrewfraserdba.com/2009/03/13/fix-for-windows-ftp-filling-up-c-drive-space/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 15:05:59 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.andrewfraserdba.com/?p=108</guid>
		<description><![CDATA[Windows ftp can fill up C: drive. This happens either putting or getting files, even if you try putting/getting them to a drive other than C:. This happens because the ftp file is written to temporary area first by ftp, &#8230; <a href="http://andrewfraserdba.com/2009/03/13/fix-for-windows-ftp-filling-up-c-drive-space/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Windows ftp can fill up C: drive. This happens either putting or getting files, even if you try putting/getting them to a drive other than C:.</p>
<p>This happens because the ftp file is written to temporary area first by ftp, and moved to the final location at the very end.</p>
<p>The solution is to set temp directories to another drive which has a lot of free space, e.g.:</p>
<pre class="brush:bash, shell">set TEMP=D:\junk
set TMP=D:\junk</pre>
<p>If running ftp from command prompt and getting large files, then just run those commands in the command window before starting ftp.</p>
<p>Otherwise set those as control panel environment variables.</p>
<p>A similar issue can happen with the oracle installer in windows, where it uses TEMP and TMP to unpack a significant amount of temporary installer files. Same fix in that case.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2009/03/13/fix-for-windows-ftp-filling-up-c-drive-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free X windows emulator for running Oracle Installer</title>
		<link>http://andrewfraserdba.com/2007/04/19/free-x-windows-emulator-for-running-oracle-installer/</link>
		<comments>http://andrewfraserdba.com/2007/04/19/free-x-windows-emulator-for-running-oracle-installer/#comments</comments>
		<pubDate>Thu, 19 Apr 2007 13:13:01 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/04/19/free-x-windows-emulator-for-running-oracle-installer/</guid>
		<description><![CDATA[It&#8217;s often a pain getting X windows GUIs like the Oracle Installer and DBCA to run on Micrsoft Windows PC clients. Emulators like Reflection-X, KEA-Term, and Exceed work ok, but they cost money to licence and require source media and &#8230; <a href="http://andrewfraserdba.com/2007/04/19/free-x-windows-emulator-for-running-oracle-installer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s often a pain getting X windows GUIs like the Oracle Installer and DBCA to run on Micrsoft Windows PC clients. Emulators like Reflection-X, KEA-Term, and Exceed work ok, but they cost money to licence and require source media and local admin rights to install. Those things can take an age to organise in large bureaucratic organisations.</p>
<p>An easy way round this is to download and run &#8220;DSL (Damn Small Linux) embedded&#8221;. It&#8217;s like having a linux desktop, but runs as a program inside Microsoft Windows. It&#8217;s free, and works as well or better than the commercial emulators for me &#8211; except on one old laptop without much memory where mouse control back inside Windows became erratic.</p>
<p>&#8220;DSL embedded&#8221; can be <a href="http://ftp.belnet.be/packages/damnsmalllinux/current/">downloaded from here</a> (look for dsl-[VERSION]-embedded.zip). Unzip that and run &#8220;dsl-base.bat&#8221; to start it up under Microsoft Windows. While using it, &#8220;Ctrl+Alt&#8221; switches back to Microsoft Windows applications. To close it, right click its desktop and select &#8220;power down&#8221;.</p>
<p>More details at <a href="http://www.damnsmalllinux.org/">damnsmalllinux.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2007/04/19/free-x-windows-emulator-for-running-oracle-installer/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Silent installer on unix still needs X windows until 10g</title>
		<link>http://andrewfraserdba.com/2007/02/02/silent-installer-on-unix-still-needs-x-windows-until-10g/</link>
		<comments>http://andrewfraserdba.com/2007/02/02/silent-installer-on-unix-still-needs-x-windows-until-10g/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 14:15:18 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>

		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/02/02/silent-installer-on-unix-still-needs-x-windows-until-10g/</guid>
		<description><![CDATA[It&#8217;s not always easy to get X windows properly, or to get hold of X windows emulator software for Windows PCs. So it was a bit of a step backwards when the installer moved away from the ugly but effective &#8230; <a href="http://andrewfraserdba.com/2007/02/02/silent-installer-on-unix-still-needs-x-windows-until-10g/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not always easy to get X windows properly, or to get hold of X windows emulator software for Windows PCs. So it was a bit of a step backwards when the installer moved away from the ugly but effective clunky text display that it had in version 7 and below.</p>
<p>Running the installer in silent mode <em>should</em> have been a way around the need for X displays, but in fact it still fails (v8 through 9iR2) with an error like:</p>
<p><code>Exception java.lang.NullPointerException occurred..</code></p>
<p>So, even though you&#8217;re not going to use the installer GUI, oracle (for those versions)  makes you have X windows all set up anyway. Quite annoying.</p>
<p>But &#8211; it&#8217;s fixed in 10g!</p>
<p>So oracle versions up to 7, and then from 10gR1 and above, don&#8217;t need X windows to install. Versions 8 up to 9iR2 do.</p>
<p>10gR2 Installation Guide says:</p>
<blockquote><p><strong>A.1.1 Reasons for Using Silent Mode or Noninteractive Mode</strong><br />
Use silent mode if you want to:</p>
<ul>
<li>Complete an unattended installation, which you might schedule using operating system utilities such as at</li>
<li>Complete several similar installations on multiple systems without user interaction</li>
<li>Install the software on a system that <em>does not have X Window System</em> software installed on it</li>
</ul>
</blockquote>
<p>And 10gR1 Installation Guide for Unix Systems:</p>
<blockquote><p><strong>Automated Installation Methods Using Response Files</strong><br />
By creating a response file and specifying this file when you start the Installer, you can automate some or all of the Oracle Database installation. These automated installation methods are useful if you need to perform multiple installations on similarly configured systems or if the system where you want to install the software <em>does not have X Window system</em> software installed.</p></blockquote>
<p>To run an install in silent mode, copy a template response file from Disk1/response/*.rsp on the installation media, and edit it to include the install choices you want. Then run the installer with options:</p>
<p><code>./runInstaller -silent -responseFile filename.rsp</code></p>
<p>Actually there&#8217;s a little more to it than that, but see the installation guide for the full details.</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2007/02/02/silent-installer-on-unix-still-needs-x-windows-until-10g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Old c compilers needed for 9i on Red Hat Linux</title>
		<link>http://andrewfraserdba.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/</link>
		<comments>http://andrewfraserdba.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 00:05:39 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Old]]></category>

		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/</guid>
		<description><![CDATA[9i on Red Hat Linux (with the exception apparently 32-bit on RH3) won&#8217;t install unless you revert the c compilers back to old versions. Horrible. But fixed (I am told) with oracle 10g. And its not something you necessarily want &#8230; <a href="http://andrewfraserdba.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>9i on Red Hat Linux (with the exception apparently 32-bit on RH3) won&#8217;t install unless you revert the c compilers back to old versions. Horrible. But fixed (I am told) with oracle 10g.</p>
<p>And its not something you necessarily want to do just for the install &#8211; because future patchsets and even some one off bugfixes will need to use the old compilers also.</p>
<p>Also note that on Red Hat, you don&#8217;t get a choice with oracle word size &#8211; if you have built a 64 bit OS kernel, then you have to use 64 bit oracle, and (obviously) vice versa. That&#8217;s different to SPARC Solaris, where you can happily run 32 bit oracle on a 64 bit kernel (if for some strange reason you ever wanted to). However it is possible to run a 32 bit kernel OS on 64 bit hardware. &#8220;uname -a&#8221; tells you whether the OS kernel is 32 bit or 64 bit &#8211; if it reports &#8220;i386&#8243;, its 32 bit; &#8220;i386-64&#8243; means its 64 bit.</p>
<p>On RH4, for both 64-bit and 32-bit:<br />
1) Revert back to an old c compiler (as the root userid):</p>
<pre class="brush:bash, shell">mv /usr/bin/gcc /usr/bin/gcc.orig
mv /usr/bin/g++ /usr/bin/g++.orig
ln -s /usr/bin/x86_64-redhat-linux-gcc32 /usr/bin/gcc
ln -s /usr/bin/x86_64-redhat-linux-g++32 /usr/bin/g++</pre>
<p>2) Set environment variable (as the oracle userid before running installer):</p>
<pre class="brush:bash, shell">export LD_ASSUME_KERNEL=2.4.19</pre>
<p>On RH3 64-bit:<br />
1) apply patch 3423540 before running the installer<br />
2) Set environment variable (as the oracle userid before running installer):</p>
<pre class="brush:bash, shell">export LD_ASSUME_KERNEL=2.4.19</pre>
<p>On RH3 32-bit:<br />
1) Revert back to an old c compiler (as the root userid):</p>
<pre class="brush:bash, shell">mv /usr/bin/gcc /usr/bin/gcc323
mv /usr/bin/g++ /usr/bin/g++323
ln -sf /usr/bin/gcc296 /usr/bin/gcc
ln -sf /usr/bin/g++296 /usr/bin/g++</pre>
<p>2) apply patch 3006854 before running the installer<br />
3) Set environment variable (as the oracle userid before running installer):</p>
<pre class="brush:bash, shell">export LD_ASSUME_KERNEL=2.4.19</pre>
<p>(Caveat emptor: I&#8217;ve only done installs of RH4 64-bit and RH3 32-bit, so the information for the others is from metalink only.)</p>
<p>References:<br />
<a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=252217.1&amp;blackframe=1"> RH3 32-bit</a><br />
<a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=308588.1&amp;blackframe=1">RH3 64-bit</a><br />
<a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=303859.1&amp;blackframe=1">RH4 32-bit</a><br />
<a href="https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&amp;id=353529.1&amp;blackframe=1">RH4 64-bit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2007/01/12/old-c-compilers-needed-for-9i-on-red-hat-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>9i unix startup / shutdown with listener password</title>
		<link>http://andrewfraserdba.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/</link>
		<comments>http://andrewfraserdba.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/#comments</comments>
		<pubDate>Thu, 11 Jan 2007 23:57:28 +0000</pubDate>
		<dc:creator>Andrew Fraser</dc:creator>
				<category><![CDATA[Installs]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[SQL*Net]]></category>

		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/</guid>
		<description><![CDATA[Thanks to Laurent Schneider for tips on how to handle listener passwords in scripts. [Update 12-Jan-2007 - ammended script following Laurent's comment, and update 09-Feb-2007 - ammended script following Kevin's comment] A system startup/shutdown shell script I just used that &#8230; <a href="http://andrewfraserdba.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://laurentschneider.com/wordpress/2005/12/encrypted-listener-password.html">Laurent Schneider</a> for tips on how to handle listener passwords in scripts. [Update 12-Jan-2007 - ammended script following <a href="http://andrewfraser.wordpress.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/#comment-2">Laurent's comment</a>, and update 09-Feb-2007 - ammended script following <a href="http://andrewfraser.wordpress.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/#comment-22">Kevin's comment</a>]</p>
<p>A system startup/shutdown shell script I just used that copes with listener passwords is below.</p>
<p>The location of the listener.ora file was /etc in my case, but that can be different in other servers. The script assumes oracle environment variables are all set correctly at login (the &#8220;su -&#8221;). This is 9i specific &#8211; as explained on Laurent Schneider&#8217;s blog post, things are different/better with 10g. Also is only designed to work with a single listener with the default name, LISTENER).</p>
<p>For this script to actually run at system startup/shutdown time, it needs to be linked into the /etc/rc*.d directories, at least /etc/rc3.d (the default startup/shutdown level) although I put it in the others also. That is, as root user:</p>
<p><span id="more-4"></span></p>
<pre class="brush:bash, shell">vi /etc/init.d/oracle
[pasted in below shell script]
chmod 755 /etc/init.d/oracle
cd /etc/rc1.d
ln -s ../init.d/oracle K99oracle
ln -s ../init.d/oracle S99oracle
cd /etc/rc2.d
ln -s ../init.d/oracle K99oracle
ln -s ../init.d/oracle S99oracle
cd /etc/rc3.d
ln -s ../init.d/oracle K99oracle
ln -s ../init.d/oracle S99oracle
cd /etc/rc4.d
ln -s ../init.d/oracle K99oracle
ln -s ../init.d/oracle S99oracle
cd /etc/rc5.d
ln -s ../init.d/oracle K99oracle
ln -s ../init.d/oracle S99oracle
cd /etc/rc6.d
ln -s ../init.d/oracle K99oracle
ln -s ../init.d/oracle S99oracle</pre>
<p><strong><br />
The script Itself:</strong></p>
<pre class="brush:bash, shell">#!/bin/sh
#
#Start/Stop script for oracle
#

case "$1" in

'start')
su - oracle &lt;&lt;END_SU

#start databases
dbstart

#start oracle listener
lsnrctl start

END_SU
;;

'stop')

#stop oracle 9i listener with password control
ENCRYPTED_PASSWORD=`grep -i password /etc/listener.ora | awk -F= '{print $2}' -`

su - oracle &lt;&lt;END_SU

lsnrctl &lt;&lt;END_LISTENER
set password $ENCRYPTED_PASSWORD
stop
quit
END_LISTENER

#cleanly shutdown immediate databases
dbshut

END_SU
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0</pre>
]]></content:encoded>
			<wfw:commentRss>http://andrewfraserdba.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

