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

<channel>
	<title>ORA-Mystery.com</title>
	<atom:link href="http://ora-mystery.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ora-mystery.com</link>
	<description>A weblog related to Oracle systems.</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:32:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ora-mystery.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ORA-Mystery.com</title>
		<link>http://ora-mystery.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ora-mystery.com/osd.xml" title="ORA-Mystery.com" />
	<atom:link rel='hub' href='http://ora-mystery.com/?pushpress=hub'/>
		<item>
		<title>Publication on Oracle ASM Cluster File System (ACFS) in the German Oracle User Group Magazine 2009/04</title>
		<link>http://ora-mystery.com/2011/02/28/publication-on-oracle-asm-cluster-file-system-acfs-in-the-german-oracle-user-group-magazine-200904/</link>
		<comments>http://ora-mystery.com/2011/02/28/publication-on-oracle-asm-cluster-file-system-acfs-in-the-german-oracle-user-group-magazine-200904/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 09:40:20 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[11g Release 2]]></category>
		<category><![CDATA[ASM]]></category>
		<category><![CDATA[ASM Cluster File System]]></category>
		<category><![CDATA[Real Application Cluster]]></category>

		<guid isPermaLink="false">http://ora-mystery.com/?p=106</guid>
		<description><![CDATA[I wrote this article based on my beta tests of the Oracle ASM Cluster File System back in 2009 for the German Oracle User Group (DOAG) magazine. It&#8217;s written in German and introduces this awaited missing feature of Oracle ASM. Oracle ASM Cluster File System &#8211; Das lang erwartete fehlende Feature<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=106&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wrote this article based on my beta tests of the Oracle ASM Cluster File System back in 2009 for the German Oracle User Group (DOAG) magazine. It&#8217;s written in German and introduces this awaited missing feature of Oracle ASM.</p>
<p><a href="http://oraclemystery.files.wordpress.com/2010/04/oracle_asm-cluster-file-system_das_lang_erwartete_fehlende_feature.pdf">Oracle ASM Cluster File System &#8211; Das lang erwartete fehlende Feature</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=106&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2011/02/28/publication-on-oracle-asm-cluster-file-system-acfs-in-the-german-oracle-user-group-magazine-200904/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>Presentations at Oracle Open World 2009</title>
		<link>http://ora-mystery.com/2009/10/07/presentations-at-oracle-open-world-2009/</link>
		<comments>http://ora-mystery.com/2009/10/07/presentations-at-oracle-open-world-2009/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 16:08:29 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[11g Release 2]]></category>
		<category><![CDATA[ASM]]></category>
		<category><![CDATA[ASM Cluster File System]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[High Availability]]></category>

		<guid isPermaLink="false">http://ora-mystery.com/?p=97</guid>
		<description><![CDATA[I was invited to hold the following sessions at the Oracle Open World 2009: S309036 Oracle ASM Cluster File System: The Awaited Missing Feature S309060 Edition-Based Redefinition: The Key to Minimal-Downtime Application Upgrades If you are interested in above topics, come and visit the presentations. There are still some seats available. See you at the Oracle [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=97&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was invited to hold the following sessions at the Oracle Open World 2009:</p>
<ul>
<li><a title="S309036 Oracle ASM Cluster File System: The Awaited Missing Feature" href="http://www28.cplan.com/cc221_new/session_details.jsp?isid=309036&amp;ilocation_id=221-1&amp;ilanguage=english" target="_blank"> S309036 Oracle ASM Cluster File System: The Awaited Missing Feature</a></li>
<li><a href="http://www28.cplan.com/cc221_new/session_details.jsp?isid=309060&amp;ilocation_id=221-1&amp;ilanguage=english" target="_blank">S309060 Edition-Based Redefinition: The Key to Minimal-Downtime Application Upgrades</a></li>
</ul>
<p>If you are interested in above topics, come and visit the presentations. There are still some seats available.</p>
<p>See you at the Oracle Open World,</p>
<p>Matthias</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=97&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/10/07/presentations-at-oracle-open-world-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Error: can not do 8 byte relocation&#8221; during execution of root102.sh</title>
		<link>http://ora-mystery.com/2009/04/16/error-can-not-do-8-byte-relocation-during-execution-of-root102sh/</link>
		<comments>http://ora-mystery.com/2009/04/16/error-can-not-do-8-byte-relocation-during-execution-of-root102sh/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 21:52:11 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[OS issues]]></category>
		<category><![CDATA[Real Application Cluster]]></category>

		<guid isPermaLink="false">http://ora-mystery.com/?p=95</guid>
		<description><![CDATA[While performing the setup of an Oracle 10gR2 Real Application Cluster on Oracle Enterprise Linux 5 Update 3, I came across this issue. After applying the 10.2.0.4 patchset on the CRS binaries successfully, I had to stop the CRS on the nodes and execute the root102.sh. While executing the root102.sh script as the root user [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=95&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While performing the setup of an Oracle 10gR2 Real Application Cluster on Oracle Enterprise Linux 5 Update 3, I came across this issue. After applying the 10.2.0.4 patchset on the CRS binaries successfully, I had to stop the CRS on the nodes and execute the root102.sh. While executing the root102.sh script as the root user the following problem was encountered:</p>
<p><code>root@node1:/root# /opt/oracle/product/10.2.0/crs/install/root102.sh<br />
Creating pre-patch directory for saving pre-patch clusterware files<br />
Completed patching clusterware files to /opt/oracle/product/10.2.0/crs<br />
Relinking some shared libraries.<br />
/tmp/ccTBYA0i.s: Assembler messages:<br />
/tmp/ccTBYA0i.s:43: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:44: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:45: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:46: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:47: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:48: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:49: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:50: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:51: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:52: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:53: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:54: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:55: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:56: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:57: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:58: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:59: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:60: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:61: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:62: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:63: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:64: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:65: Error: can not do 8 byte relocation<br />
/tmp/ccTBYA0i.s:66: Error: can not do 8 byte relocation<br />
mv: cannot stat `ntcontab.o': No such file or directory<br />
/usr/bin/ar: /opt/oracle/product/10.2.0/crs/lib/ntcontab.o: No such file or directory<br />
make: *** [ntcontab.o] Error 1<br />
/tmp/ccrcYDIC.s: Assembler messages:<br />
/tmp/ccrcYDIC.s:28: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:29: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:30: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:31: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:32: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:33: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:34: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:35: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:36: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:37: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:38: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:39: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:40: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:41: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:42: Error: can not do 8 byte relocation<br />
/tmp/ccrcYDIC.s:43: Error: can not do 8 byte relocation<br />
mv: cannot stat `nnfgt.o': No such file or directory<br />
/usr/bin/ar: /opt/oracle/product/10.2.0/crs/lib/nnfgt.o: No such file or directory<br />
make: *** [nnfgt.o] Error 1<br />
Relinking of patched files is complete.<br />
WARNING: directory '/opt/oracle/product/10.2.0' is not owned by root<br />
WARNING: directory '/opt/oracle/product' is not owned by root<br />
WARNING: directory '/</code><code>opt/</code><code>oracle' is not owned by root<br />
Preparing to recopy patched init and RC scripts.<br />
Recopying init and RC scripts.<br />
ocrcheck failed. Check /</code><code>opt/</code><code>oracle/product/10.2.0/crs/srvm/log for more details<br />
root@node1:/root# </code></p>
<p>The relink for &#8220;ntcontab.o&#8221; and &#8220;nnfgt.o&#8221; failed with a strange error message. During the analyze, I discovered that I was able to relink the two files manually as the oracle user by using the following commands:</p>
<p><code class="km">% cd $ORA_CRS_HOME/network/lib<br />
% make -f ins_net_client.mk ntcontab.o<br />
% make -f ins_net_client.mk nnfgt.o</code></p>
<p>So the problem had to be related to the root user. Finally the cause was clarified. The system administrators had compiled GNU binaries (in this case gcc) and had configured the PATH variable to use the self compiled binaries first. When removing the self compiled binaries from the PATH variable, we were also able to relink &#8220;ntcontab.o&#8221; and &#8220;nnfgt.o&#8221; as the root user.</p>
<p>Additionally we performed a relink of the CRS client shared libraries following Note <a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(from=BOOKMARK&amp;bmDocType=HOWTO&amp;bmDocDsrc=KB&amp;bmDocTitle=Do%20You%20Need%20to%20%3Cb%3ERelink%3C/b%3E%20Oracle%20Clusterware%20When%20Upgrading%20the%20Operating%20System?&amp;viewingMode=1143&amp;bmDocID=743649.1))">743649.1</a>:</p>
<p><code>% cd $ORA_CRS_HOME/bin<br />
% ./genclntsh</code></p>
<p>Afterwards the reexecution of root102.sh was successfull.</p>
<p>References:</p>
<ul>
<li>Note <a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(from=BOOKMARK&amp;bmDocType=HOWTO&amp;bmDocDsrc=KB&amp;bmDocTitle=Do%20You%20Need%20to%20%3Cb%3ERelink%3C/b%3E%20Oracle%20Clusterware%20When%20Upgrading%20the%20Operating%20System?&amp;viewingMode=1143&amp;bmDocID=743649.1))">743649.1</a> on how to relink the client shared libraries of the CRS</li>
<li>Note <a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(from=BOOKMARK&amp;bmDocType=PROBLEM&amp;bmDocDsrc=KB&amp;bmDocTitle=Link%20Errors%20While%20Installing%20CRS%20&amp;%20RAC%20Database%20software&amp;viewingMode=1143&amp;bmDocID=438747.1))">438747.1</a> on how to relink nnfgt.o and ntcontab.o</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=95&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/04/16/error-can-not-do-8-byte-relocation-during-execution-of-root102sh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>audit_sys_operations=FALSE does not disable generation of Audit Files</title>
		<link>http://ora-mystery.com/2009/04/02/audit_sys_operationsfalse-does-not-disable-generation-of-audit-files/</link>
		<comments>http://ora-mystery.com/2009/04/02/audit_sys_operationsfalse-does-not-disable-generation-of-audit-files/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 09:07:46 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[Oracle internals]]></category>

		<guid isPermaLink="false">http://ora-mystery.com/?p=93</guid>
		<description><![CDATA[Even if the Oracle Documentation tells that the FALSE setting for the parameter AUDIT_SYS_OPERATIONS disables SYS auditing, it will be performed: SQL&#62; show parameter audit NAME                                 TYPE        VALUE ------------------------------------ ----------- ------------------------------ audit_file_dest                      string      /opt/oracle/admin/MYSID/adump audit_sys_operations                 boolean     FALSE audit_syslog_level                   string audit_trail                          string      NONE SQL&#62; !ls -al /opt/oracle/admin/MYSID/adump total 20 drwxr-xr-x 2 oracle oinstall 2064 2009-04-02 10:51 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=93&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Even if the Oracle Documentation tells that the FALSE setting for the parameter AUDIT_SYS_OPERATIONS disables SYS auditing, it will be performed:</p>
<p><code>SQL&gt; show parameter audit</code></p>
<p><code>NAME                                 TYPE        VALUE<br />
------------------------------------ ----------- ------------------------------<br />
audit_file_dest                      string      /opt/oracle/admin/MYSID/adump<br />
audit_sys_operations                 boolean     FALSE<br />
audit_syslog_level                   string<br />
audit_trail                          string      NONE<br />
SQL&gt; !ls -al /opt/oracle/admin/MYSID/adump</code></p>
<p><code>total 20<br />
drwxr-xr-x 2 oracle oinstall 2064 2009-04-02 10:51 .<br />
drwxr-xr-x 8 oracle oinstall  192 2008-03-13 01:35 ..<br />
-rw-r----- 1 oracle oinstall  618 2009-04-02 10:36 ora_11430.aud<br />
-rw-r----- 1 oracle oinstall  618 2009-04-02 10:36 ora_11431.aud<br />
-rw-r----- 1 oracle oinstall  618 2009-04-02 10:36 ora_11432.aud<br />
-rw-r----- 1 oracle oinstall  618 2009-04-02 10:36 ora_11433.aud<br />
-rw-r----- 1 oracle oinstall  618 2009-04-02 10:36 ora_11434.aud<br />
-rw-r----- 1 oracle oinstall  618 2009-04-02 10:36 ora_11435.aud<br />
-rw-r----- 1 oracle oinstall  618 2009-04-02 10:36 ora_11505.aud<br />
-rw-r----- 1 oracle oinstall  618 2009-04-02 10:36 ora_11512.aud<br />
-rw-r----- 1 oracle oinstall  612 2009-04-02 10:45 ora_18425.aud<br />
-rw-r----- 1 oracle oinstall  612 2009-04-02 10:45 ora_18427.aud<br />
...<br />
...</code></p>
<p>This is an expected behaviour which is also described in in note <a href="https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&amp;p_id=308066.1">308066.1 AUDIT_SYS_OPERATIONS Set To FALSE Yet Audit Files Are Generated</a>. Events for generation of audit file entries are:</p>
<ul>
<li>Connections to the instance with administrator privileges (SYSDBA/SYSOPER)</li>
<li>Database shutdown</li>
<li>Database startup</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=93&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/04/02/audit_sys_operationsfalse-does-not-disable-generation-of-audit-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>How to cleanup a directory with too many files (for example audit_file_dest)</title>
		<link>http://ora-mystery.com/2009/04/02/how-to-cleanup-a-directory-with-too-many-files-for-example-audit_file_dest/</link>
		<comments>http://ora-mystery.com/2009/04/02/how-to-cleanup-a-directory-with-too-many-files-for-example-audit_file_dest/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 08:40:29 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[OS issues]]></category>

		<guid isPermaLink="false">http://ora-mystery.com/?p=88</guid>
		<description><![CDATA[If you want to cleanup the audit_file_dest, you may came across the problem that there are too many files located inside the directory to delete them in a single command:  oracle@dbserver1:~/admin/MYSID/adump&#62; rm *.aud -bash: /bin/rm: Argument list too long To cleanup the files without using ranges, you can use the following shell code: Listing files [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=88&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to cleanup the audit_file_dest, you may came across the problem that there are too many files located inside the directory to delete them in a single command:</p>
<p> <code>oracle@dbserver1:~/admin/MYSID/adump&gt; rm *.aud<br />
-bash: /bin/rm: Argument list too long</code></p>
<p>To cleanup the files without using ranges, you can use the following shell code:</p>
<ul>
<li>Listing files to delete</li>
</ul>
<p><code>oracle@dbserver1:~/admin/MYSID/adump&gt; for i in `ls | grep ".aud"`; do echo $i; done </code></p>
<ul>
<li>Removing files</li>
</ul>
<p><span style="font-family:Courier New;">oracle@dbserver1:~/admin/MYSID/adump&gt; for i in `ls | grep &#8220;.aud&#8221;`; do echo $i; rm $i; done </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=88&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/04/02/how-to-cleanup-a-directory-with-too-many-files-for-example-audit_file_dest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>bbed &#8211; Oracle Block Browser and EDitor</title>
		<link>http://ora-mystery.com/2009/02/25/bbed-oracle-block-browser-and-editor/</link>
		<comments>http://ora-mystery.com/2009/02/25/bbed-oracle-block-browser-and-editor/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 22:42:25 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[Oracle internals]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://ora-mystery.com/?p=77</guid>
		<description><![CDATA[bbed stands for Block Browser and EDitor and is an Oracle internal utility for directly accessing data blocks in data files. It can be used to show the content of a block or even change it. This powerful features should be used CAREFULLY as you can end up with corrupt datafiles/database. That&#8217;s why it should [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=77&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>bbed stands for <strong>B</strong>lock <strong>B</strong>rowser and <strong>ED</strong>itor and is an Oracle internal utility for directly accessing data blocks in data files. It can be used to show the content of a block or even change it. This powerful features should be used CAREFULLY as you can end up with corrupt datafiles/database. That&#8217;s why it should never be used in production systems unless for good reason.</p>
<p>DBAs can use bbed to simulate block corruptions and how to fix them. The following steps will describe how to compile and start bbed on a Linux server.</p>
<p><em><strong>Linking</strong></em></p>
<p>Oracle didn&#8217;t changed the necessary step since version 8. So for an up to date 10.2  installation you have to call &#8220;make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed&#8221; in the $ORACLE_HOME/rdbms/lib directory:</p>
<p><code>oracle@myserv:/opt/oracle/product/10.2.0/db_1/rdbms/lib&gt; make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed<br />
Linking BBED utility (bbed)<br />
rm -f /opt/oracle/product/10.2.0/db_1/rdbms/lib/bbed<br />
gcc -o /opt/oracle/product/10.2.0/db_1/rdbms/lib/bbed -L/opt/oracle/product/10.2.0/db_1/rdbms/lib/ -L/opt/oracle/product/10.2.0/db_1/lib/ -L/opt/oracle/product/10.2.0/db_1/lib/stubs/  /opt/oracle/product/10.2.0/db_1/lib/s0main.o /opt/oracle/product/10.2.0/db_1/rdbms/lib/ssbbded.o /opt/oracle/product/10.2.0/db_1/rdbms/lib/sbbdpt.o `cat /opt/oracle/product/10.2.0/db_1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 /opt/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o -ldbtools10 -lclntsh  `cat /opt/oracle/product/10.2.0/db_1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /opt/oracle/product/10.2.0/db_1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10  -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10  -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /opt/oracle/product/10.2.0/db_1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /opt/oracle/product/10.2.0/db_1/lib/ldflags`    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10  -lvsn10 -lcommon10 -lgeneric10   -lsnls10 -lnls10  -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10  -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10  -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10   `cat /opt/oracle/product/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/opt/oracle/product/10.2.0/db_1/lib -lm    `cat /opt/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm   -L/opt/oracle/product/10.2.0/db_1/lib</code></p>
<p>After this you can move the binary to the bin-directory.</p>
<p><code> </code></p>
<p><code>oracle@myserv:/opt/oracle/product/10.2.0/db_1/rdbms/lib&gt; mv bbed ../../bin/.</code></p>
<p><em><strong>Starting bbed</strong></em></p>
<p>As bbed is an Oracle internal only utility and can cause major harm on datafiles when used by an unexperienced person, Oracle protected the startup with a password:</p>
<p><code>oracle@myserv:/opt/oracle/product/10.2.0/db_1&gt; bbed<br />
Password:<br />
BBED: Release 2.0.0.0.0 - Limited Production on Sun Sep 7 13:22:13 2008<br />
Copyright (c) 1982, 2005, Oracle.  All rights reserved.<br />
************* !!! For Oracle Internal Use only !!! ***************<br />
BBED&gt;</code></p>
<p><code> </code></p>
<p>The password can already be found on some websites, so I decided to put it into my article too. It is &#8220;blockedit&#8221;, but remember to use it carefully.</p>
<p><em><strong>List of commands</strong></em></p>
<p>After starting bbed you can get an overview of the available commands with &#8220;help all&#8221;:</p>
<p><code>BBED&gt; help all<br />
SET DBA [ dba | file#, block# ]<br />
SET FILENAME 'filename'<br />
SET FILE file#<br />
SET BLOCK [+/-]block#<br />
SET OFFSET [ [+/-]byte offset | symbol | *symbol ]<br />
SET BLOCKSIZE bytes<br />
SET LIST[FILE] 'filename'<br />
SET WIDTH character_count<br />
SET COUNT bytes_to_display<br />
SET IBASE [ HEX | OCT | DEC ]<br />
SET OBASE [ HEX | OCT | DEC ]<br />
SET MODE  [ BROWSE | EDIT ]<br />
SET SPOOL [ Y | N ]<br />
SHOW [  | ALL ]<br />
INFO<br />
MAP[/v] [ DBA | FILENAME | FILE | BLOCK ]<br />
DUMP[/v] [ DBA | FILENAME | FILE | BLOCK | OFFSET | COUNT ]<br />
PRINT[/x|d|u|o|c] [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]<br />
EXAMINE[/Nuf] [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]:<br />
&lt;/Nuf&gt;:<br />
N - a number which specifies a repeat count.<br />
u - a letter which specifies a unit size:<br />
b - b1, ub1 (byte)<br />
h - b2, ub2 (half-word)<br />
w - b4, ub4(word)<br />
r - Oracle table/index row<br />
f - a letter which specifies a display format:<br />
x - hexadecimal<br />
d - decimal<br />
u - unsigned decimal<br />
o - octal<br />
c - character (native)<br />
n - Oracle number<br />
t - Oracle date<br />
i - Oracle rowid<br />
FIND[/x|d|u|o|c] numeric/character string [ TOP | CURR ]<br />
COPY [ DBA | FILE | FILENAME | BLOCK ] TO [ DBA | FILE | FILENAME | BLOCK ]<br />
MODIFY[/x|d|u|o|c] numeric/character string<br />
      [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]<br />
ASSIGN[/x|d|u|o] &lt;target spec&gt;=&lt;source spec&gt;<br />
&lt;target spec&gt; : [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]<br />
&lt;source spec&gt; : [ value | &lt;target spec options&gt; ]<br />
SUM [ DBA | FILE | FILENAME | BLOCK ] [ APPLY ]<br />
PUSH [ DBA | FILE | FILENAME | BLOCK | OFFSET ]<br />
POP [ALL]<br />
REVERT [ DBA | FILE | FILENAME | BLOCK ]<br />
UNDO<br />
HELP [  | ALL ]<br />
VERIFY [ DBA | FILE | FILENAME | BLOCK ]<br />
CORRUPT [ DBA | FILE | FILENAME | BLOCK ] <br />
BBED&gt;</code></p>
<p>If you would like to get some more information on how to use bbed and how to disassemble Oracle Data Blocks, you can have a look at the following whitepaper: <a href="http://orafaq.com/papers/dissassembling_the_data_block.pdf">Disassembling the Oracle Data Block</a> by Graham Thornton</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=77&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/02/25/bbed-oracle-block-browser-and-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>How to disable NFS checks in 10gR2</title>
		<link>http://ora-mystery.com/2009/02/01/how-to-disable-nfs-checks-in-10gr2/</link>
		<comments>http://ora-mystery.com/2009/02/01/how-to-disable-nfs-checks-in-10gr2/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 01:39:15 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[Oracle events]]></category>
		<category><![CDATA[Oracle internals]]></category>

		<guid isPermaLink="false">http://oraclemystery.com/?p=65</guid>
		<description><![CDATA[If you are experiencing problems between Oracle and NFS mounts it is possible to deactivate the NFS checks of Oracle by using the event 10298. Example: alter system set event = '10298 trace name context forever, level 32' scope=spfile; shutdown immediate; startup; This will disable the NFS checks and will allow the usage of NFS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=65&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are experiencing problems between Oracle and NFS mounts it is possible to deactivate the NFS checks of Oracle by using the event 10298. Example:</p>
<p><code>alter system set event = '10298 trace name context forever, level 32' scope=spfile;<br />
shutdown immediate;<br />
startup;</code></p>
<p>This will disable the NFS checks and will allow the usage of NFS in problematic situations (like when you are experiencing problems with rman as described in Note <a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(viewingMode=1143&amp;bmDocID=356199.1&amp;from=BOOKMARK&amp;bmDocType=PROBLEM&amp;bmDocDsrc=KB&amp;bmDocTitle=RMAN%20Backup%20On%20Nfs%20Filsystem%20Auto%20Mounted%20With%20Correct%20Options%20Still%20Fails%20Ora-27054))">356199.1 RMAN Backup On Nfs Filsystem Auto Mounted With Correct Options Still Fails Ora-27054</a>.)</p>
<p>Caution: Always be careful with internal events!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=65&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/02/01/how-to-disable-nfs-checks-in-10gr2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>expdp hangs in status DEFINING with a export dump file size of 4K when using NFS</title>
		<link>http://ora-mystery.com/2009/02/01/expdp-hangs-in-status-defining-with-a-export-dump-file-size-of-4k-when-using-nfs/</link>
		<comments>http://ora-mystery.com/2009/02/01/expdp-hangs-in-status-defining-with-a-export-dump-file-size-of-4k-when-using-nfs/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 01:28:13 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[Data Pump]]></category>
		<category><![CDATA[Oracle bugs]]></category>

		<guid isPermaLink="false">http://oraclemystery.com/?p=63</guid>
		<description><![CDATA[Today I tried to perform a data pump export with expdp on a directory located on a NFS share. Unfortunately expdp will stuck in the defining state forever: [oracle@myserver nfsexp]$ expdp userid=system parfile=schema_expdp.pfile Export: Release 10.2.0.3.0 - 64bit Production on Sunday, 01 February, 2009 1:15:25 Copyright (c) 2003, 2005, Oracle.  All rights reserved. Password: Connected [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=63&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I tried to perform a data pump export with expdp on a directory located on a NFS share. Unfortunately expdp will stuck in the defining state forever:</p>
<p><code>[oracle@myserver nfsexp]$ expdp userid=system parfile=schema_expdp.pfile</code></p>
<p><code>Export: Release 10.2.0.3.0 - 64bit Production on Sunday, 01 February, 2009 1:15:25</code></p>
<p><code>Copyright (c) 2003, 2005, Oracle.  All rights reserved.<br />
Password:</code></p>
<p><code>Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production<br />
With the Partitioning, OLAP and Data Mining options</code></p>
<p>If you are analyzing the data pump master session you will encounter an endless wait on &#8220;wait for unread message on broadcast channel&#8221;:</p>
<p><code>02:13:52 SQL&gt; col module for a16<br />
02:14:01 SQL&gt; col program for a30<br />
02:14:07 SQL&gt; col username for a10<br />
02:14:17 SQL&gt; select sid, serial#, username, program, module, event, seconds_in_wait from v$session where username = 'SYSTEM';</code></p>
<p><code>SID    SERIAL# USERNAME     PROGRAM            MODULE<br />
---------- ---------- ---------- ------------------------------ ----------------<br />
EVENT                                 SECONDS_IN_WAIT<br />
---------------------------------------------------------------- ---------------<br />
5310    59497 SYSTEM     oracle@myserver (DM02) Data Pump Master<br />
wait for unread message on broadcast channel                    3545</code></p>
<p>Additionally the dump file stucks at a size of 4K and no logfile messages will be written:</p>
<p><code>[oracle@myserver nfsexp]$ ll<br />
total 2<br />
-rw-r-----  1 oracle oinstall 4096 Feb  1 01:15 schema.dmp<br />
-rw-r--r--  1 oracle oinstall    0 Feb  1 01:15 schema_expdp.log<br />
[oracle@myserver nfsexp]$</code></p>
<p>You can only abort the expdp utility with CTRL-C and try to cleanup the orphaned data pump job like described in note <a href="https://metalink.oracle.com/CSP/main/article?cmd=show&amp;id=336014.1&amp;type=NOT">336014.1 How To Cleanup Orphaned DataPump Jobs In DBA_DATAPUMP_JOBS?</a>. Unfortunately a cleanup of the orphaned data pump job was not possible like described in this note. Neither the stop_job was working nor a <code>kill -9</code> on the dm02 was working. It seems that bouncing the instance is the only way to get rid of the data pump job in a &#8220;DEFINING&#8221; state.</p>
<p>A bug regarding the NFS expdp issue is filled at Oracle under the number <a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(viewingMode=1143&amp;bmDocID=6433651&amp;from=BOOKMARK&amp;bmDocType=BUG&amp;bmDocDsrc=Bug&amp;bmDocTitle=%3Cb%3EJOB%3C/b%3E%20HANGS%20IN%20%3Cb%3EDEFINING%3C/b%3E%20STATUS%20WITH%20FILE%20ON%20%3Cb%3E4K%3C/b%3E%20SIZE%20USING%20NFS%20MOUNT%20POINT))">6433651 JOB HANGS IN DEFINING STATUS WITH FILE ON 4K SIZE USING NFS MOUNT POINT</a>. Unfortunately till now no fix or workaround is available, as the event &#8220;10298 trace name context forever, level 32&#8243; for deactivating the NFS mount option checking has no effect on this problem. I&#8217;ll keep an eye on this issue and will update this entry on new findings.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=63&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/02/01/expdp-hangs-in-status-defining-with-a-export-dump-file-size-of-4k-when-using-nfs/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>How to compile strmmon (Streams Monitoring Utility) on UNIX systems</title>
		<link>http://ora-mystery.com/2009/01/15/how-to-compile-strmmon-streams-monitoring-utility-on-unix-systems/</link>
		<comments>http://ora-mystery.com/2009/01/15/how-to-compile-strmmon-streams-monitoring-utility-on-unix-systems/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 15:21:17 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[Streams]]></category>

		<guid isPermaLink="false">http://oraclemystery.com/?p=60</guid>
		<description><![CDATA[The Streams Monitoring Utility strmmon is a very useful utility for monitoring current Streams activity. You can use it to obtain the current figures for capture, propagation and apply activity in vmstat-style. To obtain the latest version of the utility use the following link to download it in a zip-file format: strmmon.zip Compilation on systems [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=60&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Streams Monitoring Utility strmmon is a very useful utility for monitoring current Streams activity. You can use it to obtain the current figures for capture, propagation and apply activity in vmstat-style.</p>
<p>To obtain the latest version of the utility use the following link to download it in a zip-file format: <a href="https://metalink.oracle.com/cgi-bin/cr/getfile.cgi?p_attid=290605.1:STRMMON26">strmmon.zip</a></p>
<p><em><strong>Compilation on systems prior 10gR2:</strong></em></p>
<p>1.) Download the latest version<br />
2.) extract the version on your database server in a strmmon directory<br />
3.) make sure that you have set ORACLE_HOME and LD_LIBRARY_PATH correctly<br />
4.) compile the binary inside the directory strmmon using &#8220;make -f strmmon.mk strmmon&#8221;</p>
<p><em><strong>Compilation on 10gR2 systems:</strong></em></p>
<p>1.) Download the latest version<br />
2.) extract the version on your database server in a strmmon directory<br />
3.) copy the files strmmon.c and strmmon.html to your $ORACLE_HOME/rdbms/demo directory<br />
4.) cd $ORACLE_HOME/rdbms/demo<br />
5.) make -f rdbms_demo.mk strmmon</p>
<p><em><strong>Example on 10.2.0.1:</strong></em></p>
<p><code>oracle@orasrv:~$ mkdir strmmon<br />
oracle@</code><code>orasrv</code><code>:~$ cd strmmon/</code><code><br />
oracle@</code><code>orasrv</code><code>:~/strmmon$ mv /tmp/strmmon.zip .<br />
oracle@</code><code>orasrv</code><code>:~/strmmon$ unzip strmmon.zip<br />
Archive:  strmmon.zip<br />
inflating: strmmon.mk<br />
inflating: strmmon.htm<br />
inflating: strmmon.c<br />
oracle@</code><code>orasrv</code><code>:~/strmmon$ cp strmmon.c $ORACLE_HOME/rdbms/demo</code><code><br />
oracle@</code><code>orasrv</code><code>:~/strmmon$ cp strmmon.htm $ORACLE_HOME/rdbms/demo<br />
oracle@</code><code>orasrv</code><code>:~/strmmon$ cd $ORACLE_HOME/rdbms/demo<br />
oracle@</code><code>orasrv</code><code>:/u01/app/oracle/product/10.2.0/db_1/rdbms/demo$ make -f demo_rdbms.mk strmmon<br />
make -f /u01/app/oracle/product/10.2.0/db_1/rdbms/demo/demo_rdbms.mk build EXE=strmmon OBJS=strmmon.o<br />
make[1]: Entering directory `/u01/app/oracle/product/10.2.0/db_1/rdbms/demo'<br />
/usr/bin/gcc -c -I/u01/app/oracle/product/10.2.0/db_1/rdbms/demo -I/u01/app/oracle/product/10.2.0/db_1/rdbms/public -I/u01/app/oracle/product/10.2.0/db_1/plsql/public -I/u01/app/oracle/product/10.2.0/db_1/network/public -I/u01/app/oracle/product/10.2.0/db_1/precomp/public strmmon.c<br />
/usr/bin/gcc -L/u01/app/oracle/product/10.2.0/db_1/lib/ -L/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ -o strmmon strmmon.o -lclntsh   `cat /u01/app/oracle/product/10.2.0/db_1/lib/sysliblist` -ldl -lm<br />
make[1]: Leaving directory `/u01/app/oracle/product/10.2.0/db_1/rdbms/demo'<br />
oracle@r03pc00:/u01/app/oracle/product/10.2.0/db_1/rdbms/demo$</code></p>
<p><em><strong>Execution example:</strong></em></p>
<p><code>oracle@orasrv:/u01/app/oracle/product/10.2.0/db_1/rdbms/demo$ ./strmmon<br />
Usage: strmmon -interval &lt;seconds&gt; -count &lt;number&gt; [-user &lt;user name&gt;]<br />
[-passw &lt;password&gt;] [-dbname &lt;database name&gt;] [-sysdba]<br />
[-long]</code></p>
<p><code>oracle@orasrv:/u01/app/oracle/product/10.2.0/db_1/rdbms/demo$ ./strmmon -interval 1 -count 5 -user strmadmin -passw SOME_PW -dbname a.oracle.com</code></p>
<p><code>STREAMS Monitor, v 2.6  Copyright Oracle Corp. 2002, 2005.<br />
Interval = 1, Count=5</code></p>
<p><code>Logon=strmadmin@a.oracle.com ORACLE 10.2.0.1.0</code></p>
<p><code>Streams Pool Size = 132M</code></p>
<p><code>NET: &lt;client bytes per sec&gt; &lt;dblink bytes per sec&gt;<br />
Cxxx: &lt;lcrs captured per sec&gt; &lt;lcrs enqueued per sec&gt; &lt;capture latency&gt;<br />
PRxx: &lt;messages received per sec&gt;<br />
Qx  : &lt;msgs enqueued per sec&gt; &lt;msgs spilled per sec&gt;<br />
PSxx: &lt;lcrs propagated per sec&gt; &lt;bytes propaged per sec&gt;<br />
Axxx: &lt;lcrs applied per sec&gt; &lt;txns applied per sec&gt; &lt;dequeue latency&gt;<br />
&lt;F&gt;: flow control in effect<br />
&lt;B&gt;: potential bottleneck<br />
AR: apply reader<br />
AS(n): n number of apply server<br />
&lt;x%I x%F x%xx&gt;: &lt;idle wait events percentage&gt; &lt;flow control wait events percentage&gt; &lt;other wait event percentage and name&gt;<br />
xx-&gt;: database instance name</code></p>
<p><code>2009-01-15 16:14:18 || orcl-&gt; |      |<br />
2009-01-15 16:14:19 || orcl-&gt; | NET 16K 0 | &lt;B&gt; C002 0 0 0sec &lt;97%I 0%F -&gt;  |  -  C001 6 0 0sec &lt;97%I 0%F -&gt;  | Q54516 0 0 | PS01 0 0 0 | Q53876 0 0 | PS02 0 0 0<br />
2009-01-15 16:14:20 || orcl-&gt; | NET 13K 0 | &lt;B&gt; C002 0 0 0sec &lt;97%I 0%F -&gt;  |  -  C001 0 0 0sec &lt;97%I 0%F -&gt;  | Q54516 0 0 | PS01 0 0 0 | Q53876 0 0 | PS02 0 0 0<br />
2009-01-15 16:14:21 || orcl-&gt; | NET 13K 0 |  -  C002 6 0 3sec &lt;100%I 0%F -&gt;  |  -  C001 0 0 0sec &lt;97%I 0%F -&gt;  | Q54516 0 0 | PS01 0 0 0 | Q53876 0 0 | PS02 0 0 0<br />
2009-01-15 16:14:23 || orcl-&gt; | NET 6K 0 |  -  C002 0 0 3sec &lt;48%I 0%F -&gt;  |  -  C001 0 0 0sec &lt;48%I 0%F -&gt;  | Q54516 0 0 | PS01 0 0 0 | Q53876 0 0 | PS02 0 0 0<br />
oracle@r03pc00:/u01/app/oracle/product/10.2.0/db_1/rdbms/demo$</code></p>
<p>References:</p>
<ul>
<li>Metalink Note 290605.1: <a href="https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&amp;id=()),(page=KBNavigator&amp;id=(from=BOOKMARK&amp;bmDocType=BULLETIN&amp;bmDocDsrc=KB&amp;bmDocTitle=Oracle%20Streams%20%3Cb%3ESTRMMON%3C/b%3E%20Monitoring%20Utility&amp;viewingMode=1143&amp;bmDocID=290605.1))">Streams Monitoring Program</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=60&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/01/15/how-to-compile-strmmon-streams-monitoring-utility-on-unix-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
		<item>
		<title>How to prevent SMON from free space coalescing</title>
		<link>http://ora-mystery.com/2009/01/12/how-to-prevent-smon-from-free-space-coalescing/</link>
		<comments>http://ora-mystery.com/2009/01/12/how-to-prevent-smon-from-free-space-coalescing/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 12:11:49 +0000</pubDate>
		<dc:creator>Matthias Pölzinger</dc:creator>
				<category><![CDATA[Oracle events]]></category>
		<category><![CDATA[Oracle internals]]></category>

		<guid isPermaLink="false">http://oraclemystery.com/?p=54</guid>
		<description><![CDATA[If you are still using dictionary managed tablespaces and you are dropping segments with lot of extents, you might encounter the problem that smon will start to use 100% cpu capacity and aquire the space transaction enqueue. Other processes that require this enqueue will be blocked and you might encounter ORA-1575. You can disable the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=54&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are still using dictionary managed tablespaces and you are dropping segments with lot of extents, you might encounter the problem that smon will start to use 100% cpu capacity and aquire the space transaction enqueue. Other processes that require this enqueue will be blocked and you might encounter ORA-1575. You can disable the automatic SMON free space coalescing by setting the following event:</p>
<p><code>event="10269 trace name context forever, level 10"</code></p>
<p>It is also possible to prevent SMON from free space coalescing by setting the PCTINCREASE value on effected tablespaces and segments to 0, but if you need a general solution you might use the described event.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oraclemystery.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oraclemystery.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oraclemystery.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oraclemystery.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oraclemystery.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oraclemystery.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oraclemystery.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oraclemystery.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oraclemystery.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oraclemystery.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oraclemystery.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oraclemystery.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oraclemystery.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oraclemystery.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ora-mystery.com&amp;blog=3641980&amp;post=54&amp;subd=oraclemystery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ora-mystery.com/2009/01/12/how-to-prevent-smon-from-free-space-coalescing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Matthias Pölzinger</media:title>
		</media:content>
	</item>
	</channel>
</rss>
