<?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>Fri, 16 Jul 2010 13:26:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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;, then type &#8220;set temp&#8221; in the command window.
Navigate to this folder in windows. It may well be 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>2</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>
		<category><![CDATA[old]]></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 local admin rights to install. Those things can take an age to organise in large [...]]]></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>3</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>
		<category><![CDATA[old]]></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 clunky text display that it had in version 7 and below.
Running the installer in silent [...]]]></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 to do just for the install &#8211; because future patchsets and even some one off bugfixes [...]]]></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[old]]></category>
		<category><![CDATA[scripts]]></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 copes with listener passwords is below.
The location of the listener.ora file was /etc in my case, [...]]]></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>
