<?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>Jason L. Froebe - Tech tips and How Tos for Fellow Techies &#187; Oracle</title>
	<atom:link href="http://froebe.net/blog/index.php/tag/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://froebe.net/blog</link>
	<description>Tips &#38; Tricks for Databases (Sybase, Oracle, MySQL, PostgreSQL, SQLite), Windows, Linux, Solaris, Perl, Java, Bash and so much much more</description>
	<lastBuildDate>Sat, 07 Jan 2012 22:12:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Wanted:  Entry level or Mid-level Oracle DBA (Chicago, IL)</title>
		<link>http://froebe.net/blog/2011/11/28/wanted-entry-level-or-mid-level-oracle-dba-chicago-il/</link>
		<comments>http://froebe.net/blog/2011/11/28/wanted-entry-level-or-mid-level-oracle-dba-chicago-il/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 17:20:28 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Jobs]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Chicago]]></category>
		<category><![CDATA[dba]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[wanted]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1348</guid>
		<description><![CDATA[Position Responsibilities • Manage database configurations, schemas, and space • Manage database and system alerts. • Support new application code releases / builds in various production and non-production environments • Provide performance tuning, problem research/resolution, code reviews and deployments, SQL support, and data movement • Manage database changes for releases and new projects • Provide [...]]]></description>
			<content:encoded><![CDATA[<p>Position Responsibilities </p>
<p>•  Manage database configurations, schemas, and space  •  Manage database and system alerts. •  Support new application code releases / builds in various production and non-production environments  •  Provide performance tuning, problem research/resolution, code reviews and deployments, SQL support, and data movement  •  Manage database changes for releases and new projects  •  Provide SQL and application tuning assistance  •  Build Backups / Recovery and High Availability  •  Manage disaster recovery support and testing •  Monitor database health and alerts  •  Provide production on-call support on rotational basis  •  Manage database and product deployments and repeated database maintenance and monitoring tasks  •  Troubleshooting database issues  •  Open &#038; follow-up on change request tickets for internal users •  Open and follow-up on service requests with Oracle vendor support</p>
<p>Position Requirements </p>
<p>•  Degree or equivalent experience in either Oracle or Sybase.   •  BS in Computer Science or equivalent specializing in Oracle or Sybase •  Good understanding of relational methodology  •  Good understanding of SQL Plus or equivalent •   Good communication skills and the ability to work as a team member  •  Good analytical and problem solving skills. •  Self starter with willingness to do independent research and trouble shooting.  •  Willingness to learn new database skills in a fast paced environment •  Education or Experience with Unix shell scripts helpful •  Good understanding of relational methodology  •  Must be comfortable in both self-managed and team driven environment  •  Experience with Microsoft Office Tools helpful</p>
<p>Interested?   (say I referred you on the <a href="http://careers.peopleclick.com/careerscp/client_sungard/external/jobDetails.do?functionName=getJobDetail&amp;jobPostId=28936&amp;localeCode=en-us">application form</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2011/11/28/wanted-entry-level-or-mid-level-oracle-dba-chicago-il/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the default NLS_DATE_FORMAT (Date format) in Oracle 10g/11g</title>
		<link>http://froebe.net/blog/2010/05/06/how-to-change-the-default-nls_date_format-date-format-in-oracle-10g11g/</link>
		<comments>http://froebe.net/blog/2010/05/06/how-to-change-the-default-nls_date_format-date-format-in-oracle-10g11g/#comments</comments>
		<pubDate>Thu, 06 May 2010 20:11:00 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[10g]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[date format]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[nls_date_format]]></category>
		<category><![CDATA[ORA-32001]]></category>
		<category><![CDATA[pfile]]></category>
		<category><![CDATA[spfile]]></category>
		<category><![CDATA[sqlplus]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1234</guid>
		<description><![CDATA[It is really really easy to change the default NLS_DATE_FORMAT setting but to be honest, you should set it at a session level IMHO. We basically just need to run &#8220;ALTER SYSTEM SET NLS_DATE_FORMAT=&#8217;YYYY-MM-DD&#8217; SCOPE=SPFILE&#8221; as a user with sysdba privileges. If you started the Oracle instance without a spfile (it should be located at [...]]]></description>
			<content:encoded><![CDATA[<p>It is really really easy to change the default NLS_DATE_FORMAT setting but to be honest, you should set it at a session level IMHO.</p>
<p>We basically just need <a href="http://www.oracle.com"><img src="http://froebe.net/blog/wp-content/uploads/2008/11/oralogo_small.gif" alt="" title="Oracle" width="133" height="18" class="alignright size-full wp-image-753" /></a>to run &#8220;ALTER SYSTEM SET NLS_DATE_FORMAT=&#8217;YYYY-MM-DD&#8217; SCOPE=SPFILE&#8221; as a user with sysdba privileges.  If you started the Oracle instance without a spfile (it should be located at $ORACLE_HOME/dbs/spfile[instance name].ora), you will receive the ORA-32001 error.  </p>
<div class="sql dean_ch">SQL<span class="sy0">&gt;</span> <span class="kw1">ALTER</span> SYSTEM <span class="kw1">SET</span> NLS_DATE_FORMAT<span class="sy0">=</span><span class="st0">&#8216;YYYY-MM-DD&#8217;</span> SCOPE<span class="sy0">=</span>SPFILE;<br />
<span class="kw1">ALTER</span> SYSTEM <span class="kw1">SET</span> NLS_DATE_FORMAT<span class="sy0">=</span><span class="st0">&#8216;YYYY-MM-DD&#8217;</span> SCOPE<span class="sy0">=</span>SPFILE<br />
<span class="sy0">*</span><br />
ERROR at line <span class="nu0">1</span>:<br />
ORA<span class="sy0">-</span><span class="nu0">32001</span>: <span class="kw1">WRITE</span> <span class="kw1">TO</span> SPFILE requested but no SPFILE specified at startup</div>
<p>Just create a new spfile, restart:</p>
<div class="sql dean_ch">SQL<span class="sy0">&gt;</span> <span class="kw1">SELECT</span> INSTANCE_NAME <span class="kw1">FROM</span> v$instance;</p>
<p>INSTANCE_NAME<br />
<span class="co1">&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
UAT2</p>
<p>SQL<span class="sy0">&gt;</span> <span class="kw1">CREATE</span> spfile<span class="sy0">=</span><span class="st0">&#8216;/oracle/10g/dbs/spfileUAT2.ora&#8217;</span> <span class="kw1">FROM</span> pfile<span class="sy0">=</span><span class="st0">&#8216;/oracle/10g/dbs/initUAT2.ora&#8217;</span>;</div>
<p>*restart*</p>
<div class="sql dean_ch">SQL<span class="sy0">&gt;</span> <span class="kw1">SELECT</span> INSTANCE_NAME <span class="kw1">FROM</span> v$instance;</p>
<p>INSTANCE_NAME<br />
<span class="co1">&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
UAT2</p>
<p>SQL<span class="sy0">&gt;</span> <span class="kw1">ALTER</span> SYSTEM <span class="kw1">SET</span> NLS_DATE_FORMAT<span class="sy0">=</span><span class="st0">&#8216;YYYY-MM-DD&#8217;</span> SCOPE<span class="sy0">=</span>SPFILE;</p>
<p>System altered<span class="sy0">.</span></div>
<p>*restart*</p>
<div class="sql dean_ch">SQL<span class="sy0">&gt;</span> <span class="kw1">SELECT</span> value <span class="kw1">FROM</span> v$nls_parameters <span class="kw1">WHERE</span> parameter <span class="sy0">=</span><span class="st0">&#8216;NLS_DATE_FORMAT&#8217;</span>;</p>
<p>VALUE<br />
<span class="co1">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span><br />
YYYY<span class="sy0">-</span>MM<span class="sy0">-</span>DD</div>
<p>That&#8217;s it. <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2010/05/06/how-to-change-the-default-nls_date_format-date-format-in-oracle-10g11g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: How to copy an Oracle tablespace across platforms &#8211; quick and dirty ;-)</title>
		<link>http://froebe.net/blog/2010/04/05/how-to-how-to-copy-an-oracle-tablespace-across-platforms-quick-and-dirty/</link>
		<comments>http://froebe.net/blog/2010/04/05/how-to-how-to-copy-an-oracle-tablespace-across-platforms-quick-and-dirty/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 17:03:57 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[cross platform]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[endian]]></category>
		<category><![CDATA[endianess]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tablespace]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1230</guid>
		<description><![CDATA[On the source machine: Set the tablespace(s) into read only mode SQL&#62; Alter tablespace &#60;tablespace&#62; read only Export the tablespace meta data using export % expdp system/&#60;password&#62; DUMPFILE=expdat.dmp DIRECTORY = dpump_dir TRANSPORT_TABLESPACES = &#60;list of tablespaces separated by commas&#62; TRANSPORT_FULL_CHECK=Y If the dumpdir is not set up, you will get an ‘invalid’ directory error: SQL&#62; [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>On the source machine:
<ul>
<li>Set the tablespace(s) into read only mode<a href="http://www.oracle.com"><img class="alignright size-full wp-image-753" title="Oracle" src="http://froebe.net/blog/wp-content/uploads/2008/11/oralogo_small.gif" alt="" width="133" height="18" /></a>
<ul>
<li>SQL&gt; Alter tablespace &lt;tablespace&gt; read only</li>
</ul>
</li>
</ul>
</li>
<li>Export the tablespace meta data using export
<ul>
<li>% expdp system/&lt;password&gt; DUMPFILE=expdat.dmp DIRECTORY = dpump_dir TRANSPORT_TABLESPACES = &lt;list of tablespaces separated by commas&gt; TRANSPORT_FULL_CHECK=Y</li>
<li><strong>If the dumpdir is not set up, you will get an ‘invalid’ directory error:</strong>
<ul>
<li>SQL&gt; CREATE DIRECTORY dmpdir as ‘/somedir’;</li>
<li>SQL&gt; GRANT read,write on DIRECTORY to system;</li>
</ul>
</li>
</ul>
</li>
<li>Export the data converting on the fly:
<ul>
<li>Determine the platform name for the destination machine:
<ul>
<li>SQL&gt; SELECT PLATFORM_ID, PLATFORM_NAME, ENDIAN_FORMAT FROM V$TRANSPORTABLE_PLATFORM</li>
</ul>
</li>
<li>% rman TARGET /
<ul>
<li>RMAN&gt; CONVERT TABLESPACE &lt;list of tablespaces separated by commas&gt; to PLATFORM ‘&lt;platform name from previous step&gt;’  FORMAT=’/somedir/%U’;</li>
</ul>
</li>
</ul>
</li>
<li>Put the tablespaces into read/write mode
<ul>
<li>SQL&gt; alter tablespace &lt;tablespace&gt; READ WRITE;</li>
<li>Transfer the files to the destination machine (Setup the dumpdir if you haven’t already)
<ul>
<li>Create the oracle user(s) with the same names as on the source oracle (if you don’t you will need to remap the ownership using the REMAP_SCHEMA for the impdb )</li>
<li>Import the tablespace schema and data (repeat for each tablespace)
<ul>
<li>% impdp  system/&lt;password&gt; DUMPFILE=expdat.dmp DIRECTORY = dpump_dir TRANSPORT_DATAFILES = &lt;Full path to each tablespace datafile separated by commas&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>Put the tablespaces in to read/write mode
<ul>
<li>SQL&gt; alter tablespace &lt;tablespace&gt; READ WRITE;</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2010/04/05/how-to-how-to-copy-an-oracle-tablespace-across-platforms-quick-and-dirty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable the &#8220;uninstall password&#8221; to uninstall Symantec Antivirus</title>
		<link>http://froebe.net/blog/2010/03/10/how-to-disable-the-uninstall-password-to-uninstall-symantec-antivirus/</link>
		<comments>http://froebe.net/blog/2010/03/10/how-to-disable-the-uninstall-password-to-uninstall-symantec-antivirus/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 18:17:24 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[regedit]]></category>
		<category><![CDATA[symantec antivirus]]></category>
		<category><![CDATA[uninstall]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[win7]]></category>
		<category><![CDATA[winxp]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1228</guid>
		<description><![CDATA[I was trying to install Oracle 11g client on to a WinXP box but Symantec Antivirus wouldn&#8217;t let me because it thought it was infected with over 800 viruses.  Same file was marked clean on another box.  So, I picked several of the viruses it said was infected with and looked for any evidence of [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to install Oracle 11g client on to a WinXP box but Symantec Antivirus wouldn&#8217;t let me because it thought it was infected with over 800 viruses.  Same file was marked clean on another box.  So, I picked several of the viruses it said was infected with and looked for any evidence of them on the WinXP box.  No dice.  This led me to believe that Symantec Antivirus itself was somehow mucked up.</p>
<p>When I tried to uninstall Symantec Antivirus, it asked for a password.  When I put in the correct password, it refused it.  So how to uninstall it with a messed up password?  Easy..</p>
<p>Open up regedit (as an administrator) and change HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\AdministratorOnly\Security\UseVPUninstallPassword to &#8220;0&#8243; (zero).</p>
<p>I was able to uninstall and reinstall Symantec Antivirus.</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2010/03/10/how-to-disable-the-uninstall-password-to-uninstall-symantec-antivirus/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Video: Sun/Oracle&#8217;s Netbeans 6.7 and the GlassFish version 3 application server</title>
		<link>http://froebe.net/blog/2009/08/17/video-sunoracles-netbeans-6-7-and-the-glassfish-version-3-application-server/</link>
		<comments>http://froebe.net/blog/2009/08/17/video-sunoracles-netbeans-6-7-and-the-glassfish-version-3-application-server/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 18:25:37 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[app server]]></category>
		<category><![CDATA[application server]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1096</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object id="flashObj" width="486" height="322" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0"><param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1&#038;publisherID=1460825906" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="videoId=17084640001&#038;linkBaseURL=http%3A%2F%2Fchannelsun.sun.com%2Fvideo%2Fnetbeans%2B6.7%2Band%2Bglassfish%2Bv3%2F17084640001&#038;playerID=1640183659&#038;domain=embed&#038;" /><param name="base" value="http://admin.brightcove.com" /><param name="seamlesstabbing" value="false" /><param name="allowFullScreen" value="true" /><param name="swLiveConnect" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://c.brightcove.com/services/viewer/federated_f9/1640183659?isVid=1&#038;publisherID=1460825906" bgcolor="#FFFFFF" flashVars="videoId=17084640001&#038;linkBaseURL=http%3A%2F%2Fchannelsun.sun.com%2Fvideo%2Fnetbeans%2B6.7%2Band%2Bglassfish%2Bv3%2F17084640001&#038;playerID=1640183659&#038;domain=embed&#038;" base="http://admin.brightcove.com" name="flashObj" width="486" height="322" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" swLiveConnect="true" allowScriptAccess="always" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/08/17/video-sunoracles-netbeans-6-7-and-the-glassfish-version-3-application-server/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Getting three monitors to work with Kubuntu (Ubuntu with KDE) on a Dell Optiplex GX520 &#8211; NVidia GeForce4 MX 4000 low profile video card and the onboard Intel 82945G/GZ video card</title>
		<link>http://froebe.net/blog/2009/05/11/getting-three-monitors-to-work-with-kubuntu-ubuntu-with-kde-on-a-dell-optiplex-gx520-nvidia-geforce4-mx-4000-low-profile-video-card-and-the-onboard-intel-82945ggz-video-card/</link>
		<comments>http://froebe.net/blog/2009/05/11/getting-three-monitors-to-work-with-kubuntu-ubuntu-with-kde-on-a-dell-optiplex-gx520-nvidia-geforce4-mx-4000-low-profile-video-card-and-the-onboard-intel-82945ggz-video-card/#comments</comments>
		<pubDate>Mon, 11 May 2009 18:22:35 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[GeForce4 MX 4000]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[lspci]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[optiplex]]></category>
		<category><![CDATA[optiplex gx520]]></category>
		<category><![CDATA[Quadro NVS 110M]]></category>
		<category><![CDATA[twinview]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 9.04]]></category>
		<category><![CDATA[vesa]]></category>
		<category><![CDATA[xinerama]]></category>
		<category><![CDATA[xorg]]></category>
		<category><![CDATA[xorg.conf]]></category>
		<category><![CDATA[xwindows]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1067</guid>
		<description><![CDATA[At work we have three generic LCD monitors mounted on a pole to view monitoring metrics for our Oracle &#038; Sybase database servers. On a previous machine that was cannibalized for another task, we ran Microsoft Windows XP to drive the three monitors. Last week we were given a hand me down desktop, a Dell [...]]]></description>
			<content:encoded><![CDATA[<p>At work we have three generic LCD monitors mounted on a pole to view monitoring metrics for our Oracle &#038; Sybase database servers.  On a previous machine that was cannibalized for another task, we ran Microsoft Windows XP to drive the three monitors.  </p>
<p>Last week we were given a hand me down desktop, a Dell Optiplex GX520 with integrated Intel 82945G/GZ video on the motherboard.  When we added the NVidia GeForce4 MX 4000 low profile video card, Windows XP for whatever reason was unable to use both video cards.  I proposed Kubuntu 9.04 Linux as an alternative.  As it was only myself that I had to convince to make the attempt, I was hard pressed to say no <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>The Intel 82945G/GZ video card will be the primary card and must be attached to &#8220;Screen  0&#8243; in the ServerLayout section.</p>
<p>The NVidia video card has two connectors:  </p>
<ol>
<li>A standard VGA port driven by a GeForce4 MX 4000 GPU < - Primary nvidia port</li>
</li>
<li>A super-video port driven by a Quadro NVS 110M</li>
</ol>
<p>After the base install of the operating system, XWindows was only able to see the Intel video card.  After much tinkering with the /etc/xorg.conf file, I was able to get all three LCD monitors to work with Xinerama.  There are a number of gotchas that you might run into:</p>
<ul>
<li>If the integrated Intel video card is set to <i>Auto</i> in the BIOS, the card will be completely disabled.  You need to disable <i>Auto</i></li>
<li>You need to know which Nvidia Device entry drives the VGA connector.  It <strong>must</strong> be initialized prior to the S-Video port.</li>
<li>Disable NVidia&#8217;s <i>TwinView</i> and <i>metamodes</i> option lines in the Screen Section.
	</li>
<li>Use <strong>sudo lspci</strong> to identify the pci bus ids.  You will need to put them in the Device Sections.</li>
<li>The integrated Intel video card <strong>must</strong> use the <em>vesa</em> video driver as the intel video driver will stacktrace when used with xinerama.</li>
</ul>
<div class="bash dean_ch"><span class="co0"># nvidia-settings: X configuration file generated by nvidia-settings</span><br />
<span class="co0"># nvidia-settings: &nbsp;version 1.0 &nbsp;(buildd@palmer) &nbsp;Sun Feb &nbsp;1 20:21:04 UTC 2009</span></p>
<p>Section <span class="st0">&quot;ServerLayout&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Default Layout&quot;</span><br />
&nbsp; &nbsp; Screen &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp;<span class="st0">&quot;Screen0&quot;</span> <span class="nu0">0</span> <span class="nu0">0</span> &nbsp; <br />
&nbsp; &nbsp; Screen &nbsp; &nbsp; &nbsp;<span class="nu0">1</span> &nbsp;<span class="st0">&quot;Screen2&quot;</span> Above <span class="st0">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; Screen &nbsp; &nbsp; &nbsp;<span class="nu0">2</span> &nbsp;<span class="st0">&quot;Screen1&quot;</span> Above <span class="st0">&quot;Screen2&quot;</span><br />
&nbsp; &nbsp; InputDevice &nbsp; &nbsp;<span class="st0">&quot;Keyboard0&quot;</span> <span class="st0">&quot;CoreKeyboard&quot;</span><br />
&nbsp; &nbsp; InputDevice &nbsp; &nbsp;<span class="st0">&quot;Mouse0&quot;</span> <span class="st0">&quot;CorePointer&quot;</span> &nbsp; &nbsp;<br />
&nbsp; &nbsp; Option <span class="st0">&quot;Xinerama&quot;</span> <span class="st0">&quot;On&quot;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p>
<p>Section <span class="st0">&quot;Files&quot;</span><br />
&nbsp; &nbsp; ModulePath &nbsp; &nbsp; &nbsp;<span class="st0">&quot;/usr/lib/xorg/modules/extensions&quot;</span><br />
&nbsp; &nbsp; ModulePath &nbsp; &nbsp; &nbsp;<span class="st0">&quot;/usr/lib/xorg/modules/drivers&quot;</span> &nbsp; <br />
&nbsp; &nbsp; ModulePath &nbsp; &nbsp; &nbsp;<span class="st0">&quot;/usr/lib/xorg/modules&quot;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p>Section <span class="st0">&quot;Module&quot;</span><br />
&nbsp; &nbsp; Load &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;glx&quot;</span><br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p>Section <span class="st0">&quot;ServerFlags&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;xinerama&quot;</span> <span class="st0">&quot;true&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;DefaultServerLayout&quot;</span> <span class="st0">&quot;Default Layout&quot;</span><br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p>
<p>Section <span class="st0">&quot;InputDevice&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Keyboard0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;kbd&quot;</span> &nbsp; &nbsp; &nbsp;<br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p>Section <span class="st0">&quot;InputDevice&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Mouse0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;mouse&quot;</span> <br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;Protocol&quot;</span> <span class="st0">&quot;auto&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;Device&quot;</span> <span class="st0">&quot;/dev/psaux&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;Emulate3Buttons&quot;</span> <span class="st0">&quot;no&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;ZAxisMapping&quot;</span> <span class="st0">&quot;4 5&quot;</span> &nbsp;<br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p>
<p>Section <span class="st0">&quot;Monitor&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Configured Monitor&quot;</span><br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p>
<p>Section <span class="st0">&quot;Monitor&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span class="st0">&quot;Unknown&quot;</span> <br />
&nbsp; &nbsp; ModelName &nbsp; &nbsp; &nbsp;<span class="st0">&quot;CMO CMC 17 AD&quot;</span><br />
&nbsp; &nbsp; HorizSync &nbsp; &nbsp; &nbsp; <span class="nu0">30.0</span> &#8211; <span class="nu0">82.0</span> &nbsp; <br />
&nbsp; &nbsp; VertRefresh &nbsp; &nbsp; <span class="nu0">50.0</span> &#8211; <span class="nu0">75.0</span> &nbsp; <br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p>Section <span class="st0">&quot;Monitor&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Monitor1&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span class="st0">&quot;Unknown&quot;</span> <br />
&nbsp; &nbsp; ModelName &nbsp; &nbsp; &nbsp;<span class="st0">&quot;CMO CMC 17 AD&quot;</span><br />
&nbsp; &nbsp; HorizSync &nbsp; &nbsp; &nbsp; <span class="nu0">30.0</span> &#8211; <span class="nu0">82.0</span> &nbsp; <br />
&nbsp; &nbsp; VertRefresh &nbsp; &nbsp; <span class="nu0">50.0</span> &#8211; <span class="nu0">75.0</span> &nbsp; <br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p>Section <span class="st0">&quot;Monitor&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Monitor2&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span class="st0">&quot;Unknown&quot;</span> <br />
&nbsp; &nbsp; ModelName &nbsp; &nbsp; &nbsp;<span class="st0">&quot;Seiko&quot;</span> &nbsp; <br />
&nbsp; &nbsp; HorizSync &nbsp; &nbsp; &nbsp; <span class="nu0">30.0</span> &#8211; <span class="nu0">75.0</span><br />
&nbsp; &nbsp; VertRefresh &nbsp; &nbsp; <span class="nu0">60.0</span> &nbsp; &nbsp; &nbsp; <br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p>
<p>
Section <span class="st0">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Configured Video Device&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;nvidia&quot;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;NoLogo&quot;</span> <span class="st0">&quot;True&quot;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p>Section <span class="st0">&quot;Device&quot;</span><br />
&nbsp; &nbsp;Identifier &nbsp;<span class="st0">&quot;Device0&quot;</span><br />
&nbsp; &nbsp;<span class="co0">#Driver &nbsp; &nbsp; &nbsp;&quot;intel&quot; </span><br />
&nbsp; &nbsp;Driver &nbsp; &nbsp; &nbsp;<span class="st0">&quot;vesa&quot;</span> &nbsp; <br />
&nbsp; &nbsp;VendorName &nbsp;<span class="st0">&quot;Intel Corporation&quot;</span><br />
&nbsp; &nbsp;BoardName &nbsp; <span class="st0">&quot;82945G/GZ Integrated Graphics Controller&quot;</span><br />
&nbsp; &nbsp;BusID &nbsp; &nbsp; &nbsp; <span class="st0">&quot;PCI:0:2:0&quot;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp;Screen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">0</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
EndSection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p>
<p>Section <span class="st0">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Device1&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;nvidia&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span class="st0">&quot;NVIDIA Corporation&quot;</span><br />
&nbsp; &nbsp; BoardName &nbsp; &nbsp; &nbsp;<span class="st0">&quot;Quadro NVS 110M&quot;</span><br />
&nbsp; &nbsp; BusID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;PCI:4:0:0&quot;</span><br />
&nbsp; &nbsp; Screen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">1</span><br />
EndSection</p>
<p>Section <span class="st0">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Device2&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;nvidia&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span class="st0">&quot;NVIDIA Corporation&quot;</span><br />
&nbsp; &nbsp; BoardName &nbsp; &nbsp; &nbsp;<span class="st0">&quot;GeForce4 MX 4000&quot;</span><br />
&nbsp; &nbsp; BusID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;PCI:4:0:0&quot;</span><br />
EndSection</p>
<p>Section <span class="st0">&quot;Screen&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Default Screen&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;Configured Video Device&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;Configured Monitor&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span class="nu0">24</span><br />
EndSection</p>
<p>Section <span class="st0">&quot;Screen&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span class="nu0">24</span><br />
&nbsp; &nbsp; SubSection &nbsp; &nbsp; <span class="st0">&quot;Display&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Depth &nbsp; &nbsp; &nbsp; <span class="nu0">24</span><br />
&nbsp; &nbsp; EndSubSection<br />
EndSection</p>
<p>Section <span class="st0">&quot;Screen&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Screen1&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;Device1&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;Monitor1&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span class="nu0">24</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;TwinView&quot;</span> <span class="st0">&quot;0&quot;</span><br />
&nbsp; &nbsp; SubSection &nbsp; &nbsp; <span class="st0">&quot;Display&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Depth &nbsp; &nbsp; &nbsp; <span class="nu0">24</span><br />
&nbsp; &nbsp; EndSubSection<br />
EndSection</p>
<p>Section <span class="st0">&quot;Screen&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span class="st0">&quot;Screen2&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;Device2&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;Monitor2&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span class="nu0">24</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;TwinView&quot;</span> <span class="st0">&quot;0&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;TwinViewXineramaInfoOrder&quot;</span> <span class="st0">&quot;CRT-0&quot;</span><br />
&nbsp; &nbsp; SubSection &nbsp; &nbsp; <span class="st0">&quot;Display&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Depth &nbsp; &nbsp; &nbsp; <span class="nu0">24</span><br />
&nbsp; &nbsp; EndSubSection<br />
EndSection</p>
<p>Section <span class="st0">&quot;Extensions&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;Composite&quot;</span> <span class="st0">&quot;on&quot;</span><br />
EndSection</div>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/05/11/getting-three-monitors-to-work-with-kubuntu-ubuntu-with-kde-on-a-dell-optiplex-gx520-nvidia-geforce4-mx-4000-low-profile-video-card-and-the-onboard-intel-82945ggz-video-card/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to clean up Oracle archive logs when you don&#8217;t have a RMAN catalog (10g/11g)</title>
		<link>http://froebe.net/blog/2009/05/05/how-to-clean-up-oracle-archive-logs-when-you-dont-have-a-rman-catalog-10g11g/</link>
		<comments>http://froebe.net/blog/2009/05/05/how-to-clean-up-oracle-archive-logs-when-you-dont-have-a-rman-catalog-10g11g/#comments</comments>
		<pubDate>Tue, 05 May 2009 17:51:32 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[10g]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[archive logs]]></category>
		<category><![CDATA[archive mode]]></category>
		<category><![CDATA[enterprise manager]]></category>
		<category><![CDATA[hot backups]]></category>
		<category><![CDATA[nocatalog]]></category>
		<category><![CDATA[rman]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1061</guid>
		<description><![CDATA[If you&#8217;re not using Oracle&#8217;s RMAN for backup management but you have turned on archive mode for hot backups, you can create a job in Enterprise Manager (Maintenance -> Manage Current Backups). Recently I ran into a problem with one our Enterprise Manager installs where scheduled jobs would not run. So, I wrote a very [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re not using Oracle&#8217;s RMAN for backup management but you have turned on archive mode for hot backups, you can create a job in Enterprise Manager (Maintenance -> Manage Current Backups).</p>
<p>Recently I ran into a problem with one our Enterprise Manager installs where scheduled jobs would not run.  So, I wrote a very simple RMAN script to clear out the references to any archive files that I&#8217;ve moved elsewhere or deleted:</p>
<div class="bash dean_ch"><span class="re2">RMAN</span>=<span class="sy0">/</span>oranr<span class="sy0">/</span>10g<span class="sy0">/</span>bin<span class="sy0">/</span>rman</p>
<p><span class="re1">$RMAN</span> nocatalog target <span class="sy0">/</span> <span class="sy0">&lt;</span> <span class="sy0">&lt;</span>EOF<br />
crosscheck backup;<br />
crosscheck archivelog all;<br />
delete noprompt expired archivelog all;<br />
delete noprompt expired backup;<br />
delete noprompt obsolete;<br />
EOF</div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/05/05/how-to-clean-up-oracle-archive-logs-when-you-dont-have-a-rman-catalog-10g11g/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>So you want to tweet to Twitter from *WITHIN* Oracle 11g?  Here&#8217;s how!</title>
		<link>http://froebe.net/blog/2009/04/12/so-you-want-to-tweet-to-twitter-from-within-oracle-11g-heres-how/</link>
		<comments>http://froebe.net/blog/2009/04/12/so-you-want-to-tweet-to-twitter-from-within-oracle-11g-heres-how/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 22:04:45 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[DBMS]]></category>
		<category><![CDATA[lewis cunningham]]></category>
		<category><![CDATA[oracle ace]]></category>
		<category><![CDATA[sourceforge]]></category>
		<category><![CDATA[sourceforge.net]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1046</guid>
		<description><![CDATA[Lewis Cunningham has once again given us a gem from the world of Oracle&#8217;s relational DBMS!  This time, he has written ORA_Tweet, an API to send/receive Tweets (microblog posts) from within Oracle 11g.  Major kudos to Lewis Cunningham for writing and releasing ORA Tweet to Sourceforge.net Call the Twitter API from within an Oracle database. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lewiscunningham.com/default.aspx">Lewis Cunningham</a> <a href="http://www.twitter.com"><img class="alignright size-full wp-image-1047" title="Twitter" src="http://froebe.net/blog/wp-content/uploads/2009/04/twitter_logo_header.png" alt="Twitter" width="155" height="36" /></a>has once again given us a gem from the world of Oracle&#8217;s relational DBMS!  This time, he has written <a title="ORA_Tweet" href="http://sourceforge.net/projects/oratweet/">ORA_Tweet</a>, an API to send/receive Tweets (microblog posts) from <strong>within</strong> Oracle 11g.  Major kudos to Lewis Cunningham for writing and releasing ORA Tweet to Sourceforge.net <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p><em>Call the Twitter API from within an Oracle database. ORA_Tweet uses the UTL_HTTP API within Oracle to call the update_status API. It is written completely in PL/SQL. </em></p></blockquote>
<p>So, my question is&#8230;  Will someone write a Flickr API for Sybase ASE?</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/04/12/so-you-want-to-tweet-to-twitter-from-within-oracle-11g-heres-how/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing QweryBuilder, a Developer GUI for Sybase ASE, SQL Anywhere, Microsoft SQL Server and Oracle 10g/11g</title>
		<link>http://froebe.net/blog/2009/03/10/introducing-qwerybuilder-a-developer-gui-for-sybase-ase-sql-anywhere-microsoft-sql-server-and-oracle-10g11g/</link>
		<comments>http://froebe.net/blog/2009/03/10/introducing-qwerybuilder-a-developer-gui-for-sybase-ase-sql-anywhere-microsoft-sql-server-and-oracle-10g11g/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 20:00:36 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[qwerybuilder]]></category>
		<category><![CDATA[sql editor]]></category>
		<category><![CDATA[SQLAnywhere]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=886</guid>
		<description><![CDATA[QweryBuilder uses innovative ideas to provide developers with the ability to easily insert, extract and modify data from a variety of databases. The goal of QweryBuilder is to increase a database developer&#8217;s productivity. It contains many time saving features. SQL Editor Script auto complete Custom auto complete lists Code Templates Display column list for tables [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><a href="http://www.werysoft.com/Default.aspx"><img class="aligncenter size-medium wp-image-890" title="qwerybuilder_reflectedimage" src="http://froebe.net/blog/wp-content/uploads/2009/03/qwerybuilder_reflectedimage-300x116.png" alt="qwerybuilder_reflectedimage" width="300" height="116" /></a><a href="http://www.werysoft.com/Default.aspx">QweryBuilder</a> uses innovative ideas to provide developers with the ability to easily insert,                              extract and modify data from a variety of databases.</p>
<p>The goal of QweryBuilder is to increase a database developer&#8217;s productivity. It contains                         many time saving features.</p>
<p>SQL Editor</p>
<div id="attachment_887" class="wp-caption alignright" style="width: 266px"><a href="http://www.werysoft.com/Screenshots/sqleditoradvanced.jpg"><img class="size-full wp-image-887" title="QweryBuilder - SQL Editor" src="http://froebe.net/blog/wp-content/uploads/2009/03/sqleditoradvancedsmall.jpg" alt="QweryBuilder - SQL Editor" width="256" height="154" /></a><p class="wp-caption-text">QweryBuilder - SQL Editor</p></div>
<ul>
<li>Script auto complete</li>
<li>Custom auto complete lists</li>
<li>Code Templates</li>
<li>Display column list for tables and views in editor</li>
<li>Display procedure parameters in editor</li>
<li>Keyboard shortcut to open procedures</li>
<li>Generate and insert new GUIDs</li>
<li>Syntax folding</li>
<li>Auto indenting</li>
</ul>
<p>Criteria Query</p>
<div id="attachment_888" class="wp-caption alignright" style="width: 266px"><a href="http://www.werysoft.com/Screenshots/criteriaquery.jpg"><img class="size-full wp-image-888" title="QweryBuilder - Criteria Query" src="http://froebe.net/blog/wp-content/uploads/2009/03/criteriaquerysmall.jpg" alt="QweryBuilder - Criteria Query" width="256" height="154" /></a><p class="wp-caption-text">QweryBuilder - Criteria Query</p></div>
<ul>
<li>Form view criteria screen for easy data retrieval</li>
<li>Updateable result set
<ul>
<li>Insert nulls, GUID&#8217;s, and computed values into results</li>
<li>Insert, delete and update data rows</li>
<li>Generate insert statements from results</li>
<li>Create graphs from result data</li>
</ul>
</li>
</ul>
<p>Graphic Query</p>
<div id="attachment_889" class="wp-caption alignright" style="width: 266px"><a href="http://www.werysoft.com/Screenshots/graphicquery.jpg"><img class="size-full wp-image-889" title="QweryBuilder - Graphic Query" src="http://froebe.net/blog/wp-content/uploads/2009/03/graphicquerysmall.jpg" alt="QweryBuilder - Graphic Query" width="256" height="154" /></a><p class="wp-caption-text">QweryBuilder - Graphic Query</p></div>
<ul>
<li>Create queries graphically</li>
<li>Cross table querying without writing SQL</li>
</ul>
<p>Other Features</p>
<ul>
<li>Support for Microsoft SQL Server, Sybase ASE, SQL Anywhere and Oracle</li>
<li>DDL Browser</li>
<li>Database Search</li>
<li>Visual Difference</li>
<li>Code Formatter</li>
<li>Getting Started Window
<ul>
<li>Displays last used connections, files and database objects</li>
<li>Easily navigate to the last thing you were working on</li>
</ul>
</li>
<li>Clipboard Saver</li>
<li>File Browser</li>
<li>Object Browser</li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/03/10/introducing-qwerybuilder-a-developer-gui-for-sybase-ase-sql-anywhere-microsoft-sql-server-and-oracle-10g11g/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FW: Oracle 10g+ Security and Audit &#8211; Part 1</title>
		<link>http://froebe.net/blog/2009/03/10/fw-oracle-10g-security-and-audit-part-1/</link>
		<comments>http://froebe.net/blog/2009/03/10/fw-oracle-10g-security-and-audit-part-1/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 16:44:35 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[10g]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[auditing]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[database geek blog]]></category>
		<category><![CDATA[lewis cunningham]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=871</guid>
		<description><![CDATA[Over at the Database Geek Blog, Lewis Cunningham has provided the first of three blog posts on Oracle Security.  The first post is well done IMHO: Oracle 10g+ Security and Audit &#8211; Part 1 This is a three-part definition of Oracle Security (specifically in 10g but applies to later versions also). Part 1 covers the [...]]]></description>
			<content:encoded><![CDATA[<p>Over at the <a href="http://database-geek.com">Database Geek Blog</a>, Lewis Cunningham has provided the first of three blog posts on Oracle Security.  The first post is well done IMHO:</p>
<blockquote>
<h3><em><a title="Permanent Link: Oracle 10g+ Security and Audit - Part 1" rel="bookmark" href="http://database-geek.com/2009/03/10/oracle-10g-security-and-audit-part-1/">Oracle 10g+ Security and Audit &#8211; Part 1</a><a href="http://www.oracle.com"><img class="alignright size-full wp-image-753" title="Oracle" src="http://froebe.net/blog/wp-content/uploads/2008/11/oralogo_small.gif" alt="Oracle" width="133" height="18" /></a></em></h3>
<p><em>This is a three-part definition of Oracle Security (specifically in 10g but applies to later versions also). Part 1 covers the various types of security Oracle provides. Part 2 deals with Users/Schemas, Roles, Permissions and Data Access. Part 2 will be a more technical discussion than parts 1 or 3. In part 3, I will discuss implementing an Oracle auditing scheme and how to ensure you comply with security and audit regulations.</em></p>
<p><em><a href="http://database-geek.com/2009/03/10/oracle-10g-security-and-audit-part-1/">read more&#8230;</a><br />
</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/03/10/fw-oracle-10g-security-and-audit-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying to install Oracle 11g on AIX 6.x but it fails on a ORA-27173 (unable to attach to shared memory) error?</title>
		<link>http://froebe.net/blog/2008/11/18/trying-to-install-oracle-11g-on-aix-6x-but-it-fails-on-a-ora-27173-unable-to-attach-to-shared-memory-error/</link>
		<comments>http://froebe.net/blog/2008/11/18/trying-to-install-oracle-11g-on-aix-6x-but-it-fails-on-a-ora-27173-unable-to-attach-to-shared-memory-error/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 19:52:18 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[create database]]></category>
		<category><![CDATA[database configuration assistant]]></category>
		<category><![CDATA[dbca]]></category>
		<category><![CDATA[olsen time zones]]></category>
		<category><![CDATA[ora-27173]]></category>
		<category><![CDATA[shared memory]]></category>
		<category><![CDATA[time zone]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=757</guid>
		<description><![CDATA[The AIX version of Oracle 11g was built on AIX 5 so when you try to create an Oracle database using the Database Configuration Assistant, aka, &#8216;dbca&#8217;, you may get the ORA-27173 &#8220;unable to attach to shared memory&#8221; error.  Oddly enough this has to do with the time zone (TZ) setting. You see, dbca has [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.oracle.com/technology/software/products/database/oracle11g/111060_aixsoft.html">AIX version of Oracle 11g</a> was built on AIX 5 so when you try to create<a href="http://www.oracle.com"><img class="alignright size-full wp-image-753" title="Oracle" src="http://froebe.net/blog/wp-content/uploads/2008/11/oralogo_small.gif" alt="" width="133" height="18" /></a> an Oracle database using the <em>Database Configuration Assistant, aka,</em> &#8216;dbca&#8217;, you may get the ORA-27173 &#8220;unable to attach to shared memory&#8221; error.   Oddly enough this has to do with the time zone (TZ) setting.  You see, dbca has no concept of the <a href="http://en.wikipedia.org/wiki/Zoneinfo">Olsen Time Zone</a> ids, it is expecting what AIX 5 used.  So you need to explicitly set the time zone environment variable (TZ).</p>
<p>AIX 6 had my TZ set to &#8220;America/New York&#8221;.   For Oracle&#8217;s dbca to work, I had to set TZ to &#8220;EST5EDT&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/11/18/trying-to-install-oracle-11g-on-aix-6x-but-it-fails-on-a-ora-27173-unable-to-attach-to-shared-memory-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle 10g: How to create an Enterprise Manager instance on the command line</title>
		<link>http://froebe.net/blog/2008/11/14/oracle-10g-how-to-create-an-enterprise-manager-instance-on-the-command-line/</link>
		<comments>http://froebe.net/blog/2008/11/14/oracle-10g-how-to-create-an-enterprise-manager-instance-on-the-command-line/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 15:05:45 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[10g]]></category>
		<category><![CDATA[enterprise manager]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=750</guid>
		<description><![CDATA[In case you have to create an Oracle 10g Enterprise Manager instance from scratch, it is very easy. emca -repos create emca -config dbcontrol db If you need to blow away the existing Enterprise Manager configuration, you can either recreate the repository, which will wipe out all the configurations: emca -repos recreate emca -config dbcontrol [...]]]></description>
			<content:encoded><![CDATA[<p>In case you have to create an Oracle 10g Enterprise Manager instance from scratch, it is very easy.</p>
<ol>
<li>emca -repos create<a href="http://www.oracle.com"><img class="alignright size-medium wp-image-753" title="Oracle" src="http://froebe.net/blog/wp-content/uploads/2008/11/oralogo_small.gif" alt="" width="133" height="18" /></a></li>
<li>emca -config dbcontrol db</li>
</ol>
<p>If you need to blow away the existing Enterprise Manager configuration, you can either recreate the repository, which will wipe out all the configurations:</p>
<ol>
<li>emca -repos recreate</li>
<li>emca -config dbcontrol db</li>
</ol>
<p>or, you can recreate just the dbcontrol for an instance:</p>
<ol>
<li>emca -deconfig dbcontrol db</li>
<li>emca -config dbcontrol db</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/11/14/oracle-10g-how-to-create-an-enterprise-manager-instance-on-the-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Oracle Instant Client and DBD::Oracle on Ubuntu Linux 8.04 Server JEOS</title>
		<link>http://froebe.net/blog/2008/10/22/installing-oracle-instant-client-and-dbdoracle-on-ubuntu-linux-804-server-jeos/</link>
		<comments>http://froebe.net/blog/2008/10/22/installing-oracle-instant-client-and-dbdoracle-on-ubuntu-linux-804-server-jeos/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 16:49:27 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[DBI]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[10g]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[dbd::oracle]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[instant client]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=729</guid>
		<description><![CDATA[Ever want to just install the minimal amount of Oracle client software for client applications on Linux? Well, Oracle has provided Oracle Instant Client to do this but they have neglected to make it intuitive to install. I&#8217;ve written a couple scripts that make it easy on Linux. I&#8217;ve tested this on Ubuntu Linux 8.04 [...]]]></description>
			<content:encoded><![CDATA[<p>Ever want to just install the minimal amount of Oracle client software for client applications on Linux?  Well, <a href="http://www.oracle.com">Oracle</a> has provided <a href="http://www.oracle.com/technology/tech/oci/instantclient/index.html">Oracle Instant Client</a> to do this but they have neglected to make it intuitive to install.  I&#8217;ve written a couple scripts that make it easy on Linux.  I&#8217;ve tested this on <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos">Ubuntu Linux 8.04 Server JEOS</a>.</p>
<h3>Download the files you need</h3>
</p>
<p><strong>Download Oracle Instant Client</strong></p>
<p>Retrieve the <a href="http://www.oracle.com/technology/tech/oci/instantclient/index.html">Instant Client</a> packages and save them to a directory (e.g. &#8220;linux 32bit&#8221;).</p>
<ul>
<li>Instant Client Package &#8211; Basic</li>
<li>Instant Client Package &#8211; JDBC Supplement</li>
<li>Instant Client Package &#8211; SQL*Plus</li>
<li>Instant Client Package &#8211; SDK</li>
<li>Instant Client Package &#8211; ODBC</li>
</ul>
<p><strong>Download <a href="http://search.cpan.org/~pythian/DBD-Oracle/Oracle.pm">DBD::Oracle</a> and place it in the build-cfg directory</strong></p>
<p><strong>Copy your tnsnames.ora file into the build-cfg directory</strong></p>
<p><strong>Download build_oracle_instantclient.sh into the directory above build-cfg directory</strong></p>
<p><strong>Save root.sh  into the build-cfg directory</strong></p>
<h3>Build a tar ball containing everything we need in the directory format we need.</h3>
<div class="bash dean_ch">build_oracle_instantclient.sh <span class="st0">&quot;../linux 32bit&quot;</span></div>
<h3>Script1:  build_oracle_instantclient.sh</h3>
<div class="bash dean_ch"><span class="re2">SOURCE_DIR</span>=<span class="st0">&quot;$1&quot;</span><br />
<span class="re2">BUILD_DIR</span>=builddir<br />
<span class="re2">CFG_DIR</span>=build-cfg</p>
<p><span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-z</span> <span class="re4">$1</span> <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
<span class="kw1">then</span><br />
&nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Usage: build_oracle_instantclient.sh &lt;directory containing oracle instant client zip files&gt;&quot;</span><br />
&nbsp; <span class="kw3">exit</span> <span class="nu0">1</span><br />
<span class="kw1">fi</span></p>
<p><span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="sy0">!</span> <span class="re5">-d</span> <span class="st0">&quot;<span class="es3">${SOURCE_DIR}</span>&quot;</span> <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
<span class="kw1">then</span><br />
&nbsp; &nbsp;<span class="kw3">echo</span> <span class="st0">&quot;<span class="es3">${SOURCE_DIR}</span> is not a directory&quot;</span><br />
&nbsp; &nbsp;<span class="kw3">exit</span> <span class="nu0">1</span><br />
<span class="kw1">fi</span></p>
<p><span class="kw2">find</span> <span class="st0">&quot;<span class="es3">${SOURCE_DIR}</span>&quot;</span> <span class="re5">-name</span> <span class="st0">&quot;*.zip&quot;</span> <span class="re5">-type</span> f <span class="re5">-exec</span> <span class="kw2">unzip</span> <span class="br0">&#123;</span><span class="br0">&#125;</span> \;</p>
<p><span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-d</span> instantclient_11_1 <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
<span class="kw1">then</span><br />
&nbsp; <span class="re2">TMP_DIR</span>=instantclient_11_1<br />
<span class="kw1">elif</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-d</span> instantclient_10_2 <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
<span class="kw1">then</span><br />
&nbsp; <span class="re2">TMP_DIR</span>=instantclient_10_2<br />
<span class="kw1">else</span><br />
&nbsp; <span class="kw3">echo</span> <span class="st0">&quot;unable to determine extraction dir&quot;</span><br />
&nbsp; <span class="kw3">exit</span> <span class="nu0">1</span><br />
<span class="kw1">fi</span></p>
<p><span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-d</span> <span class="co1">${BUILD_DIR}</span> <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
<span class="kw1">then</span><br />
&nbsp; <span class="kw2">rm</span> <span class="re5">-rf</span> <span class="co1">${BUILD_DIR}</span><br />
<span class="kw1">fi</span></p>
<p><span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${BUILD_DIR}</span><br />
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>bin<br />
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>doc<br />
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>java<br />
<span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>lib</p>
<p><span class="kw2">cp</span> <span class="co1">${CFG_DIR}</span><span class="sy0">/*</span> <span class="co1">${BUILD_DIR}</span><br />
<span class="kw2">mv</span> <span class="co1">${TMP_DIR}</span><span class="sy0">/*</span>README<span class="sy0">*</span> <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>doc<br />
<span class="kw2">mv</span> <span class="co1">${TMP_DIR}</span><span class="sy0">/*</span>.html <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>doc<br />
<span class="kw2">mv</span> <span class="co1">${TMP_DIR}</span><span class="sy0">/*</span>.htm <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>doc<br />
<span class="kw2">mv</span> <span class="co1">${TMP_DIR}</span><span class="sy0">/</span>lib<span class="sy0">*</span> <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>lib<br />
<span class="kw2">mv</span> <span class="co1">${TMP_DIR}</span><span class="sy0">/*</span>.jar <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>java<br />
<span class="kw2">mv</span> <span class="co1">${TMP_DIR}</span><span class="sy0">/</span>sdk <span class="co1">${BUILD_DIR}</span><br />
<span class="kw2">mv</span> <span class="co1">${TMP_DIR}</span><span class="sy0">/*</span> <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>bin</p>
<p><span class="kw3">cd</span> <span class="co1">${BUILD_DIR}</span><span class="sy0">/</span>lib<br />
<span class="kw2">ln</span> <span class="re5">-s</span> libclntsh.so.<span class="sy0">*</span> libclntsh.so<br />
<span class="kw2">ln</span> <span class="re5">-s</span> libocci.so.<span class="sy0">*</span> libocci.so<br />
<span class="kw2">ln</span> <span class="re5">-s</span> libsqora.so.<span class="sy0">*</span> libsqora.so</p>
<p><span class="kw3">cd</span> ..<br />
<span class="re2">tarball</span>=<span class="sy0">`</span><span class="kw3">echo</span> <span class="co1">${SOURCE_DIR}</span> <span class="sy0">|</span> <span class="kw2">tr</span> <span class="st_h">&#8216; &#8216;</span> <span class="st_h">&#8216;-&#8217;</span><span class="sy0">`</span><br />
<span class="re2">tarball</span>=<span class="sy0">`</span><span class="kw2">basename</span> <span class="co1">${tarball}</span><span class="sy0">`</span><br />
<span class="re2">tarball</span>=Oracle-<span class="co1">${TMP_DIR}</span>-<span class="co1">${tarball}</span><br />
<span class="kw2">tar</span> cvf &#8211; <span class="sy0">*</span> <span class="sy0">|</span> <span class="kw2">gzip</span> <span class="re5">-9c</span> <span class="sy0">&gt;</span> <span class="st0">&quot;../<span class="es3">${tarball}</span>.tgz&quot;</span></p>
<p><span class="kw3">cd</span> ..<br />
<span class="kw2">rm</span> <span class="re5">-rf</span> <span class="co1">${BUILD_DIR}</span> <span class="co1">${TMP_DIR}</span><span class="sy0">&lt;/</span>directory<span class="sy0">&gt;</span></div>
<p>Once we have the tar ball, we can copy that file to any compatible Linux system, extract it and run the <i>root.sh</i> file which will copy the install to /usr/local/oracle/InstantClient, set up the system variables and build DBD::Oracle for you.</p>
<h3>Script2:  root.sh</h3>
<div class="bash dean_ch"><span class="co0">#!/bin/bash</span></p>
<p><span class="co0">############################################</span><br />
<span class="kw1">function</span> copy_instantclient <span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="sy0">`</span><span class="kw3">pwd</span><span class="sy0">`</span> <span class="sy0">!</span>= <span class="st0">&quot;/usr/local/oracle/InstantClient&quot;</span> <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
&nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="sy0">!</span> <span class="re5">-d</span> <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>oracle<span class="sy0">/</span>InstantClient <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
&nbsp; &nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Creating /usr/local/oracle/InstantClient directory&quot;</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>oracle<span class="sy0">/</span>InstantClient<br />
&nbsp; &nbsp; <span class="kw1">fi</span></p>
<p>&nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Copying Oracle Instant Client to /usr/local/oracle/InstantClient&quot;</span> <br />
&nbsp; &nbsp; <span class="kw2">cp</span> <span class="re5">-Ra</span> <span class="sy0">*</span> <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>oracle<span class="sy0">/</span>InstantClient<br />
&nbsp; <span class="kw1">fi</span><br />
<span class="br0">&#125;</span></p>
<p><span class="co0">#&#8212;&#8212;&#8212;</span><br />
<span class="kw1">function</span> update_etc_profile <span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-f</span> <span class="sy0">/</span>etc<span class="sy0">/</span>profile <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
&nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="sy0">`</span><span class="kw2">grep</span> <span class="re5">-c</span> <span class="st0">&quot;ORACLE_HOME&quot;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>profile<span class="sy0">`</span> = <span class="nu0">0</span> <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
&nbsp; &nbsp; <span class="kw1">then</span> <br />
&nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Updating /etc/profile&quot;</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw2">cat</span> <span class="sy0">&gt;&gt;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>profile <span class="sy0">&lt;</span> <span class="sy0">&lt;</span> EOF<br />
&nbsp; <span class="kw3">export</span> <span class="re2">ORACLE_HOME</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>oracle<span class="sy0">/</span>InstantClient<br />
&nbsp; <span class="kw3">export</span> <span class="re2">TNS_ADMIN</span>=\<span class="co1">${ORACLE_HOME}</span><br />
&nbsp; <span class="kw3">export</span> <span class="re2">PATH</span>=\<span class="co1">${ORACLE_HOME}</span><span class="sy0">/</span>bin:\<span class="co1">${PATH}</span><br />
&nbsp; <span class="kw3">export</span> <span class="re2">CLASSPATH</span>=\<span class="co1">${ORACLE_HOME}</span><span class="sy0">/</span>classes:\<span class="co1">${CLASSPATH}</span><br />
&nbsp; <span class="kw3">export</span> <span class="re2">LD_LIBRARY_PATH</span>=\<span class="co1">${ORACLE_HOME}</span><span class="sy0">/</span>lib:\<span class="co1">${LD_LIBRARY_PATH}</span><br />
&nbsp; <span class="kw3">export</span> <span class="re2">SQLPATH</span>=\<span class="co1">${ORACLE_HOME}</span><span class="sy0">/</span>bin<br />
EOF<br />
&nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Updates to /etc/profile already applied&quot;</span><br />
&nbsp; &nbsp; <span class="kw1">fi</span><br />
&nbsp; <span class="kw1">fi</span><br />
<span class="br0">&#125;</span></p>
<p><span class="co0">#&#8212;&#8212;&#8212;</span><br />
<span class="kw1">function</span> update_library_cache <span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-d</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf.d <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
&nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-f</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf.d<span class="sy0">/</span>oracle_instant_client.conf <br />
&nbsp; &nbsp; &nbsp; &nbsp;<span class="sy0">&amp;&amp;</span> &nbsp;<span class="sy0">`</span><span class="kw2">grep</span> <span class="re5">-c</span> <span class="st0">&quot;/usr/local/oracle/InstantClient&quot;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf.d<span class="sy0">/</span>oracle_instant_client.conf<span class="sy0">`</span> <span class="sy0">!</span>= <span class="nu0">0</span> <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
&nbsp; &nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<span class="kw3">echo</span> <span class="st0">&quot;Updates to /etc/ld.so.conf.d/oracle_instant_client.conf already applied&quot;</span><br />
&nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Updating /etc/ld.so.conf.d/oracle_instant_client.conf&quot;</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;/usr/local/oracle/InstantClient&quot;</span> <span class="sy0">&gt;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf.d<span class="sy0">/</span>oracle_instant_client.conf<br />
&nbsp; &nbsp; &nbsp; <span class="sy0">/</span>sbin<span class="sy0">/</span>ldconfig<br />
&nbsp; &nbsp; <span class="kw1">fi</span><br />
&nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="sy0">`</span><span class="kw2">grep</span> <span class="re5">-c</span> <span class="st0">&quot;/usr/local/oracle/InstantClient&quot;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf<span class="sy0">`</span> == <span class="nu0">0</span> <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
&nbsp; &nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Updating /etc/ld.so.conf&quot;</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;/usr/local/oracle/InstantClient&quot;</span> <span class="sy0">&gt;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf<br />
&nbsp; &nbsp; &nbsp; <span class="sy0">/</span>sbin<span class="sy0">/</span>ldconfig<br />
&nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Updates to /etc/ld.so.conf already applied&quot;</span><br />
&nbsp; &nbsp; <span class="kw1">fi</span> <br />
&nbsp; <span class="kw1">fi</span></p>
<p><span class="br0">&#125;</span></p>
<p><span class="co0">#&#8212;&#8212;&#8212;</span><br />
<span class="kw1">function</span> print_env <span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Add the following to the rc.d script for any daemon processes that need to access Oracle. &nbsp;For example, apache&quot;</span><br />
&nbsp; <span class="kw3">echo</span> <span class="st_h">&#8216; &nbsp;export ORACLE_HOME=/usr/local/oracle/InstantClient<br />
&nbsp; export TNS_ADMIN=${ORACLE_HOME}<br />
&nbsp; export PATH=${ORACLE_HOME}/bin:${PATH}<br />
&nbsp; export CLASSPATH=${ORACLE_HOME}/classes:${CLASSPATH}<br />
&nbsp; export LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}<br />
&nbsp; export SQLPATH=${ORACLE_HOME}/bin&#8217;</span><br />
<span class="br0">&#125;</span></p>
<p><span class="co0">#&#8212;&#8212;&#8212;</span><br />
<span class="kw1">function</span> install_DBD-Oracle <span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Building DBD::Oracle&quot;</span><br />
&nbsp; <span class="re2">DBDORA</span>=<span class="sy0">`</span><span class="kw2">ls</span> DBD-Oracle-<span class="sy0">*`</span></p>
<p>&nbsp; <span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-f</span> <span class="co1">${DBDORA}</span> <span class="br0">&#93;</span><span class="br0">&#93;</span><br />
&nbsp; <span class="kw1">then</span><br />
&nbsp; &nbsp; <span class="kw2">tar</span> zxf <span class="co1">${DBDORA}</span> <br />
&nbsp; &nbsp; <span class="kw3">cd</span> DBD-Oracle<span class="sy0">*</span> <br />
&nbsp; &nbsp; <span class="re2">TMP_DBDORA</span>=<span class="sy0">`</span><span class="kw3">pwd</span><span class="sy0">`</span><br />
&nbsp; &nbsp; <span class="re2">TMP_DBDORA</span>=<span class="sy0">`</span><span class="kw2">basename</span> <span class="co1">${TMP_DBDORA}</span><span class="sy0">`</span><br />
&nbsp; &nbsp; <span class="kw2">perl</span> Makefile.PL <span class="re5">-m</span> <span class="re1">$ORACLE_HOME</span><span class="sy0">/</span>sdk<span class="sy0">/</span>demo<span class="sy0">/</span>demo.mk<br />
&nbsp; &nbsp; <span class="kw2">make</span> <span class="sy0">&amp;&amp;</span> <span class="kw2">make</span> <span class="kw2">install</span><br />
&nbsp; &nbsp; <span class="kw3">cd</span> ..<br />
&nbsp; &nbsp; <span class="kw2">rm</span> <span class="re5">-rf</span> <span class="co1">${TMP_DBDORA}</span><br />
&nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; <span class="kw3">echo</span> <span class="st0">&quot;Unable to find DBD-Oracle file&quot;</span><br />
&nbsp; <span class="kw1">fi</span><br />
<span class="br0">&#125;</span></p>
<p><span class="co0">############################################</span></p>
<p><span class="kw3">export</span> <span class="re2">ORACLE_HOME</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>oracle<span class="sy0">/</span>InstantClient<br />
<span class="kw3">export</span> <span class="re2">TNS_ADMIN</span>=<span class="co1">${ORACLE_HOME}</span><br />
<span class="kw3">export</span> <span class="re2">PATH</span>=<span class="co1">${ORACLE_HOME}</span><span class="sy0">/</span>bin:<span class="co1">${PATH}</span><br />
<span class="kw3">export</span> <span class="re2">CLASSPATH</span>=<span class="co1">${ORACLE_HOME}</span><span class="sy0">/</span>classes:<span class="co1">${CLASSPATH}</span><br />
<span class="kw3">export</span> <span class="re2">LD_LIBRARY_PATH</span>=<span class="co1">${ORACLE_HOME}</span><span class="sy0">/</span>lib:<span class="co1">${LD_LIBRARY_PATH}</span><br />
<span class="kw3">export</span> <span class="re2">SQLPATH</span>=<span class="co1">${ORACLE_HOME}</span><span class="sy0">/</span>bin</p>
<p>copy_instantclient<br />
update_etc_profile<br />
update_library_cache<br />
print_env<br />
install_DBD-Oracle</div>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/10/22/installing-oracle-instant-client-and-dbdoracle-on-ubuntu-linux-804-server-jeos/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing Oracle 10g / 11g on Ubuntu 8.04.1 (Hardy Heron) Server JEOS in VMware Server 1.0x/2.0x</title>
		<link>http://froebe.net/blog/2008/10/21/installing-oracle-10g-11g-on-ubuntu-8041-hardy-heron-server-jeos-in-vmware-server-10x20x/</link>
		<comments>http://froebe.net/blog/2008/10/21/installing-oracle-10g-11g-on-ubuntu-8041-hardy-heron-server-jeos-in-vmware-server-10x20x/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 16:36:26 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[10g]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[11xe]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[JEOS]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vmware server]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=726</guid>
		<description><![CDATA[I&#8217;ve been tasked with becoming an Oracle DBA, so I need to be able to create an VMware Server image containing 32 bit Ubuntu 8.04.1 Server JEOS and Oracle 10g. Much of the work was taken from Augusto Bott&#8216;s Installing Oracle 11g on Ubuntu Linux 7.10 (Gutsy Gibbon) and Peter Cooper&#8216;s How to Install VMware [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been tasked with becoming an Oracle DBA, so I need to be able to create an <a href="http://www.vmware.com">VMware Server</a> image containing <a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos">32 bit Ubuntu 8.04.1 Server JEOS</a> and <a href="http://www.oracle.com">Oracle 10g</a>.  Much of the work was taken from <a href="http://www.pythian.com/blogs/author/bott/">Augusto Bott</a>&#8216;s <a href="http://www.pythian.com/blogs/654/installing-oracle-11g-on-ubuntu-linux-710-gutsy-gibbon">Installing Oracle 11g on Ubuntu Linux 7.10 (Gutsy Gibbon)</a> and <a href="http://peterc.org/">Peter Cooper</a>&#8216;s <a href="http://peterc.org/2008/62-how-to-install-vmware-tools-on-ubuntu-hardy-804-under-vmware-fusion.html">How to Install VMware Tools on Ubuntu Hardy 8.04 under VMware Fusion</a>.</p>
<p>I was able to consolidate the methods to work rather well together.  As soon as Ubuntu 8.10 Server JEOS (Intrepid) is released, I&#8217;ll verify the procedure on that operating system as well. </p>
<p>If you&#8217;re looking for instructions on how to install Oracle 11 XE on Ubuntu 8.04.1, look at <a href="http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html">Installing Oracle Database XE on Debian, Ubuntu, and Kubuntu</a> by Todd Trichler.</p>
<h3>Create a VMware Image with the following settings</h3>
<ol>
<li>Choose 32bit Ubuntu for the OS type</li>
<li>1024 MBytes RAM</li>
<li>16GBytes disk space</li>
<li>Ubuntu 8.04.1 (or higher) Server JEOS edition http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos</li>
<li>Upon the os installation, create a non &#8220;oracle&#8221; id to use to administer the os.</li>
</ol>
<h3>Install the required updates and packages</h3>
<div class="bash dean_ch">$ <span class="kw2">sudo</span> <span class="kw2">aptitude</span> update<br />
$ <span class="kw2">sudo</span> <span class="kw2">aptitude</span> safe-upgrade<br />
$ <span class="kw2">sudo</span> <span class="kw2">aptitude</span> <span class="kw2">install</span> build-essential xinetd linux-headers-<span class="sy0">`</span><span class="kw2">uname</span> -r<span class="sy0">`</span> openssh-client openssh-server <span class="kw2">unzip</span> libaio1 <span class="kw2">gawk</span> ksh rpm libmotif3 alien lsb-rpm libtool libxtst-dev libxtst6 libstdc++<span class="nu0">5</span></div>
<h3> Add swap</h3>
<div class="bash dean_ch">$ <span class="kw2">sudo</span> <span class="kw2">dd</span> <span class="re2">if</span>=<span class="sy0">/</span>dev<span class="sy0">/</span>zero <span class="re2">of</span>=<span class="sy0">/</span>extraswap <span class="re2">bs</span>=1M <span class="re2">count</span>=<span class="nu0">1536</span><br />
$ <span class="kw2">sudo</span> mkswap <span class="sy0">/</span>extraswap<br />
$ <span class="kw2">sudo</span> swapon <span class="sy0">/</span>extraswap<br />
$ <span class="kw2">sudo</span> <span class="kw3">echo</span> <span class="st0">&quot;/extraswap &nbsp; none &nbsp; swap &nbsp; sw &nbsp; 0 &nbsp; 0&quot;</span> <span class="sy0">&gt;&gt;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>fstab<br />
<span class="co0"># &lt;em&gt;&quot;/sbin/swapon -s&quot; should show the added swap space&lt;/em&gt;</span><br />
$ <span class="sy0">/</span>sbin<span class="sy0">/</span>swapon <span class="re5">-s</span><br />
Filename&nbsp; &nbsp; &nbsp; &nbsp; Type&nbsp; &nbsp; Size&nbsp; Used&nbsp; Priority<br />
<span class="sy0">/</span>dev<span class="sy0">/</span>mapper<span class="sy0">/</span>oracle10g-swap_1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;partition <span class="nu0">401400</span>&nbsp; <span class="nu0">92</span>&nbsp; <span class="re5">-1</span><br />
<span class="sy0">/</span>extraswap &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="kw2">file</span>&nbsp; &nbsp; <span class="nu0">1048568</span> <span class="nu0">0</span> <span class="re5">-2</span></div>
<h3>If VMware Server version is 2.0x or higher, install VMware tools:</h3>
<div class="bash dean_ch">$ <span class="kw2">sudo</span> <span class="kw2">su</span> &#8211; root<br />
$ <span class="kw2">mount</span> <span class="sy0">/</span>dev<span class="sy0">/</span>cdrom<br />
$ <span class="kw2">cp</span> <span class="sy0">/</span>media<span class="sy0">/</span>cdrom<span class="sy0">/*</span>.gz ~<br />
$ <span class="kw2">tar</span> zxvf VMwareTools<span class="sy0">*</span>.tar.gz<br />
$ <span class="kw3">cd</span> vmware-tools-distrib<br />
$ .<span class="sy0">/</span>vmware-install.pl</div>
<h3> If VMware Server version is 1.0x, install VMware tools:</h3>
<div class="bash dean_ch">$ <span class="kw2">sudo</span> <span class="kw2">su</span> &#8211; root<br />
$ <span class="kw2">mount</span> <span class="sy0">/</span>dev<span class="sy0">/</span>cdrom<br />
$ <span class="kw2">cp</span> <span class="sy0">/</span>media<span class="sy0">/</span>cdrom<span class="sy0">/*</span>.gz ~<br />
$ <span class="kw2">aptitude</span> <span class="kw2">install</span> libgtk2.0-dev libproc-dev libdumbnet-dev xorg-dev <span class="kw2">wget</span><br />
$ <span class="kw2">wget</span> http:<span class="sy0">//</span>mesh.dl.sourceforge.net<span class="sy0">/</span>sourceforge<span class="sy0">/</span>open-vm-tools<span class="sy0">/</span>open-vm-tools-2008.04.14-<span class="nu0">87182</span>.tar.gz<br />
$ <span class="kw2">tar</span> xzvf VMware<span class="sy0">*</span>.gz ; <span class="kw2">sudo</span> <span class="kw2">tar</span> xzvf open-vm-tools<span class="sy0">*</span>.gz ; <span class="kw3">cd</span> open-vm-tools-2008.04.14-<span class="nu0">87182</span><span class="sy0">/</span><br />
$ .<span class="sy0">/</span>configure <span class="sy0">&amp;</span>amp;<span class="sy0">&amp;</span>amp; <span class="kw2">make</span><br />
$ <span class="kw3">cd</span> modules<span class="sy0">/</span>linux<span class="sy0">/</span><br />
$ <span class="kw1">for</span> i <span class="kw1">in</span> <span class="sy0">*</span>; <span class="kw1">do</span> <span class="kw2">mv</span> <span class="co1">${i}</span> <span class="co1">${i}</span><span class="re5">-only</span>; <span class="kw2">tar</span> <span class="re5">-cf</span> <span class="co1">${i}</span>.tar <span class="co1">${i}</span><span class="re5">-only</span>; <span class="kw1">done</span><br />
$ <span class="kw3">cd</span> ..<span class="sy0">/</span>..<span class="sy0">/</span>..<br />
$ <span class="kw2">mv</span> <span class="re5">-f</span> open-vm-tools-2008.04.14-<span class="nu0">87182</span><span class="sy0">/</span>modules<span class="sy0">/</span>linux<span class="sy0">/*</span>.tar vmware-tools-distrib<span class="sy0">/</span>lib<span class="sy0">/</span>modules<span class="sy0">/</span>source<span class="sy0">/</span> ; <span class="kw3">cd</span> vmware-tools-distrib<span class="sy0">/</span><br />
$ <span class="kw2">sudo</span> .<span class="sy0">/</span>vmware-install.pl<br />
$ <span class="kw2">sudo</span> reboot</div>
<h3>Append to /etc/sysctl.conf</h3>
<div class="bash dean_ch">$ <span class="kw2">sudo</span> <span class="kw2">cat</span> <span class="sy0">&gt;&gt;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>sysctl.conf <span class="co2">&lt;&lt; EOF<br />
fs.file-max = 65535<br />
kernel.shmall = 2097152<br />
kernel.shmmax = 2147483648<br />
kernel.shmmni = 4096<br />
kernel.sem = 250 32000 100 128<br />
net.ipv4.ip_local_port_range = 1024 65535<br />
net.core.rmem_default = 1048576<br />
net.core.rmem_max = 1048576<br />
net.core.wmem_default = 262144<br />
net.core.wmem_max = 262144<br />
EOF</span></div>
<h3>Append to /etc/security/limits.conf</h3>
<div class="bash dean_ch">$ <span class="kw2">sudo</span> <span class="kw2">cat</span> <span class="sy0">&gt;&gt;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>security<span class="sy0">/</span>limits.conf <span class="co2">&lt;&lt; EOF<br />
oracle soft nproc 2047<br />
oracle hard nproc 16383<br />
oracle soft nofile 1023<br />
oracle hard nofile 65535<br />
EOF</span></div>
<h3>Append to /etc/pam.d/login</h3>
<div class="bash dean_ch">$ <span class="kw2">sudo</span> <span class="kw2">cat</span> <span class="sy0">&gt;&gt;</span> <span class="sy0">/</span>etc<span class="sy0">/</span>pam.d<span class="sy0">/</span><span class="kw2">login</span> <span class="co2">&lt;&lt; EOF<br />
session required /lib/security/pam_limits.so<br />
session required pam_limits.so<br />
EOF</span></div>
<h3>Set up user / groups</h3>
<div class="bash dean_ch">$ <span class="kw2">sudo</span> <span class="kw2">su</span> &#8211; root<br />
$ addgroup oinstall ; addgroup dba ; addgroup nobody ; usermod <span class="re5">-g</span> nobody nobody ; &nbsp;useradd <span class="re5">-g</span> oinstall <span class="re5">-G</span> dba <span class="re5">-p</span> password <span class="re5">-d</span> <span class="sy0">/</span>home<span class="sy0">/</span>oracle <span class="re5">-s</span> <span class="sy0">/</span>bin<span class="sy0">/</span><span class="kw2">bash</span> oracle<br />
$ <span class="kw2">passwd</span> oracle<br />
Password changed.<br />
$ <span class="kw2">mkdir</span> <span class="sy0">/</span>home<span class="sy0">/</span>oracle ; <span class="kw2">chown</span> <span class="re5">-R</span> oracle:dba <span class="sy0">/</span>home<span class="sy0">/</span>oracle ; <span class="kw2">ln</span> <span class="re5">-s</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span><span class="kw2">awk</span> <span class="sy0">/</span>bin<span class="sy0">/</span><span class="kw2">awk</span> ; <span class="kw2">ln</span> <span class="re5">-s</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>rpm <span class="sy0">/</span>bin<span class="sy0">/</span>rpm ; <span class="kw2">ln</span> <span class="re5">-s</span> <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span><span class="kw2">basename</span> <span class="sy0">/</span>bin<span class="sy0">/</span><span class="kw2">basename</span> ; <span class="kw2">mkdir</span> <span class="sy0">/</span>etc<span class="sy0">/</span>rc.d<br />
$ <span class="kw1">for</span> i <span class="kw1">in</span> <span class="nu0">0</span> <span class="nu0">1</span> <span class="nu0">2</span> <span class="nu0">3</span> <span class="nu0">4</span> <span class="nu0">5</span> <span class="nu0">6</span> S ; <span class="kw1">do</span> <span class="kw2">ln</span> <span class="re5">-s</span> <span class="sy0">/</span>etc<span class="sy0">/</span>rc<span class="re1">$i</span>.d <span class="sy0">/</span>etc<span class="sy0">/</span>rc.d<span class="sy0">/</span>rc<span class="re1">$i</span>.d ; <span class="kw1">done</span><br />
$ <span class="kw2">mkdir</span> <span class="re5">-p</span> <span class="sy0">/</span>dbms<span class="sy0">/</span>oracle ; <span class="kw2">chown</span> <span class="re5">-R</span> oracle:dba <span class="sy0">/</span>dbms<span class="sy0">/</span>oracle ; &nbsp;sysctl <span class="re5">-p</span><br />
$ reboot</div>
<h3>Retrieve Oracle 10g zip file</h3>
<ol>
<li>Copy the Oracle install zip file from disc or somewhere</li>
<li>Unzip it</li>
</ol>
<h3>Retrieve IP of the network card</h3>
<div class="bash dean_ch">$ <span class="kw2">ifconfig</span> <span class="sy0">|</span><span class="kw2">grep</span> <span class="st0">&quot;Bcast&quot;</span></div>
<h3> Install / Configure oracle manually verifying any requirements:</h3>
<div class="bash dean_ch">$ <span class="kw2">ssh</span> <span class="re5">-C</span> <span class="re5">-X</span> oracle<span class="sy0">@</span><span class="br0">&#40;</span>ipaddress<span class="br0">&#41;</span><br />
&#8230;<br />
$ <span class="kw3">cd</span> <span class="sy0">/</span>home<span class="sy0">//</span>database<br />
$ .<span class="sy0">/</span>runInstaller <span class="re5">-ignoreSysPrereqs</span></div>
<h3>iSQL*Plus URL:</h3>
<p>http://(ipaddress):5560/isqlplus</p>
<h3>iSQL*Plus DBA URL:</h3>
<p>http://(ipaddress):5560/isqlplus/dba</p>
<h3>Enterprise Manager 10g Database Control URL:</h3>
<p>http://(ipaddress):1158/em</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/10/21/installing-oracle-10g-11g-on-ubuntu-8041-hardy-heron-server-jeos-in-vmware-server-10x20x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Long time no here</title>
		<link>http://froebe.net/blog/2008/10/20/long-time-no-here/</link>
		<comments>http://froebe.net/blog/2008/10/20/long-time-no-here/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 16:09:45 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Family]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My Databases]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[magzine]]></category>
		<category><![CDATA[MyDatabases]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vacation]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=722</guid>
		<description><![CDATA[I was away for vacation then went into hiding while I brushed up on my Oracle skills for work.  All I can say is that I have a lot of material to put into the MyDatabases magazine this week.  So much to do it is hard to find time to get any of it done [...]]]></description>
			<content:encoded><![CDATA[<p>I was away for vacation then went into hiding while I brushed up on my <a href="http://www.oracle.com">Oracle</a> skills for work.  All I can say is that I have a lot of material to put into the <a href="http://froebe.net/blog/mydatabases-magazine/">MyDatabases magazine</a> this week.  So much to do it is hard to find time to get any of it done lately.  Oh well.  The next issue should be out this coming weekend.</p>
<p>In the meantime, count with me the days to <a href="http://www.ubuntu.com">Ubuntu 8.10 Intrepid</a> being released:<br />
<script type="text/javascript" src="http://www.ubuntu.com/files/countdown/display.js"></script><br />
Can&#8217;t wait that long?  Try out the <a href="http://www.ubuntu.com/testing/intrepid/beta">BETA</a>.  Check out the <a href="http://www.ubuntu.com/testing/intrepid/beta#New%20Features%20since%20Ubuntu%208.04">new features</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/10/20/long-time-no-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why oh why can&#8217;t we have PostgreSQL&#8217;s CREATE [TEMPORARY] SEQUENCE in Sybase ASE?</title>
		<link>http://froebe.net/blog/2008/07/10/why-oh-why-cant-we-have-postgresqls-create-sequence-in-sybase-ase/</link>
		<comments>http://froebe.net/blog/2008/07/10/why-oh-why-cant-we-have-postgresqls-create-sequence-in-sybase-ase/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 19:45:35 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[create sequence]]></category>
		<category><![CDATA[enhancement request]]></category>
		<category><![CDATA[feature request]]></category>
		<category><![CDATA[ISUG]]></category>
		<category><![CDATA[pl/sql]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[tsql]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=558</guid>
		<description><![CDATA[I know you can simulate it by creating a temp table with an identity column, delete old rows, get the max, etc but still&#8230; PostgreSQL&#8217;s create sequence would be very handy&#8230;  btw, Oracle has it too It would allow us to do things like pgTAP with ease..  Check out the slides for pgTAP just my [...]]]></description>
			<content:encoded><![CDATA[<p>I know you can simulate it by creating a temp table with an identity column, delete old rows, get<a href="http://froebe.net/blog/wp-content/uploads/2008/07/sybase.png"><img class="alignright size-full wp-image-560" title="Sybase" src="http://froebe.net/blog/wp-content/uploads/2008/07/sybase.png" alt="Sybase" width="183" height="74" /></a> the max, etc but still&#8230; PostgreSQL&#8217;s  <a href="http://www.postgresql.org/docs/8.3/interactive/sql-createsequence.html">create sequence</a> would be very handy&#8230;  btw, Oracle has it too</p>
<p>It would allow us to do things like <a href="http://www.justatheory.com/computers/databases/postgresql/introducing_pgtap.html">pgTAP</a> with ease..  Check out the <a href="http://www.justatheory.com/computers/databases/postgresql/pgtap-yapc.pdf">slides for pgTAP</a> <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>just my opinion&#8230; grrrr</p>
<p>I&#8217;ve created ISUG enhancement request # <a href="http://my.isug.com/index.php?module=issues&amp;op=vi&amp;iid=3449&amp;type=1">3449</a> for this.</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/07/10/why-oh-why-cant-we-have-postgresqls-create-sequence-in-sybase-ase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Native support of SQLite in Sybase PowerBuilder and PowerDesigner?</title>
		<link>http://froebe.net/blog/2008/07/09/native-support-of-sqlite-in-sybase-powerbuilder-and-powerdesigner/</link>
		<comments>http://froebe.net/blog/2008/07/09/native-support-of-sqlite-in-sybase-powerbuilder-and-powerdesigner/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 13:31:38 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[ASE]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[IBM DB2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Powerbuilder]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Sybase]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Workspace]]></category>
		<category><![CDATA[AIX]]></category>
		<category><![CDATA[Amiga]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Informix]]></category>
		<category><![CDATA[miro]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[powerdesigner]]></category>
		<category><![CDATA[Sybase ASE]]></category>
		<category><![CDATA[Sybase IQ]]></category>
		<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=547</guid>
		<description><![CDATA[What I would love to see is native support for SQLite. http://www.sqlite.org It is the most installed embedded database on the planet hands down.  Don&#8217;t believe me?  You know that Firefox web browser, Thunderbird newsreader, most Adobe products, Miro, etc all have it embedded?  &#8211; reference http://www.sqlite.org/mostdeployed.html We use it extensively at work as: staging [...]]]></description>
			<content:encoded><![CDATA[<p>What I would love to see is native support for SQLite. <a href="http://www.sqlite.org/" target="_blank"><span id="lw_1215608800_0" class="yshortcuts">http://www.sqlite.org</span></a></p>
<p>It is the most installed embedded database on the planet hands down.  Don&#8217;t believe me?  You know that Firefox web browser, Thunderbird newsreader, most <a href="http://www.adobe.com/" target="_blank"><span id="lw_1215608800_1" class="yshortcuts">Adobe</span></a> products, Miro, etc all have it embedded?  &#8211; reference <a href="http://www.sqlite.org/mostdeployed.html" target="_blank"><span id="lw_1215608800_2" class="yshortcuts">http://www.sqlite.org/mostdeployed.html</span></a></p>
<p>We use it extensively at work as:</p>
<ol>
<li>staging for mass data imports/exports/conversions</li>
<li>local application &#8216;cache&#8217; for large data sets</li>
<li>projects that don&#8217;t require all the features of Sybase ASE (or Oracle for that matter)</li>
</ol>
<p>One of the best features is that the database itself in platform independent&#8230; copy the db on to AIX from your Windows box &#8230; then on to your old Amiga &#8230; then on to your windows mobile device.  Getting the point?  <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I really wish <span id="lw_1215608800_3" class="yshortcuts" style="border-bottom: 1px dashed #0066cc; cursor: pointer;">Sybase</span> would make it so that the Sybase ASE databases were truly platform and character set/sort order independent&#8230; but that is in another dream <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Not a blurb in the PowerDesigner/PowerBuilder manuals or anything</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/07/09/native-support-of-sqlite-in-sybase-powerbuilder-and-powerdesigner/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

