<?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>Kirk Brocas&#039; Oracle Stuff</title>
	<atom:link href="http://odba.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://odba.wordpress.com</link>
	<description>SQL&#62; SELECT dump(’Kirk Brocas’) FROM dual; Excogitations of a DBA. Mostly Oracle, Sometimes Interesting.</description>
	<lastBuildDate>Thu, 25 Aug 2011 05:35:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='odba.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kirk Brocas&#039; Oracle Stuff</title>
		<link>http://odba.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://odba.wordpress.com/osd.xml" title="Kirk Brocas&#039; Oracle Stuff" />
	<atom:link rel='hub' href='http://odba.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Blog shifted</title>
		<link>http://odba.wordpress.com/2010/12/09/blog-shifted/</link>
		<comments>http://odba.wordpress.com/2010/12/09/blog-shifted/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 19:24:47 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://odba.wordpress.com/?p=160</guid>
		<description><![CDATA[Now at http://www.oracletech.com.au/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=160&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now at <a href="http://www.oracletech.com.au/">http://www.oracletech.com.au/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=160&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2010/12/09/blog-shifted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
		<item>
		<title>Posting on my own domain now</title>
		<link>http://odba.wordpress.com/2010/11/11/posting-on-my-own-domain-now/</link>
		<comments>http://odba.wordpress.com/2010/11/11/posting-on-my-own-domain-now/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 21:04:09 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://odba.wordpress.com/?p=156</guid>
		<description><![CDATA[And using the blogger platform &#8211; so I can use my own domain for no cost http://www.oracletech.com.au &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=156&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>And using the blogger platform &#8211; so I can use my own domain for no cost <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.oracletech.com.au" target="_self">http://www.oracletech.com.au</a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=156&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2010/11/11/posting-on-my-own-domain-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
		<item>
		<title>How to relink Oracle when &#8220;relink all&#8221; fails.</title>
		<link>http://odba.wordpress.com/2010/03/17/how-to-relink-oracle-when-relink-all-fails/</link>
		<comments>http://odba.wordpress.com/2010/03/17/how-to-relink-oracle-when-relink-all-fails/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 22:39:12 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://odba.wordpress.com/?p=147</guid>
		<description><![CDATA[Are you trying to relink oracle and getting "make: *** No rule to make target `install'. Stop." or something similar? The problem is due to &#8220;relink all&#8221; trying relink all the products in the Oracle Home without checking whether they are actually installed or not. This does not always work as some makefiles take different [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=147&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Are you trying to relink oracle and getting</p>
<pre>"make: *** No rule to make target `install'. Stop."</pre>
<p>or something similar?</p>
<p>The problem is due to &#8220;relink all&#8221; trying relink all the products in the Oracle Home without checking whether they are actually installed or not.</p>
<p>This does not always work as some makefiles take different arguments, and some Oracle Home installations do not have the components installed for which there are makefiles.</p>
<p>This relinking problem has been addressed in 11.2 with the 11.2 installer getting a -relink option.</p>
<p>Assuming you are not using 11.2, then what to do? Well&#8230;</p>
<p>I offer this only as what I currently do. I haven&#8217;t seen this problem properly discussed anwhere, so this is a &#8216;works for me&#8217;.</p>
<p>Each Oracle Home has a file:</p>
<pre> $ORACLE_HOME/inventory/make/makeorder.xml</pre>
<p>This file lists the correct order to run the make files, and the targets to use. From this we can build up a list of makefile commands that should be run.</p>
<p>Alternatively you can run the relink command with all the other valid parameters &#8211; some will fail if the component is not installed, but theoretically this should compile everything.</p>
<p>At the moment though I am not 100% confidant this is the case, and so for a bit of paranoid DBA practice I also run the make files as listed in makeorder.xml</p>
<p>IMPORTANT NOTE: After relinking, login as root (or use sudo if configured) to execute the $ORACLE_HOME/root.sh script to reset the appropriate file permissions/flags.</p>
<p><strong>By way of example from my last relink &#8211; after upgrading from OEL5 U2 to OEL5 U4:</strong></p>
<p><strong>Note that relinking is done as the oracle home owner, not root.</strong></p>
<p>Step 0: Before doing anything check umask is 022. If not:</p>
<pre>$ umask 022</pre>
<h3>Relink database home works (mostly) but fails on relinking ODBC at the end.</h3>
<p>The error that initiated this post: Tried a relink all on an ASM home.<br />
Resulted in</p>
<pre> make: *** No rule to make target `install'. Stop."</pre>
<p>when trying to link the ODBC driver.</p>
<p>Solution: Well see below, for what I did in teh ASM case, however if you want to relink ODBC this is what I found in a Metalink note:</p>
<pre>cd $ORACLE_HOME/odbc/lib
cp $ORACLE_HOME/lib/sqoci.a .
cp $ORACLE_HOME/lib/sqora.a .
cp $ORACLE_HOME/lib/utility.a .
make -f ins_odbc.mk isqora
cp libsqora.so* $ORACLE_HOME/lib</pre>
<h3>Relink ASM home</h3>
<pre>. oraenv [+ASM]
cdo
# Note: cdo is a shell alias defined as: alias cdo='cd $ORACLE_HOME'

relink oracle
relink client_sharedlib
relink client
relink utilities
relink ldap
#relink oemagent - no target
relink network
relink ctx
relink interMedia</pre>
<p>DBA Paranoia: To be doubly sure, run make files as listed in $ORACLE_HOME/inventory/make/makeorder.xml</p>
<pre>make -f rdbms/lib/ins_rdbms.mk ioracle
make -f rdbms/lib/ins_rdbms.mk client_sharedlib
make -f sqlplus/lib/ins_sqlplus.mk install
make -f network/lib/ins_net_client.mk preinstall
make -f network/lib/ins_net_client.mk itnsping
make -f rdbms/lib/ins_rdbms.mk "irman"
make -f plsql/lib/ins_plsql.mk "install"
make -f network/lib/ins_net_client.mk "nnfgt.o"
make -f network/lib/ins_net_client.mk "mkldflags"
make -f rdbms/lib/ins_rdbms.mk "utilities"
make -f ldap/lib/ins_ldap.mk "clientonlyinstall"
make -f network/lib/ins_net_client.mk "ntcontab.o"
make -f network/lib/ins_net_client.mk  "nnfgt.o"
make -f network/lib/ins_net_client.mk  "install"  
make -f network/lib/ins_nau.mk "ioklist"
make -f network/lib/ins_nau.mk  "iokinit"
make -f network/lib/ins_nau.mk "iokdstry"
make -f sysman/lib/ins_emagent.mk "agent"
make -f sysman/lib/ins_emagent.mk "nmb"
make -f sysman/lib/ins_emagent.mk  "nmo"
make -f sysman/lib/ins_emagent.mk "nmhs"
make -f sysman/lib/ins_emagent.mk "tclexec"
make -f rdbms/lib/ins_rdbms.mk "all_no_orcl"
make -f srvm/lib/ins_srvm.mk "install"
make -f racg/lib/ins_has.mk  "racg_install"
make -f network/lib/ins_net_server.mk "install"
make -f rdbms/lib/ins_rdbms.mk "ctx_on"
make -f ctx/lib/ins_ctx.mk "install"
make -f rdbms/lib/ins_rdbms.mk  "ipc_g"
make -f sysman/lib/ins_emagent.mk "emsubagent"
make -f network/lib/ins_net_client.mk "mkldflags"
make -f rdbms/lib/ins_rdbms.mk "idg4odbc"
make -f precomp/lib/ins_precomp.mk "links"
make -f precomp/lib/ins_precomp.mk "relink"
make -f precomp/lib/ins_precomp.mk  "gen_pcscfg"
make -f rdbms/lib/ins_rdbms.mk "svr_tool"
make -f rdbms/lib/ins_rdbms.mk "patchset_opt"</pre>
<p>Execute the $ORACLE_HOME/root.sh script to reset the appropriate file permissions/flags:<br />
sudo $ORACLE_HOME/root.sh</p>
<p>Startup Oracle listener<br />
Start up ASM instance</p>
<h3>Relink agent home</h3>
<pre># agentenv is a custom script that sets Oracle environment variables appropriately
# for the agent home - all homes are using the one OS user - 'oracle'.
# Normally I recommend one OS user per home.</pre>
<pre>. agentenv
relink client
relink oemagent</pre>
<p>DBA Paranoia: To be doubly sure, run make files as listed in $ORACLE_HOME/inventory/make/makeorder.xml</p>
<pre>cdo
make -f network/lib/ins_net_client.mk itnsping
make -f network/lib/ins_net_client.mk nnfgt.o
make -f network/lib/ins_net_client.mk mkldflags
make -f network/lib/ins_net_client.mk client_sharedlib
make -f sysman/lib/ins_emagent.mk agent
make -f sysman/lib/ins_emagent.mk nmb
make -f sysman/lib/ins_emagent.mk nmo
make -f sysman/lib/ins_emagent.mk nmhs
make -f sysman/lib/ins_emagent.mk emsubagent</pre>
<p>Execute the $ORACLE_HOME/root.sh script to reset the appropriate file permissions/flags:<br />
sudo $ORACLE_HOME/root.sh</p>
<h3>Relink OMS HOme</h3>
<p>Note omsenv is a custom script setting shell vriables for the OEM/OMS home.</p>
<pre>. omsenv
cdo

relink client
relink network
relink client_sharedlib
relink oemagent
relink utilities</pre>
<p>DBA Paranoia: To be doubly sure, run make files as listed in $ORACLE_HOME/inventory/make/makeorder.xml</p>
<pre>make -f network/lib/ins_net_client.mk "nnfgt.o"
make -f network/lib/ins_net_client.mk "mkldflags"
make -f network/lib/ins_net_client.mk "client_sharedlib"
make -f sysman/lib/ins_sysman.mk agent
make -f sysman/lib/ins_sysman.mk nmo
make -f sysman/lib/ins_sysman.mk nmb
make -f sqlplus/lib/ins_sqlplus.mk install
make -f network/lib/ins_net_client.mk install
make -f network/lib/network/lib/ins_nau.mk ioklist
make -f network/lib/network/lib/ins_nau.mk iokinit
make -f network/lib/network/lib/ins_nau.mk iokdstry
make -f webcache/lib/ins_calypso.mk install</pre>
<p>Execute the $ORACLE_HOME/root.sh script to reset the appropriate file permissions/flags:<br />
sudo $ORACLE_HOME/root.sh</p>
<h3>References</h3>
<p><a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=805495.1" target="_blank">Howto Relink an Agent ? [ID 805495.1]</a></p>
<p><a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=883299.1" target="_blank">Oracle 11gR2 Relink New Feature [ID 883299.1]</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=147&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2010/03/17/how-to-relink-oracle-when-relink-all-fails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
		<item>
		<title>Fun query cancelling using TCP out-of-band signalling</title>
		<link>http://odba.wordpress.com/2010/03/04/fun-query-cancelling-using-tcp-out-of-band-signalling/</link>
		<comments>http://odba.wordpress.com/2010/03/04/fun-query-cancelling-using-tcp-out-of-band-signalling/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 21:47:47 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[DBA]]></category>

		<guid isPermaLink="false">http://odba.wordpress.com/?p=145</guid>
		<description><![CDATA[How to CANCEL a query running in another session using an interesting  dodgy method. How to CANCEL a query running in another session? &#8211; Tanel Poder&#8217;s blog See also Sending and Receiving Out-of-band Data Chapter 3 Advanced Topics for Stream Sockets HP 9000 Networking: BSD Sockets Interface Programmer&#8217;s Guide http://docs.hp.com/en/B2355-90136/ch03s07.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=145&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to CANCEL a query running in another session using an interesting  dodgy method.</p>
<p><a href="http://blog.tanelpoder.com/2010/02/17/how-to-cancel-a-query-running-in-another-session/">How to CANCEL a query running in another session? &#8211; Tanel Poder&#8217;s blog</a></p>
<p>See also</p>
<p class="MsoNormal"><strong>Sending and Receiving Out-of-band Data<br />
<span style="font-weight:normal;">Chapter 3 Advanced Topics for Stream Sockets<br />
HP 9000 Networking: BSD Sockets Interface Programmer&#8217;s Guide<br />
<a href="http://docs.hp.com/en/B2355-90136/ch03s07.html">http://docs.hp.com/en/B2355-90136/ch03s07.html</a></span></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=145&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2010/03/04/fun-query-cancelling-using-tcp-out-of-band-signalling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
		<item>
		<title>Killing Database Sessions &#8211; tips from Tanel on killing at the OS level &amp; using oradebug</title>
		<link>http://odba.wordpress.com/2010/03/04/killing-database-sessions-tips-from-tanel-on-killing-at-the-os-level-using-oradebug/</link>
		<comments>http://odba.wordpress.com/2010/03/04/killing-database-sessions-tips-from-tanel-on-killing-at-the-os-level-using-oradebug/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 21:33:06 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[oradebug]]></category>
		<category><![CDATA[session management]]></category>
		<category><![CDATA[sessions]]></category>

		<guid isPermaLink="false">http://odba.wordpress.com/?p=142</guid>
		<description><![CDATA[Tanel Poder in one of his blog entries detailed his preferred approach for killing database sessions - in particular the annoying ones that wont die.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=142&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tanel Poder in one of his blog entries detailed his preferred approach for killing database sessions &#8211; in particular the annoying ones that wont die.</p>
<p>In short:<br />
1) Verify whether you’re killing the right session first (Naturally)</p>
<p>2) ALTER SYSTEM KILL SESSION</p>
<p>3) If that doesn’t work immediately then check whether the target session has acknowledged the kill and is rolling back its (large) transaction.</p>
<p>4) If there’s no rollback happening and session just seems to be stuck, then its time to kill that session’s process from OS level.</p>
<p>5) If couple of minutes after killing the process from OS level that sessions and its locks &amp; resources are still not released then attach to your own process with oradebug and run “ORADEBUG WAKEUP 2″ a couple of times (and checking if the session has gone + waiting few seconds between each invocation).</p>
<p>See Tanel&#8217;s post for full details.</p>
<p><a href="http://blog.tanelpoder.com/2009/08/13/alter-system-kill-session-and-ora-00031-session-marked-for-kill/"><strong>Alter system kill session and ORA-00031: session marked for kill</strong></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=142&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2010/03/04/killing-database-sessions-tips-from-tanel-on-killing-at-the-os-level-using-oradebug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
		<item>
		<title>DBMS_SCHEDULER gotcha &#8211; ORA-00942: table or view does not exist when trying to drop job</title>
		<link>http://odba.wordpress.com/2010/02/19/dbms_scheduler-gotcha-ora-00942-table-or-view-does-not-exist-when-trying-to-drop-job/</link>
		<comments>http://odba.wordpress.com/2010/02/19/dbms_scheduler-gotcha-ora-00942-table-or-view-does-not-exist-when-trying-to-drop-job/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 02:17:32 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[dbms_scheduler]]></category>
		<category><![CDATA[ora-00942]]></category>
		<category><![CDATA[ora-942]]></category>

		<guid isPermaLink="false">http://odba.wordpress.com/?p=137</guid>
		<description><![CDATA[ORA-00942: table or view does not exist when trying to drop list of secheduler (DBMS_SCHEDULER) jobs.
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=137&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Are you trying to drop a list of jobs like:</p>
<p>BEGIN</p>
<p><strong>DBMS_SCHEDULER.DROP_JOB</strong>( job_name=&gt; &#8216;job1,job2&#8230;,jobn&#8217;);</p>
<p>END;</p>
<p>and getting an error?</p>
<p>ERROR at line 1:</p>
<p>ORA-00942: table or view does not exist</p>
<p>ORA-06512: at &#8220;SYS.DBMS_ISCHED&#8221;, line 5261</p>
<p>ORA-06512: at &#8220;SYS.DBMS_SCHEDULER&#8221;, line 609</p>
<p>ORA-06512: at line 2</p>
<p>You think this must be a security or permissions issue and you grant &#8220;CREATE JOB&#8221; and &#8220;MANAGE SCHEDULER&#8221; to the account, but it still doesn&#8217;t work. You try running it as SYS and you still get the error.</p>
<p>You search Metalink and get no hits. You search google and you get no hits.</p>
<p>You try just dropping one of the jobs in the list and you get a different error:</p>
<p>ERROR at line 1:</p>
<p>ORA-27475: &#8220;XXXX.JOB1&#8243; must be a job</p>
<p>ORA-06512: at &#8220;SYS.DBMS_ISCHED&#8221;, line 182</p>
<p>ORA-06512: at &#8220;SYS.DBMS_SCHEDULER&#8221;, line 615</p>
<p>ORA-06512: at line 2</p>
<p>And THAT gives you the hint as to the actual cause of the problem:</p>
<p>ONE OF THE JOBS IN THE LIST HAS ALREADY BEEN DROPPED, OR THE NAME IS WRONG.</p>
<p>Check the jobs against what is currently listed and remove the offender.</p>
<p>Shoot the person that supplied you the list of jobs to be dropped.﻿</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=137&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2010/02/19/dbms_scheduler-gotcha-ora-00942-table-or-view-does-not-exist-when-trying-to-drop-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle 11g SQL*PLUS on Windows – fighting NLS_LANG, code pages and character sets</title>
		<link>http://odba.wordpress.com/2009/12/11/oracle-11g-sqlplus-on-windows-%e2%80%93-fighting-nls_lang-code-pages-and-character-sets/</link>
		<comments>http://odba.wordpress.com/2009/12/11/oracle-11g-sqlplus-on-windows-%e2%80%93-fighting-nls_lang-code-pages-and-character-sets/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 06:06:05 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[nls]]></category>
		<category><![CDATA[nls_lang]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[SQL*Plus]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://odba.wordpress.com/?p=3</guid>
		<description><![CDATA[Oracle 11g SQL*PLUS on Windows – fighting NLS_LANG, code pages and character sets Oracle has dumped sqlplusw – The native Windows GUI SQL*PLUS – from windows in 11g – so now there is only the windows command shell version. So, how do we enter non-OEM code page characters in SQL*PLUS now? Before using sqlplus or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=3&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Oracle 11g SQL*PLUS on Windows – fighting NLS_LANG, code pages and character sets</strong></p>
<p>Oracle has dumped sqlplusw – The native Windows GUI SQL*PLUS – from windows in 11g – so now there is only the windows command shell version.</p>
<p>So, how do we enter non-OEM code page characters in SQL*PLUS now?</p>
<p>Before using sqlplus or ANY Oracle command line tool, we need to verify that the Oracle client character set and windows code page combination are compatible.</p>
<p>We need to manually set the Oracle NLS_LANG environment variable because the NLS_LANG setting in the registry is for Windows GUI applications.</p>
<p>This is essential to avoid incorrect character conversion and therefore possible character data corruption.</p>
<p>This post discusses how to run sql*plus in a windows command shell and avoid NLS / character set problems.</p>
<p>A bit of education first:</p>
<p><strong>Code Pages</strong></p>
<p>On Windows, GUI applications and command shell applications do not use the same code page (unless in a Chinese-Japanese-Korean environment).</p>
<p>Windows uses two different character sets for the ANSI (GUI) and the OEM (Command shell) environments. For most English PC’s the ANSI code page is 1252.</p>
<p>To check what code page your command prompt (OEM code page) uses, open a command prompt and type “chcp”</p>
<p>Alternatively, open regedit and go to:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NLS\CodePage\</p>
<p>e.g.</p>
<p><pre class="brush: powershell;">
C:\Documents and Settings\kbrocas&amp;gt;chcp

Active code page: 437
</pre></p>
<p>So on my system I’m using OEM code page 437.</p>
<p><strong></strong><strong>Setting NLS_LANG appropriately for the command shell</strong></p>
<p>When an Oracle windows application starts on Windows, it reads the oracle.key file located in the ORACLE_HOME\bin directory to determine which registry Key/tree to use.</p>
<p>The Oracle registry entry includes the NLS_LANG value for the application.</p>
<p>The old GUI sqlplusw ran with the ANSI code page, and the NLS_LANG value in the registry was appropriately matched to the ANSI code page.</p>
<p>For example, in my case, NLS_LANG specifies the Oracle character set as WE8MSWIN1252 which maps to my Windows ANSI code page 1252.</p>
<p><strong>However</strong>, command-line sqlplus runs with the OEM code page, and so when it reads the registry, it gets NLS_LANG=WE8MSWIN1252  - which is not appropriate.</p>
<p>We have to change / set the NLS_LANG parameter ine the command prompt/console session correctly otherwise incorrect character conversion can corrupt error messages and data.</p>
<p>For example, in my case:</p>
<p>C:\Documents and Settings\kbrocas&gt;<strong>set NLS_LANG=ENGLISH_AUSTRALIA.US8PC437</strong></p>
<p>This over-rides the registry value of NLS_LANG that sqlplus would use by default.</p>
<p>Now the Oracle client applications correctly identify the character set they are running with when they connect to the database, allowing appropriate character set conversions between client and server.</p>
<p>Sounds good? Yes – until you realise that the ANSI character set I’m using is a 7-bit ASCII character set – I can’t enter any fancy characters! How about changing the default OEM codepage in the command prompt so that it matches the GUI codepage, or at least some code page that supports 8+ bit characters?</p>
<p>Well, yes you can….</p>
<p><strong>Changing the windows command prompt OEM code page</strong></p>
<p>You can change the code page in the console just for the session, or for all time.</p>
<p>By example, to change from the standard OEM code page to the standard MS Windows Latin 1 code page:</p>
<p><strong>For the current command shell/console</strong></p>
<p>C:\&gt; chcp 1252</p>
<p>C:\Documents and Settings\kbrocas&gt;chcp 1252</p>
<p>Active code page: 1252</p>
<p>You can now enter weird characters. Remember to unset NLS_LANG in the command prompt if you have already set it before connecting to the database with client tools.</p>
<p><strong>For all time</strong></p>
<p><strong>NOTE: Some people have reported that if the code page specified here is not available on the system, you may have trouble booting afterwards! I put this here as a reference, however I need to do more research on this before I can recommend it. Some suggest using code page 65001 instead.</strong></p>
<p>Start-&gt;Run-&gt;regedit</p>
<p>Go to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage]</p>
<p>Change the “OEMCP” value to “1252″ for the standard MS Windows Latin 1 code page.</p>
<p><strong>References</strong></p>
<p><strong>Oracle</strong></p>
<p>Configuring Oracle Database Globalization Support, Oracle Database Client Installation Guide 11g Release 1 (11.1) for Microsoft Windows</p>
<p><a href="http://download.oracle.com/docs/cd/B28359_01/install.111/b32007/gblsupp.htm#i634624" target="_blank">http://download.oracle.com/docs/cd/B28359_01/install.111/b32007/gblsupp.htm#i634624</a></p>
<p>Configuration Parameters and the Registry</p>
<p>Oracle Database Platform Guide 11g Release 1 (11.1) for Microsoft Windows</p>
<p><a href="http://download.oracle.com/docs/cd/B28359_01/win.111/b32010/registry.htm%23sthref655">http://download.oracle.com/docs/cd/B28359_01/win.111/b32010/registry.htm#sthref655</a></p>
<p>Oracle Globalization FAQ</p>
<p><a href="http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm">http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm</a></p>
<p><strong>Microsoft</strong></p>
<p>Code Pages</p>
<p><a href="http://msdn.microsoft.com/en-us/library/dd317752%28VS.85%29.aspx">http://msdn.microsoft.com/en-us/library/dd317752(VS.85).aspx</a></p>
<p>Character sets</p>
<p><a href="http://www.microsoft.com/typography/unicode/cs.htm">http://www.microsoft.com/typography/unicode/cs.htm</a></p>
<p>Character sets and codepages</p>
<p><a href="http://www.microsoft.com/typography/unicode/cscp.htm">http://www.microsoft.com/typography/unicode/cscp.htm</a></p>
<p>Code Pages Supported by Windows</p>
<p><a href="http://www.microsoft.com/globaldev/reference/wincp.mspx">http://www.microsoft.com/globaldev/reference/wincp.mspx</a></p>
<p>Use Locale Model</p>
<p><a href="http://msdn.microsoft.com/en-gb/goglobal/bb688121.aspx%23ejb">http://msdn.microsoft.com/en-gb/goglobal/bb688121.aspx#ejb</a></p>
<p>Encodings and Code Pages</p>
<p><a href="http://msdn.microsoft.com/en-gb/goglobal/bb688114.aspx">http://msdn.microsoft.com/en-gb/goglobal/bb688114.aspx</a></p>
<p>Fonts</p>
<p><a href="http://msdn.microsoft.com/en-gb/goglobal/bb688134.aspx">http://msdn.microsoft.com/en-gb/goglobal/bb688134.aspx</a></p>
<p>Chcp</p>
<p><a href="http://technet.microsoft.com/en-us/library/bb490874.aspx">http://technet.microsoft.com/en-us/library/bb490874.aspx</a></p>
<p><strong>Other pages I found useful</strong></p>
<p>Code page 437</p>
<p><a href="http://en.wikipedia.org/wiki/Code_page_437">http://en.wikipedia.org/wiki/Code_page_437</a></p>
<p>That Ol’ OEM Code Page</p>
<p><a href="http://codesnipers.com/?q=node/146">http://codesnipers.com/?q=node/146</a></p>
<p>Keep your eye on the code page</p>
<p><a href="http://blogs.msdn.com/oldnewthing/archive/2005/03/08/389527.aspx">http://blogs.msdn.com/oldnewthing/archive/2005/03/08/389527.aspx</a></p>
<p>Why ACP != OEMCP (usually)</p>
<p><a href="http://blogs.msdn.com/michkap/archive/2005/02/08/369197.aspx">http://blogs.msdn.com/michkap/archive/2005/02/08/369197.aspx</a></p>
<p>Latin1</p>
<p><a href="http://www.aggressivesoftware.com/simple/latin1.php">http://www.aggressivesoftware.com/simple/latin1.php</a></p>
<p>Windows’ command prompt : How to DEFINITELY change default codepage</p>
<p><a href="http://codesnippets.joyent.com/posts/show/414">http://codesnippets.joyent.com/posts/show/414</a></p>
<p>﻿</p>
<div class="zemanta-pixie" style="margin-top:10px;height:15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/1553a518-fb8b-4e59-8f2a-70550743d56f/"><img class="zemanta-pixie-img" style="border:none;float:right;" src="http://img.zemanta.com/reblog_e.png?x-id=1553a518-fb8b-4e59-8f2a-70550743d56f" alt="Reblog this post [with Zemanta]" /></a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=3&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2009/12/11/oracle-11g-sqlplus-on-windows-%e2%80%93-fighting-nls_lang-code-pages-and-character-sets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>

		<media:content url="http://img.zemanta.com/reblog_e.png?x-id=1553a518-fb8b-4e59-8f2a-70550743d56f" medium="image">
			<media:title type="html">Reblog this post [with Zemanta]</media:title>
		</media:content>
	</item>
		<item>
		<title>RMAN &quot;DELETE OBSOLETE&quot; returns ORA-19606 &#8211; the solution.</title>
		<link>http://odba.wordpress.com/2009/12/01/rman-delete-obsolete-returns-ora-19606-the-solution/</link>
		<comments>http://odba.wordpress.com/2009/12/01/rman-delete-obsolete-returns-ora-19606-the-solution/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 01:23:53 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://oracletech.com.au/?p=130</guid>
		<description><![CDATA[Problem When trying to delete obsolete backups, rman includes the snapshot control file: RMAN&#62; DELETE NOPROMPT OBSOLETE; ... Deleting the following obsolete backups and copies: Type Key Completion Time Filename/Handle -------------------- ------ ------------------ -------------------- Control File Copy 23123 19/NOV/2009 13:05:46 /u01/app/oracle/product/11.1.0/db_1/dbs/snapcf_MDMR.f ... RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: failure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=133&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>When trying to delete obsolete backups, rman includes the snapshot control file:</p>
<pre>RMAN&gt; DELETE NOPROMPT OBSOLETE;
...
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Control File Copy 23123 19/NOV/2009 13:05:46 /u01/app/oracle/product/11.1.0/db_1/dbs/snapcf_MDMR.f
...
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of delete command on ORA_DISK_2 channel at 11/26/2009 12:16:48
ORA-19606: Cannot copy or restore to snapshot control file</pre>
<p>The command successfully deletes the other files.</p>
<p>Metalink only has one note for ORA-19606: the note (49303.1) that describes ORA-19606.</p>
<h2>Solution</h2>
<p>Change the snapshot controlfile name in the RMAN configuration, run the delete obsolete command again, and then change the snapshot controlfile name back (if you want).</p>
<p>For example:</p>
<pre>CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u03/FRA/BLOBBY/snapcf1_MDMR.f';</pre>
<p>After executing the above command, the snapshot controlfile name is changed to snapcf1_MDMR.f</p>
<p>Now run &#8220;delete obsolete&#8221; again. It will delete the old snapshot controlfile, but in subsequent runs, it will not include the snapshot controlfile in the list to delete.</p>
<p>You can now change back to original name or continue with the new name.</p>
<p>Joy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=133&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2009/12/01/rman-delete-obsolete-returns-ora-19606-the-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
		<item>
		<title>Chris Foot on being a successful DBA</title>
		<link>http://odba.wordpress.com/2009/09/10/chris-foot-on-being-a-successful-dba/</link>
		<comments>http://odba.wordpress.com/2009/09/10/chris-foot-on-being-a-successful-dba/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 02:24:52 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[best-practice]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://oracletech.com.au/?p=127</guid>
		<description><![CDATA[Excellent artice by Chris Foot on being a good DBA. My favourite quote: I know they have all experienced that uncontrolled “eye-twitching” at 2 AM when they are ready to hit the final enter key to execute the command. You know what command I’m talking about too. It’s that one command that you really, really, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=132&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.remotedbaexperts.com/Blog/2009/09/the-art-of-being-a-successful-dba-poka-yoke-and-paranoid-dba-best-practices/" target="_blank">Excellent artice</a> by Chris Foot on being a good DBA.</p>
<p>My favourite quote: I know they have all experienced that uncontrolled “eye-twitching” at 2 AM when they are ready to hit the final enter key to execute the command. You know what command I’m talking about too. It’s that one command that you really, really, really hope is going to come back with a successful return code and ultimately end with a database that is finally usable. Whether it’s a recovery, a file fix or corrupt data is immaterial, it’s the wait that we are talking about. There is no longer wait in our profession than waiting for the message below after a database recovery:</p>
<p>SQL&gt; Database opened.</p>
<p>Time always seems to stand still. The longer the recovery, the messier the recovery. The more critical the database – the longer you wait. You stare at the screen hoping beyond hope that the above message will appear. It’s the ritual cross your fingers, spin around three times, face towards Oracle headquarters and pray to everything that is Larry Ellison wait. I’ve actually caught myself mumbling, “Come on, come on, come on…” I don’t care how sure you are of your capabilities, or how much of an Oracle “Ace” you are – you know the anticipation I’m talking about..</p>
<p><a href="http://www.remotedbaexperts.com/Blog/2009/09/the-art-of-being-a-successful-dba-poka-yoke-and-paranoid-dba-best-practices/">http://www.remotedbaexperts.com/Blog/2009/09/the-art-of-being-a-successful-dba-poka-yoke-and-paranoid-dba-best-practices/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=132&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2009/09/10/chris-foot-on-being-a-successful-dba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
		<item>
		<title>Researchers offer tool for breaking into Oracle databases</title>
		<link>http://odba.wordpress.com/2009/07/24/researchers-offer-tool-for-breaking-into-oracle-databases/</link>
		<comments>http://odba.wordpress.com/2009/07/24/researchers-offer-tool-for-breaking-into-oracle-databases/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 04:49:19 +0000</pubDate>
		<dc:creator>Kirk Brocas</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[auditing]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://oracletech.com.au/?p=124</guid>
		<description><![CDATA[Just saw this on Builder AU. Some useful tools for security auditing me thinks: During their presentation at the Black Hat and Defcon hacker conferences next week in Las Vegas, security experts will release a tool that can be used to break into Oracle databases. Chris Gates and Mario Ceballos will present Oracle Pentesting Methodology [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=131&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just saw this on Builder AU. Some useful tools for security auditing me thinks:</p>
<blockquote><p>During their presentation at the Black Hat and Defcon hacker conferences next week in Las Vegas, security experts will release a tool that can be used to break into Oracle databases.</p>
<p>Chris Gates and Mario Ceballos will present Oracle Pentesting Methodology and give out &#8220;all the tools to break the &#8216;unbreakable&#8217; Oracle as Metasploit auxiliary modules,&#8221; according to a <a href="https://www.defcon.org/html/defcon-17/dc-17-speakers.html#Gates">summary of their presentation</a> on the Defcon Web site.</p></blockquote>
<p>via <a href="http://www.builderau.com.au/news/soa/Researchers-offer-tool-for-breaking-into-Oracle-databases/0,339028227,339297554,00.htm">Researchers offer tool for breaking into Oracle databases &#8211; News &#8211; Builder AU</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/odba.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/odba.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/odba.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/odba.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/odba.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/odba.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/odba.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/odba.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/odba.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/odba.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/odba.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/odba.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/odba.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/odba.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=odba.wordpress.com&amp;blog=10889614&amp;post=131&amp;subd=odba&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://odba.wordpress.com/2009/07/24/researchers-offer-tool-for-breaking-into-oracle-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/58343e8959c466a7305a363dac2bb16e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oratek</media:title>
		</media:content>
	</item>
	</channel>
</rss>
