<?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>Rimpi devamrithan&#039;s Blog</title>
	<atom:link href="http://rimpidevan.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rimpidevan.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 26 Mar 2010 13:06:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rimpidevan.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Rimpi devamrithan&#039;s Blog</title>
		<link>http://rimpidevan.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rimpidevan.wordpress.com/osd.xml" title="Rimpi devamrithan&#039;s Blog" />
	<atom:link rel='hub' href='http://rimpidevan.wordpress.com/?pushpress=hub'/>
		<item>
		<title>JOB Scheduling in oracle using dbms_jobs</title>
		<link>http://rimpidevan.wordpress.com/2010/03/26/job-scheduling-in-oracle-using-dbms_jobs/</link>
		<comments>http://rimpidevan.wordpress.com/2010/03/26/job-scheduling-in-oracle-using-dbms_jobs/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 13:05:20 +0000</pubDate>
		<dc:creator>rimpidevamrithan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rimpidevan.wordpress.com/?p=36</guid>
		<description><![CDATA[scheduling jobs in oracle using dbms_jobs : This example will run a job only once: BEGIN DBMS_JOB.SUBMIT(:jobno,&#8217;Send_Mail;&#8217;,SYSDATE, NULL); COMMIT; END; SQL&#62; / PL/SQL procedure successfully completed. SQL&#62; print jobno JOBNO &#8212;&#8212;&#8212;- 23 BEGIN DBMS_JOB.SUBMIT(:jobno,&#8217;Send_Mail;&#8217;,SYSDATE, NULL); COMMIT; END; In the above example the job &#8220;send_mail&#8221; runs only once &#8220;sysdate&#8221;. to run the job more than once [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=36&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>scheduling jobs in oracle using dbms_jobs :</p>
<p>This example will run a job only once:</p>
<div id="_mcePaste">BEGIN</div>
<div id="_mcePaste">DBMS_JOB.SUBMIT(:jobno,&#8217;Send_Mail;&#8217;,SYSDATE, NULL);</div>
<div id="_mcePaste">COMMIT;</div>
<div id="_mcePaste">END;</div>
<div id="_mcePaste">SQL&gt; /</div>
<div id="_mcePaste">PL/SQL procedure successfully completed.</div>
<div id="_mcePaste">SQL&gt; print jobno</div>
<div id="_mcePaste">JOBNO</div>
<div id="_mcePaste">&#8212;&#8212;&#8212;-</div>
<div id="_mcePaste">23</div>
<div>BEGIN</div>
<div>DBMS_JOB.SUBMIT(:jobno,&#8217;Send_Mail;&#8217;,SYSDATE, NULL);</div>
<div>COMMIT;</div>
<div>END;</div>
<p>In the above example the job &#8220;send_mail&#8221; runs only once &#8220;sysdate&#8221;.</p>
<p>to run the job more than once at a specific time we replace &#8220;sysdate&#8221; by our time :</p>
<p>e.g to run everyday once</p>
<p>1  BEGIN</p>
<p>2     DBMS_JOB.SUBMIT(:jobno,&#8217;Send_Mail;&#8217;,SYSDATE, &#8216;sysdate +1 &#8216;);</p>
<p>3     COMMIT;</p>
<p>4* END;</p>
<p>please note that your job will not run unless you commit it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimpidevan.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimpidevan.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rimpidevan.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rimpidevan.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rimpidevan.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rimpidevan.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rimpidevan.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rimpidevan.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rimpidevan.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rimpidevan.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rimpidevan.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rimpidevan.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rimpidevan.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rimpidevan.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=36&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rimpidevan.wordpress.com/2010/03/26/job-scheduling-in-oracle-using-dbms_jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/133fd78a8c8eafb673e47cf3f7353877?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rimpidevamrithan</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle PMON and SMON</title>
		<link>http://rimpidevan.wordpress.com/2009/12/17/oracle-pmon-and-smon/</link>
		<comments>http://rimpidevan.wordpress.com/2009/12/17/oracle-pmon-and-smon/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 03:53:07 +0000</pubDate>
		<dc:creator>rimpidevamrithan</dc:creator>
				<category><![CDATA[DATABASE]]></category>

		<guid isPermaLink="false">http://rimpidevan.wordpress.com/?p=29</guid>
		<description><![CDATA[Most of us know about PMON and SMON processes , in my blog i&#8217;ll just update on what exactly these two process are all about: pmon : monitors the other background process. Whenever a server process or dispatcher process terminates abnormally, it performs the process recovery. It frees the resources that the client process was using. At the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=29&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Most of us know about PMON and SMON processes , in my blog i&#8217;ll just update on what exactly these two process are all about:</p>
<p>pmon : monitors the other background process. Whenever a server process or dispatcher process terminates abnormally, it performs the process recovery. It frees the resources that the client process was using. At the time of instance startup pmon checks if the listner is running or not. In case its not running pmon tries to contact it periodically.</p>
<p>NOTE: PMON is not doing any instance recovery , its just trying to know if the listener is   running.</p>
<p>SMON:  This is the process which does the instance recovery at the time of startup if needed.  It recovers the terminated transactions at instance crash when the tablespace or file is brought back online after recovery.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimpidevan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimpidevan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rimpidevan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rimpidevan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rimpidevan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rimpidevan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rimpidevan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rimpidevan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rimpidevan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rimpidevan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rimpidevan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rimpidevan.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rimpidevan.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rimpidevan.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=29&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rimpidevan.wordpress.com/2009/12/17/oracle-pmon-and-smon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/133fd78a8c8eafb673e47cf3f7353877?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rimpidevamrithan</media:title>
		</media:content>
	</item>
		<item>
		<title>ORACLE CKPT</title>
		<link>http://rimpidevan.wordpress.com/2009/12/07/oracle-ckpt/</link>
		<comments>http://rimpidevan.wordpress.com/2009/12/07/oracle-ckpt/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 07:17:08 +0000</pubDate>
		<dc:creator>rimpidevamrithan</dc:creator>
				<category><![CDATA[DATABASE]]></category>

		<guid isPermaLink="false">http://rimpidevan.wordpress.com/?p=23</guid>
		<description><![CDATA[Assume a situation where we a have 3 redo logs we log in &#8211;&#62; we start some txn--&#62; these txn are in log buffer &#8211;&#62; we hit commit &#8211;&#62;LGWR comesin the picture&#8211;&#62; it write the changes in the redo log #1. Now redo log #1 gets filled up, #2 gets filled up and finally #3 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=23&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Assume a situation where we a have 3 redo logs</div>
<div>we log in &#8211;&gt; we start some txn--&gt; these txn are in log buffer &#8211;&gt; we hit commit &#8211;&gt;LGWR comesin the picture&#8211;&gt; it write the changes in the redo log #1.</div>
<div id="_mcePaste">Now redo log #1 gets filled up, #2 gets filled up and finally #3 gets filled up. &#8212;&gt; now at this point redo log is already having data&#8211;&gt; this data is now written to the datafile by DBWR &#8211;&gt; after this data update that has been made in the disk is updated in the ctrl file and data files headers by CKPT&#8211;&gt; now the ctrl file will have the information till what point the data is written in the datafiles (say 20)</div>
<p>&#8220;One thing that should always be remembered is that the CKPT process updates the control file and the data file headers with the latest advancement of the checkpoint number based on the buffers written by the DBWR. &#8221; This is the most important thing to be kept in mind.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimpidevan.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimpidevan.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rimpidevan.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rimpidevan.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rimpidevan.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rimpidevan.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rimpidevan.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rimpidevan.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rimpidevan.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rimpidevan.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rimpidevan.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rimpidevan.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rimpidevan.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rimpidevan.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=23&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rimpidevan.wordpress.com/2009/12/07/oracle-ckpt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/133fd78a8c8eafb673e47cf3f7353877?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rimpidevamrithan</media:title>
		</media:content>
	</item>
		<item>
		<title>Recovery after losing your control file.</title>
		<link>http://rimpidevan.wordpress.com/2009/11/21/recovery-after-losing-your-control-file/</link>
		<comments>http://rimpidevan.wordpress.com/2009/11/21/recovery-after-losing-your-control-file/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 17:07:29 +0000</pubDate>
		<dc:creator>rimpidevamrithan</dc:creator>
				<category><![CDATA[DATABASE]]></category>

		<guid isPermaLink="false">http://rimpidevan.wordpress.com/?p=9</guid>
		<description><![CDATA[Hi all . I am adding this info on my blog which has been told by one of our 11gR1 OU  trainers , aman sharma . Hopefully all of us will find it equally useful now and in future. Here we go: Let&#8217;s see go and see now how there can be different cases of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=9&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi all . I am adding this info on my blog which has been told by one of our 11gR1 OU  trainers , aman sharma . Hopefully all of us will find it equally useful now and in future. Here we go:</p>
<p>Let&#8217;s see go and see now how there can be different cases of the control file loss and what we can do to recover it,</p>
<p>1)   Control file lost with a mirrored copy available&gt;&gt;</p>
<p>As like always, its always better to have a seperate copy of your control file. Its going to be very handy when you have lost your any one of them. Oracle recommends to have at least 3 copies of the file all the time. Please note that the copies can be actually more than 3 also but here, “the more the merrier” will not be the right thing to do. If you are going to make multiplexed copies of your control file and your database is doing huge amount of contol file updates, it would lead to the Control File Parallel Write waite event and also the Control File Enque will come into contention. So its always better to use wisely the number of copies needed.</p>
<p>If you have just lost one copy out of your mirrored files, you have very less to do. Here are the steps to recover the database ,</p>
<p>a) If database is already up, bring it down immediately without invoking the checkpoint.</p>
<p>SQL&gt; shut abort;</p>
<p>b) Copy out of one available control files, one file to the location where the lost file is needed. This surely is mandatory that the location is intact. Use an operating system level command to do so,</p>
<p>$cp /u01/app/oracle/oradata/orcl/control02.ctl /u01/app/oracle/oradata/orcl/control01.ctl</p>
<p>c)    As you have already copied the file, just issue the instance startup to open the database.</p>
<p>SQL&gt; startup</p>
<p>It may also be possible that even though you have the multiplexed control files and you have just lost out of N, only 1 control file but the underlying location of the missing control file is also damaged. If that&#8217;s going to be the case then you can&#8217;t restore the file to the same location. You can use the existing control files&#8217;s copy for sure but the location has to be different and this means, you now need to edit the initillization file of the database as well to update the Control_Files parameter. With all the steps mentioned above being the same, you need to one more step and that would be to edit the parameter with the new location with the corresponding missing file&#8217;s name. After you are done doing that, issue a startup and you would be having a running database.</p>
<p>2&gt; Restoring control file with redo logs being intact &gt;&gt;</p>
<p>If you have lost all the copies of the control file but your datafiles and online redo logs are fine, you can use the backup of the control file to recover from the loss. Let&#8217;s create a small disaster where we would loss of our control files. Please note that we already took the backup and our database is already set into the archivelog mode.</p>
<p>Here is the listing of the files that we have in our database.</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls -l *ctl</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 9748480 Nov 17 12:51 control01.ctl</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 9748480 Nov 17 12:51 control02.ctl</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 9748480 Nov 17 12:51 control03.ctl</p>
<p>So , very rudely, we move them all to a folder called Control which is equivalent to losing all of them,</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ mv *.ctl control/</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls -ltr</p>
<p>total 1585940</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall   5251072 Nov 17 08:27 users01.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall  52429312 Nov 17 08:27 redo03.log</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall  52429312 Nov 17 08:27 redo02.log</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 104865792 Nov 17 08:27 example01.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall  20979712 Nov 17 09:26 temp01.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall  41951232 Nov 17 12:52 undotbs01.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 723525632 Nov 17 12:52 system01.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 588849152 Nov 17 12:52 sysaux01.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall  52429312 Nov 17 12:52 redo01.log</p>
<p>drwxr-xr-x  2 oracle oinstall      4096 Nov 17 12:52 control</p>
<p>And just to make sure that we do get an error, let&#8217;s to access some thing which would only come from Control file,</p>
<p>SQL&gt; select * from V$database;</p>
<p>select * from V$database</p>
<p>*</p>
<p>ERROR at line 1:</p>
<p>ORA-00210: cannot open the specified control file</p>
<p>ORA-00202: control file: &#8216;/u01/app/oracle/oradata/orcl/control01.ctl&#8217;</p>
<p>ORA-27041: unable to open file</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>So there are no more control files there with us. Now, the first step would be to immediately issue shut down the database. Let&#8217;s do it,</p>
<p>SQL&gt; shut abort;</p>
<p>ORACLE instance shut down.</p>
<p>Fortunately, we did take the backup using RMAN so we can use it. But before that we need to have at least the instance started as RMAN needs at least the instance to be up,</p>
<p>SQL&gt; startup nomount</p>
<p>ORACLE instance started.</p>
<p>Total System Global Area  171573248 bytes</p>
<p>Fixed Size                  1298668 bytes</p>
<p>Variable Size             134221588 bytes</p>
<p>Database Buffers           29360128 bytes</p>
<p>Redo Buffers                6692864 bytes</p>
<p>And now we fire up RMAN and restore the control files from the backup,</p>
<p>RMAN&gt; restore controlfile from autobackup;</p>
<p>Starting restore at 17-NOV-09</p>
<p>using target database control file instead of recovery catalog</p>
<p>allocated channel: ORA_DISK_1</p>
<p>channel ORA_DISK_1: SID=152 device</p>
<p>recovery area destination: /u01/app/oracle/flash_recovery_area</p>
<p>database name (or database unique name) used for search: ORCL</p>
<p>channel ORA_DISK_1: AUTOBACKUP /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2009_11_17/o1_mf_s_703153678_5j449plt_.bkp found in the recovery area</p>
<p>AUTOBACKUP search with format &#8220;%F&#8221; not attempted because DBID was not set</p>
<p>channel ORA_DISK_1: restoring control file from AUTOBACKUP /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2009_11_17/o1_mf_s_703153678_5j449plt_.bkp</p>
<p>channel ORA_DISK_1: control file restore from AUTOBACKUP complete</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control01.ctl</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control02.ctl</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control03.ctl</p>
<p>Finished restore at 17-NOV-09</p>
<p>We can see that all the 3 control files have come up. And we can verify it as well,</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls *.ctl</p>
<p>control01.ctl  control02.ctl  control03.ctl</p>
<p>The next step would be to recover the  the database. We can do it with bringing the datbase in the mount stage and issue the Resetlogs command to open it up afterwards.</p>
<p>RMAN&gt; recover database;</p>
<p>Starting recover at 17-NOV-09</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>starting media recovery</p>
<p>archived log for thread 1 with sequence 1 is already on disk as file /u01/app/oracle/oradata/orcl/redo01.log</p>
<p>archived log file name=/u01/app/oracle/oradata/orcl/redo01.log thread=1 sequence=1</p>
<p>media recovery complete, elapsed time: 00:00:00</p>
<p>Finished recover at 17-NOV-09</p>
<p>And now we can open the database happily,</p>
<p>SQL&gt; alter database open resetlogs;</p>
<p>Database altered.</p>
<p>SQL&gt; select status from V$instance;</p>
<p>STATUS</p>
<p>&#8212;&#8212;&#8212;&#8212;</p>
<p>OPEN</p>
<p>2&gt;Loss of control file with data files but redo logs being intact&gt;&gt;</p>
<p>This would a semi-disaster situation. Reason for adding here  “semi” is that you have almost lost everything with the loss of your datafiles and control files. Yet you have a ray of hope left as you are still left with your  current redo logs. In this case, as the current redo logs and archived logs , both are available , we can go ahead with the complete recovery.</p>
<p>Let&#8217;s try to have this issue for us. We shall delete the control files and data files and will see how we can recover this,</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls</p>
<p>control01.ctl  example01.dbf  redo03.log    temp01.dbf</p>
<p>control02.ctl  redo01.log     sysaux01.dbf  undotbs01.dbf</p>
<p>control03.ctl  redo02.log     system01.dbf  users01.dbf</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ mkdir control</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ mv *.ctl *.dbf control/</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls</p>
<p>control  redo01.log  redo02.log  redo03.log</p>
<p>So we have lost our control files and data files. Let&#8217;s stop our database and than start it in the nomount stage,</p>
<p>SQL&gt;shut abort;</p>
<p>SQL&gt;startup nomount;</p>
<p>Now, as we can be in the nomount stage, let&#8217;s restore first our control file,</p>
<p>RMAN&gt; restore controlfile from autobackup;</p>
<p>Starting restore at 18-NOV-09</p>
<p>using target database control file instead of recovery catalog</p>
<p>allocated channel: ORA_DISK_1</p>
<p>channel ORA_DISK_1: SID=153 device</p>
<p>recovery area destination: /u01/app/oracle/flash_recovery_area</p>
<p>database name (or database unique name) used for search: ORCL</p>
<p>channel ORA_DISK_1: AUTOBACKUP /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2009_11_18/o1_mf_s_703222747_5j67r3rd_.bkp found in the recovery area</p>
<p>AUTOBACKUP search with format &#8220;%F&#8221; not attempted because DBID was not set</p>
<p>channel ORA_DISK_1: restoring control file from AUTOBACKUP /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2009_11_18/o1_mf_s_703222747_5j67r3rd_.bkp</p>
<p>channel ORA_DISK_1: control file restore from AUTOBACKUP complete</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control01.ctl</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control02.ctl</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control03.ctl</p>
<p>Finished restore at 18-NOV-09</p>
<p>As we have control file with us, let&#8217;s mount the db,</p>
<p>SQL&gt; alter database mount;</p>
<p>Database altered.<br />
Now we need to restore all the datafiles as well. So time to restore the database it self.</p>
<p>RMAN&gt; restore database;</p>
<p>Starting restore at 18-NOV-09</p>
<p>released channel: ORA_DISK_1</p>
<p>Starting implicit crosscheck backup at 18-NOV-09</p>
<p>allocated channel: ORA_DISK_1</p>
<p>channel ORA_DISK_1: SID=153 device</p>
<p>allocated channel: ORA_DISK_2</p>
<p>channel ORA_DISK_2: SID=151 device</p>
<p>allocated channel: ORA_DISK_3</p>
<p>channel ORA_DISK_3: SID=150 device</p>
<p>allocated channel: ORA_DISK_4</p>
<p>channel ORA_DISK_4: SID=149 device</p>
<p>Crosschecked 7 objects</p>
<p>Finished implicit crosscheck backup at 18-NOV-09</p>
<p>Starting implicit crosscheck copy at 18-NOV-09</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>Finished implicit crosscheck copy at 18-NOV-09</p>
<p>searching for all files in the recovery area</p>
<p>cataloging files&#8230;</p>
<p>cataloging done</p>
<p>List of Cataloged Files</p>
<p>=======================</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_5_5j6ml70l_.arc</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_6_5j6mlhdr_.arc</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_7_5j6mlr9s_.arc</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2009_11_18/o1_mf_s_703222747_5j67r3rd_.bkp</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>channel ORA_DISK_1: starting datafile backup set restore</p>
<p>channel ORA_DISK_1: specifying datafile(s) to restore from backup set</p>
<p>channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf</p>
<p>channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf</p>
<p>channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf</p>
<p>channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf</p>
<p>channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf</p>
<p>channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_18/o1_mf_nnndf_TAG20091118T033237_5j67cxb0_.bkp</p>
<p>channel ORA_DISK_1: piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_18/o1_mf_nnndf_TAG20091118T033237_5j67cxb0_.bkp tag=TAG20091118T033237</p>
<p>channel ORA_DISK_1: restored backup piece 1</p>
<p>channel ORA_DISK_1: restore complete, elapsed time: 00:01:05</p>
<p>Finished restore at 18-NOV-09</p>
<p>So we have all what we need. Let&#8217;s try to recover the database.</p>
<p>RMAN&gt; recover database ;</p>
<p>Starting recover at 18-NOV-09</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>starting media recovery</p>
<p>archived log for thread 1 with sequence 3 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_3_5j67hbwq_.arc</p>
<p>archived log for thread 1 with sequence 4 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_4_5j67qx4v_.arc</p>
<p>archived log for thread 1 with sequence 5 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_5_5j6ml70l_.arc</p>
<p>archived log for thread 1 with sequence 6 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_6_5j6mlhdr_.arc</p>
<p>archived log for thread 1 with sequence 7 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_7_5j6mlr9s_.arc</p>
<p>archived log for thread 1 with sequence 8 is already on disk as file /u01/app/oracle/oradata/orcl/redo02.log</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_3_5j67hbwq_.arc thread=1 sequence=3</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_4_5j67qx4v_.arc thread=1 sequence=4</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_5_5j6ml70l_.arc thread=1 sequence=5</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_6_5j6mlhdr_.arc thread=1 sequence=6</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_7_5j6mlr9s_.arc thread=1 sequence=7</p>
<p>archived log file name=/u01/app/oracle/oradata/orcl/redo02.log thread=1 sequence=8</p>
<p>media recovery complete, elapsed time: 00:00:33</p>
<p>Finished recover at 18-NOV-09</p>
<p>Please note that this is a complete recovery only. But we still need to open the database using Resetlogs.</p>
<p>SQL&gt; alter database open resetlogs;</p>
<p>Database altered.</p>
<p>And we are done!</p>
<p>3&gt;Loss of control files when data files are from the backup  with the loss of redo logs as well&gt;&gt;</p>
<p>This essentially would be a similar sort of recovery as we have seen above but(and this matters the most) will be an incomplete recovery as we would not be able to recover what we had in our current redo logs leading us to have only a handful only.</p>
<p>To illustrate the point, we created a table and put some data into it. After that we added  a lot more data into it.  Some of the the entries would be able to go to the redo logs and from there to the archive logs would come back to us. The remaining would be lost confirming the incomplete recovery to us.</p>
<p>First let&#8217;s create a table and add some data to it,</p>
<p>SQL&gt; create table test_recovery(a number);</p>
<p>SQL&gt; insert into test_recovery values(1);</p>
<p>SQL&gt;commit;</p>
<p>And now we shall add some  more data to it.</p>
<p>SQL&gt; insert into test_recovery values(1);</p>
<p>(output trimmed)</p>
<p>.</p>
<p>..</p>
<p>&#8230;</p>
<p>&#8230;.</p>
<p>SQL&gt;commit;</p>
<p>At this stage, we had this much of data in this table.</p>
<p>SQL&gt;select count(*) from test_recovery;</p>
<p>COUNT(*)</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>32</p>
<p>After this, we took a backup of the database and made sure that the current archive logs are in that backup. Once finished with that, we added a lot more to the table. And finally, we had these many rows in the table,</p>
<p>SQL&gt;select count(*) from test_recovery;</p>
<p>COUNT(*)</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>1048576</p>
<p>And this was the last output for the redo logs,</p>
<p>SQL&gt; select * from V$log;</p>
<p>GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS</p>
<p>&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212; &#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>FIRST_CHANGE# FIRST_TIM</p>
<p>&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;</p>
<p>1          1          4   52428800          1 NO  CURRENT</p>
<p>593472 18-NOV-09</p>
<p>2          1          2   52428800          1 YES INACTIVE</p>
<p>593409 18-NOV-09</p>
<p>3          1          3   52428800          1 YES INACTIVE</p>
<p>593455 18-NOV-09</p>
<p>We can see that the Sequence# 4 is the number of the current log group of ours. At this moment, let&#8217;s introduce the crash.</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls</p>
<p>control        control03.ctl  redo02.log    system01.dbf   users01.dbf</p>
<p>control01.ctl  example01.dbf  redo03.log    temp01.dbf</p>
<p>control02.ctl  redo01.log     sysaux01.dbf  undotbs01.dbf</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ mv ** control/</p>
<p>mv: cannot move `control&#8217; to a subdirectory of itself, `control/control&#8217;</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls</p>
<p>control</p>
<p>So we have nothing with us anymore. Naturally, the first step would be to stop the database and start in the Nomount stage. After this, the next step would be to restore the control file from the backup.</p>
<p>RMAN&gt; restore controlfile from autobackup;</p>
<p>Starting restore at 18-NOV-09</p>
<p>using target database control file instead of recovery catalog</p>
<p>allocated channel: ORA_DISK_1</p>
<p>channel ORA_DISK_1: SID=153 device</p>
<p>recovery area destination: /u01/app/oracle/flash_recovery_area</p>
<p>database name (or database unique name) used for search: ORCL</p>
<p>channel ORA_DISK_1: AUTOBACKUP /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2009_11_18/o1_mf_s_703262508_5j7globt_.bkp found in the recovery area</p>
<p>AUTOBACKUP search with format &#8220;%F&#8221; not attempted because DBID was not set</p>
<p>channel ORA_DISK_1: restoring control file from AUTOBACKUP /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2009_11_18/o1_mf_s_703262508_5j7globt_.bkp</p>
<p>channel ORA_DISK_1: control file restore from AUTOBACKUP complete</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control01.ctl</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control02.ctl</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control03.ctl</p>
<p>Finished restore at 18-NOV-09</p>
<p>Now, we need to bring the database in the Mount stage so that we can restore the rest of the database. And we shall also check here that whether we have got the control files or not(no need to doubt over RMAN but still),</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls</p>
<p>control  control01.ctl  control02.ctl  control03.ctl</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ sqlplus / as sysdba</p>
<p>SQL*Plus: Release 11.1.0.6.0 &#8211; Production on Wed Nov 18 14:44:39 2009</p>
<p>Copyright (c) 1982, 2007, Oracle.  All rights reserved.</p>
<p>Connected to:</p>
<p>Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 &#8211; Production</p>
<p>With the Partitioning, OLAP, Data Mining and Real Application Testing options</p>
<p>SQL&gt; alter database mount;</p>
<p>Database altered.</p>
<p>So indeed we have got them. Let&#8217;s proceed to the next step which is to restore the datafiles,</p>
<p>RMAN&gt; restore database;</p>
<p>Starting restore at 18-NOV-09</p>
<p>released channel: ORA_DISK_1</p>
<p>Starting implicit crosscheck backup at 18-NOV-09</p>
<p>allocated channel: ORA_DISK_1</p>
<p>channel ORA_DISK_1: SID=153 device</p>
<p>allocated channel: ORA_DISK_2</p>
<p>channel ORA_DISK_2: SID=151 device</p>
<p>allocated channel: ORA_DISK_3</p>
<p>channel ORA_DISK_3: SID=150 device</p>
<p>allocated channel: ORA_DISK_4</p>
<p>channel ORA_DISK_4: SID=149 device</p>
<p>Crosschecked 14 objects</p>
<p>Finished implicit crosscheck backup at 18-NOV-09</p>
<p>Starting implicit crosscheck copy at 18-NOV-09</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>Finished implicit crosscheck copy at 18-NOV-09</p>
<p>searching for all files in the recovery area</p>
<p>cataloging files&#8230;</p>
<p>cataloging done</p>
<p>List of Cataloged Files</p>
<p>=======================</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2009_11_18/o1_mf_s_703262508_5j7globt_.bkp</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>channel ORA_DISK_1: starting datafile backup set restore</p>
<p>channel ORA_DISK_1: specifying datafile(s) to restore from backup set</p>
<p>channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf</p>
<p>channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf</p>
<p>channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_18/o1_mf_nnndf_TAG20091118T140610_5j7dhw3p_.bkp</p>
<p>channel ORA_DISK_2: starting datafile backup set restore</p>
<p>channel ORA_DISK_2: specifying datafile(s) to restore from backup set</p>
<p>channel ORA_DISK_2: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf</p>
<p>channel ORA_DISK_2: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf</p>
<p>channel ORA_DISK_2: reading from backup piece /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_18/o1_mf_nnndf_TAG20091118T140610_5j7dhtyg_.bkp</p>
<p>channel ORA_DISK_3: starting datafile backup set restore</p>
<p>channel ORA_DISK_3: specifying datafile(s) to restore from backup set</p>
<p>channel ORA_DISK_3: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf</p>
<p>channel ORA_DISK_3: reading from backup piece /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_18/o1_mf_nnndf_TAG20091118T140610_5j7dhtt6_.bkp</p>
<p>channel ORA_DISK_1: piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_18/o1_mf_nnndf_TAG20091118T140610_5j7dhw3p_.bkp tag=TAG20091118T140610</p>
<p>channel ORA_DISK_1: restored backup piece 1</p>
<p>channel ORA_DISK_1: restore complete, elapsed time: 00:00:55</p>
<p>channel ORA_DISK_2: piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_18/o1_mf_nnndf_TAG20091118T140610_5j7dhtyg_.bkp tag=TAG20091118T140610</p>
<p>channel ORA_DISK_2: restored backup piece 1</p>
<p>channel ORA_DISK_2: restore complete, elapsed time: 00:02:06</p>
<p>channel ORA_DISK_3: piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_18/o1_mf_nnndf_TAG20091118T140610_5j7dhtt6_.bkp tag=TAG20091118T140610</p>
<p>channel ORA_DISK_3: restored backup piece 1</p>
<p>channel ORA_DISK_3: restore complete, elapsed time: 00:02:16</p>
<p>Finished restore at 18-NOV-09</p>
<p>And now we can try recovering the database.</p>
<p>RMAN&gt; recover database;</p>
<p>Starting recover at 18-NOV-09</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>starting media recovery</p>
<p>archived log for thread 1 with sequence 2 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_2_5j7dnrff_.arc</p>
<p>archived log for thread 1 with sequence 3 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_3_5j7dw3cj_.arc</p>
<p>archived log for thread 1 with sequence 1 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_1_5j7ghkx4_.arc</p>
<p>archived log for thread 1 with sequence 2 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_2_5j7gkddx_.arc</p>
<p>archived log for thread 1 with sequence 3 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_3_5j7glm85_.arc</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_2_5j7dnrff_.arc thread=1 sequence=2</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_3_5j7dw3cj_.arc thread=1 sequence=3</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_1_5j7ghkx4_.arc thread=1 sequence=1</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_2_5j7gkddx_.arc thread=1 sequence=2</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_18/o1_mf_1_3_5j7glm85_.arc thread=1 sequence=3</p>
<p>unable to find archived log</p>
<p>archived log thread=1 sequence=4</p>
<p>RMAN-00571: ===========================================================</p>
<p>RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============</p>
<p>RMAN-00571: ===========================================================</p>
<p>RMAN-03002: failure of recover command at 11/18/2009 14:48:07</p>
<p>RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 4 and starting SCN of 593472</p>
<p>Please note that we got the error for the same sequence number 4 which was of our current log group. Oracle couldn&#8217;t find its archived file and the redo log surely got deleted by us only. So whatever we had inside it is lost and that&#8217;s what the point we mentioned that this would be an incomplete recovery. Let&#8217;s  open the database and check the number of the rows in the table.</p>
<p>SQL&gt; alter database open resetlogs;</p>
<p>Database altered.</p>
<p>SQL&gt; select count(*) from test_recovery;</p>
<p>COUNT(*)</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>32</p>
<p>So indeed we got only what we could save via archive logs in our backup. And since we had lost the redo logs , with the Resetlogs , we got them back but only as blank with nothing available in them yet,</p>
<p>SQL&gt; select * from V$log;</p>
<p>GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS</p>
<p>&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212; &#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>FIRST_CHANGE# FIRST_TIM</p>
<p>&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;</p>
<p>1          1          1   52428800          1 NO  CURRENT</p>
<p>593473 18-NOV-09</p>
<p>2          1          0   52428800          1 YES UNUSED</p>
<p>0</p>
<p>3          1          0   52428800          1 YES UNUSED</p>
<p>4&gt;&gt;Loss of control files with no backup available but redo logs are fine</p>
<p>Now this is a serious situation. You have ended up with loss of all of your control files and to put the last cherry on the cake, you have no backup either. This means that you can&#8217;t simply restore the control file from the backup. So you need to recreate the control file. Fortunately, oracle does gives us a way out to do so by its Create Controlfile command, using which we can recreate the control file. Let&#8217;s see this case as well.</p>
<p>To start with, we shall move the control file. Please note that in this case, we do need to have the redo logs fine. Using redo logs and archive logs, we shall be able to open the database. To simulate the loss of control files, let&#8217;s move them to some other location.</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ ls</p>
<p>control        control03.ctl  redo02.log    system01.dbf   users01.dbf</p>
<p>control01.ctl  example01.dbf  redo03.log    temp01.dbf</p>
<p>control02.ctl  redo01.log     sysaux01.dbf  undotbs01.dbf</p>
<p>[oracle@dhcp-otp-phase2-floor-g-1-10-177-54-233 orcl]$ mv *.ctl control/</p>
<p>As we have lost the control files, we need to immediately kill the instance with the Abort option.</p>
<p>SQL&gt; shut abort</p>
<p>ORACLE instance shut down.</p>
<p>To create the control file again, we shall need all the information of the database that this file stores and this must match exactly with the database structure of ours. You can get the current strcuture and the create command by using the</p>
<p>Alter Database Backup Controlfile To Trace command. This would create the text based trace file in the User Dump Dest(10g) and Diagnostic Dest(11g) . If you have not done any changes in the database structure of yours, you can simply pick up this file and use it. This file contains two section , with Resetlogs and without Resetlogs. If you have shutdown your db with the Abort option( like we did), you must use the with resetlogs option only. Also, here as the control file is older than the rest of the database so you need to use the Recover Database Using Backup Controlfile option to tell oracle that an old file is being used. Fortunately all this is already there in the trace file that you would get from the Alter database option.</p>
<p>The trace natively contains lots of information which may not be needed. Its better to get rid of that and let only that content be there in the trace file which is needed by you. You need to run this script while being connected as the Sys user. It has all the commands to go ahead with the rest of the process. Let&#8217;s try to do so,</p>
<p>SQL&gt; @/home/oracle/a.sql</p>
<p>ORACLE instance started.</p>
<p>Total System Global Area  171573248 bytes</p>
<p>Fixed Size                  1298668 bytes</p>
<p>Variable Size             138415892 bytes</p>
<p>Database Buffers           25165824 bytes</p>
<p>Redo Buffers                6692864 bytes</p>
<p>Control file created.</p>
<p>PL/SQL procedure successfully completed.</p>
<p>PL/SQL procedure successfully completed.</p>
<p>ORA-00279: change 593476 generated at 11/18/2009 14:48:31 needed for thread 1</p>
<p>ORA-00289: suggestion :</p>
<p>/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_19/o1_mf_1_1_%u_.arcORA-00280: change 593476 for thread 1 is in sequence #1</p>
<p>ORA-00308: cannot open archived log &#8216;&#8211;&#8217;</p>
<p>ORA-27037: unable to obtain file status</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>ORA-00308: cannot open archived log &#8216;ALTER&#8217;</p>
<p>ORA-27037: unable to obtain file status</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>ORA-00308: cannot open archived log &#8216;&#8211;&#8217;</p>
<p>ORA-27037: unable to obtain file status</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>ORA-00308: cannot open archived log &#8216;&#8211;&#8217;</p>
<p>ORA-27037: unable to obtain file status</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>ORA-00308: cannot open archived log &#8216;&#8211;&#8217;</p>
<p>ORA-27037: unable to obtain file status</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>ORA-00308: cannot open archived log &#8216;ALTER&#8217;</p>
<p>ORA-27037: unable to obtain file status</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>ORA-00308: cannot open archived log &#8216;SIZE&#8217;</p>
<p>ORA-27037: unable to obtain file status</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>ORA-00308: cannot open archived log &#8216;&#8211;&#8217;</p>
<p>ORA-27037: unable to obtain file status</p>
<p>Linux Error: 2: No such file or directory</p>
<p>Additional information: 3</p>
<p>Specify log: {&lt;RET&gt;=suggested | filename | AUTO | CANCEL}</p>
<p>/u01/app/oracle/oradata/orcl/redo01.log</p>
<p>Log applied.</p>
<p>Media recovery complete.</p>
<p>SQL&gt; alter database open resetlogs;</p>
<p>Database altered.</p>
<p>So we are done with the recovery!</p>
<p>In the creation of control file, there may be the cases when just going ahead with the default given file may not be sufficient for you. One of the case can be that you have added a new tablespace and then have lost the control file with no or old backup of it which doesn&#8217;t know about the newly added tablespace. In this case, its very important that the information of the newly added tablespace must be told to the previous control file and also to use the “using backup controlfile” option with the recover database. If you dont&#8217; have a backup of the old controlfile stored some where already and you are using the option to create it from the scratch using the Trace option, again you need to take care that the path of all the datafiles and the names of all the tablespaces which were added new must be added in the listing of this control file.</p>
<p>To illustrate the point , let&#8217;s see the same case here. Following are the files and tablespaces that what we have in our database.</p>
<p>SQL&gt; select name from V$datafile;</p>
<p>NAME</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;/u01/app/oracle/oradata/orcl/system01.dbf</p>
<p>/u01/app/oracle/oradata/orcl/sysaux01.dbf</p>
<p>/u01/app/oracle/oradata/orcl/undotbs01.dbf</p>
<p>/u01/app/oracle/oradata/orcl/users01.dbf</p>
<p>/u01/app/oracle/oradata/orcl/example01.dbf</p>
<p>SQL&gt; select * from V$tablespace;</p>
<p>TS# NAME                           INC BIG FLA ENC</p>
<p>&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212; &#8212; &#8212; &#8212;</p>
<p>0 SYSTEM                         YES NO  YES</p>
<p>1 SYSAUX                         YES NO  YES</p>
<p>2 UNDOTBS1                       YES NO  YES</p>
<p>4 USERS                          YES NO  YES</p>
<p>3 TEMP                           NO  NO  YES</p>
<p>6 EXAMPLE                        YES NO  YES</p>
<p>6 rows selected.</p>
<p>Let&#8217;s add into the list one more tablespace.</p>
<p>SQL&gt; create tablespace new</p>
<p>2  datafile &#8216;/u01/app/oracle/oradata/orcl/new.dbf&#8217; size 1m;</p>
<p>Tablespace created.</p>
<p>SQL&gt; select count(*) from V$tablespace;</p>
<p>COUNT(*)</p>
<p>&#8212;&#8212;&#8212;-</p>
<p>7</p>
<p>So now we have got one more file in our database about which the backed up control file doesn&#8217;t know.</p>
<p>After getting our file lost,</p>
<p>RMAN&gt; restore controlfile from  &#8216;/u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_ncnnf_TAG20091119T083712_5j9fm60b_.bkp&#8217;;</p>
<p>Starting restore at 19-NOV-09</p>
<p>using channel ORA_DISK_1</p>
<p>channel ORA_DISK_1: restoring control file</p>
<p>channel ORA_DISK_1: restore complete, elapsed time: 00:00:01</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control01.ctl</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control02.ctl</p>
<p>output file name=/u01/app/oracle/oradata/orcl/control03.ctl</p>
<p>Finished restore at 19-NOV-09</p>
<p>SQL&gt; alter database mount;</p>
<p>Database altered.</p>
<p>RMAN&gt; recover database;</p>
<p>Starting recover at 19-NOV-09</p>
<p>released channel: ORA_DISK_1</p>
<p>Starting implicit crosscheck backup at 19-NOV-09</p>
<p>allocated channel: ORA_DISK_1</p>
<p>channel ORA_DISK_1: SID=152 device</p>
<p>allocated channel: ORA_DISK_2</p>
<p>channel ORA_DISK_2: SID=151 device</p>
<p>allocated channel: ORA_DISK_3</p>
<p>channel ORA_DISK_3: SID=150 device</p>
<p>allocated channel: ORA_DISK_4</p>
<p>channel ORA_DISK_4: SID=149 device</p>
<p>Crosschecked 4 objects</p>
<p>Finished implicit crosscheck backup at 19-NOV-09</p>
<p>Starting implicit crosscheck copy at 19-NOV-09</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>Finished implicit crosscheck copy at 19-NOV-09</p>
<p>searching for all files in the recovery area</p>
<p>cataloging files&#8230;</p>
<p>cataloging done</p>
<p>List of Cataloged Files</p>
<p>=======================</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_19/o1_mf_1_7_5j9fqchp_.arc</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_19/o1_mf_1_6_5j9fq1bs_.arc</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_annnn_TAG20091119T083931_5j9fqdg7_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_annnn_TAG20091119T083931_5j9fqdrj_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_nnsnf_TAG20091119T083712_5j9fmf0n_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_nnndf_TAG20091119T084437_5j9g0xgk_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_nnndf_TAG20091119T083712_5j9fm1ny_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_annnn_TAG20091119T083921_5j9fq1s8_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_annnn_TAG20091119T083931_5j9fqdb0_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_nnndf_TAG20091119T083712_5j9fm2lr_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_ncnnf_TAG20091119T083712_5j9fm60b_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_annnn_TAG20091119T083931_5j9fqdo9_.bkp</p>
<p>File Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2009_11_19/o1_mf_nnndf_TAG20091119T083712_5j9fm1sd_.bkp</p>
<p>using channel ORA_DISK_1</p>
<p>using channel ORA_DISK_2</p>
<p>using channel ORA_DISK_3</p>
<p>using channel ORA_DISK_4</p>
<p>RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row</p>
<p>RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows</p>
<p>ORACLE error from target database:</p>
<p>ORA-19922: there is no parent row with id 0 and level 1</p>
<p>starting media recovery</p>
<p>archived log for thread 1 with sequence 6 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_19/o1_mf_1_6_5j9fq1bs_.arc</p>
<p>archived log for thread 1 with sequence 7 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_19/o1_mf_1_7_5j9fqchp_.arc</p>
<p>archived log for thread 1 with sequence 8 is already on disk as file /u01/app/oracle/oradata/orcl/redo02.log</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_19/o1_mf_1_6_5j9fq1bs_.arc thread=1 sequence=6</p>
<p>archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_19/o1_mf_1_7_5j9fqchp_.arc thread=1 sequence=7</p>
<p>archived log file name=/u01/app/oracle/oradata/orcl/redo02.log thread=1 sequence=8</p>
<p>creating datafile file number=6 name=/u01/app/oracle/oradata/orcl/new.dbf</p>
<p>RMAN-00571: ===========================================================</p>
<p>RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============</p>
<p>RMAN-00571: ===========================================================</p>
<p>RMAN-03002: failure of recover command at 11/19/2009 09:11:12</p>
<p>ORA-01119: error in creating database file &#8216;/u01/app/oracle/oradata/orcl/new.dbf&#8217;</p>
<p>ORA-27038: created file already exists</p>
<p>Additional information: 1</p>
<p>SQL&gt; recover database using backup controlfile;</p>
<p>ORA-00283: recovery session canceled due to errors</p>
<p>ORA-01111: name for data file 6 is unknown &#8211; rename to correct file</p>
<p>ORA-01110: data file 6: &#8216;/u01/app/oracle/product/11.1.0/db_1/dbs/UNNAMED00006&#8242;</p>
<p>ORA-01157: cannot identify/lock data file 6 &#8211; see DBWR trace file</p>
<p>ORA-01111: name for data file 6 is unknown &#8211; rename to correct file</p>
<p>ORA-01110: data file 6: &#8216;/u01/app/oracle/product/11.1.0/db_1/dbs/UNNAMED00006&#8242;</p>
<p>SQL&gt; alter database rename file &#8216;/u01/app/oracle/product/11.1.0/db_1/dbs/UNNAMED00006&#8242; TO &#8216;/u01/app/oracle/oradata/orcl/new.dbf&#8217;;</p>
<p>Database altered.</p>
<p>RMAN&gt; recover datafile 6;</p>
<p>Starting recover at 19-NOV-09</p>
<p>using target database control file instead of recovery catalog</p>
<p>allocated channel: ORA_DISK_1</p>
<p>channel ORA_DISK_1: SID=152 device</p>
<p>allocated channel: ORA_DISK_2</p>
<p>channel ORA_DISK_2: SID=150 device</p>
<p>allocated channel: ORA_DISK_3</p>
<p>channel ORA_DISK_3: SID=155 device</p>
<p>allocated channel: ORA_DISK_4</p>
<p>channel ORA_DISK_4: SID=149 device</p>
<p>RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row</p>
<p>RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows</p>
<p>ORACLE error from target database:</p>
<p>ORA-19922: there is no parent row with id 0 and level 1</p>
<p>RMAN-00571: ===========================================================</p>
<p>RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============</p>
<p>RMAN-00571: ===========================================================</p>
<p>RMAN-03002: failure of recover command at 11/19/2009 09:17:19</p>
<p>RMAN-06067: RECOVER DATABASE required with a backup or created control file</p>
<p>SQL&gt;  recover database using backup controlfile;</p>
<p>ORA-00279: change 564920 generated at 11/19/2009 08:43:22 needed for thread 1</p>
<p>ORA-00289: suggestion :</p>
<p>/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2009_11_19/o1_mf_1_8_%u_.arcORA-00280: change 564920 for thread 1 is in sequence #8</p>
<p>Specify log: {&lt;RET&gt;=suggested | filename | AUTO | CANCEL}</p>
<p>/u01/app/oracle/oradata/orcl/redo02.log</p>
<p>Log applied.</p>
<p>Media recovery complete.</p>
<p>SQL&gt;</p>
<p>SQL&gt; alter database open resetlogs;</p>
<p>Database altered.</p>
<p>SQL&gt; select * from V$tablespace;</p>
<p>TS# NAME                           INC BIG FLA ENC</p>
<p>&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212; &#8212; &#8212; &#8212;</p>
<p>0 SYSTEM                         YES NO  YES</p>
<p>1 SYSAUX                         YES NO  YES</p>
<p>2 UNDOTBS1                       YES NO  YES</p>
<p>4 USERS                          YES NO  YES</p>
<p>3 TEMP                           NO  NO  YES</p>
<p>6 EXAMPLE                        YES NO  YES</p>
<p>7 NEW                            YES NO  YES</p>
<p>7 rows selected.</p>
<p>P.S: Any misspelled stuff apologies.</p>
<p>Rgds&#8230;R</p>
<p>N</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimpidevan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimpidevan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rimpidevan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rimpidevan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rimpidevan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rimpidevan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rimpidevan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rimpidevan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rimpidevan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rimpidevan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rimpidevan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rimpidevan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rimpidevan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rimpidevan.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=9&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rimpidevan.wordpress.com/2009/11/21/recovery-after-losing-your-control-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/133fd78a8c8eafb673e47cf3f7353877?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rimpidevamrithan</media:title>
		</media:content>
	</item>
		<item>
		<title>OAM_BE workflow event</title>
		<link>http://rimpidevan.wordpress.com/2009/08/08/oam_be-workflow-event/</link>
		<comments>http://rimpidevan.wordpress.com/2009/08/08/oam_be-workflow-event/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 05:09:18 +0000</pubDate>
		<dc:creator>rimpidevamrithan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rimpidevan.wordpress.com/?p=7</guid>
		<description><![CDATA[The OAM_BE exceptions are raised as a parallel to any error that is raised internally for a concurrent request, concurrent manager, etc.  As well as the error being written to the respective log file an exception is raised in OAM. Its always better to diasble this event since it just have the duplicate data. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=7&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The OAM_BE exceptions are raised as a parallel to any error that is raised internally for a concurrent request, concurrent manager, etc.  As well as the error being written to the respective log file an exception is raised in OAM. Its always better to diasble this event since it just have the duplicate data.</p>
<p>The exceptions can be disabled with the following steps:<br />
   <br />
    1. Login to the application as SYSADMIN<br />
    2. Navigate to the responsibility Workflow Administrator Web Applications &gt; Business Events<br />
    3. Search for the Name: oracle.apps.fnd.system.exception<br />
    4. Click Go<br />
    5. Click on Update<br />
    6. Change it to &#8216;Disable&#8217;<br />
    7. Save the changes</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimpidevan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimpidevan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rimpidevan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rimpidevan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rimpidevan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rimpidevan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rimpidevan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rimpidevan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rimpidevan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rimpidevan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rimpidevan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rimpidevan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rimpidevan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rimpidevan.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=7&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rimpidevan.wordpress.com/2009/08/08/oam_be-workflow-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/133fd78a8c8eafb673e47cf3f7353877?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rimpidevamrithan</media:title>
		</media:content>
	</item>
		<item>
		<title>installing Oracle Application Server 10g Release 2 (10.1.2.0.2) within the OEL 5.x or RHEL 5.x operating systems</title>
		<link>http://rimpidevan.wordpress.com/2009/07/08/installing-oracle-application-server-10g-release-2-10-1-2-0-2-within-the-oel-5-x-or-rhel-5-x-operating-systems/</link>
		<comments>http://rimpidevan.wordpress.com/2009/07/08/installing-oracle-application-server-10g-release-2-10-1-2-0-2-within-the-oel-5-x-or-rhel-5-x-operating-systems/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 13:47:33 +0000</pubDate>
		<dc:creator>rimpidevamrithan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rimpidevan.wordpress.com/?p=3</guid>
		<description><![CDATA[installing Oracle Application Server 10g Release 2 (10.1.2.0.2) within the OEL 5.x or RHEL 5.x operating systems fails with this err: /appl/oracle/product/1013/Apache/Apache/bin/apachectl startssl: execing httpd /appl/oracle/product/1013/Apache/Apache/bin/httpd: error while loading shared libraries: create the symbolic link # ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2 chmod 755 /usr/lib/libgdbm.so.2.0.0 chmod 755 /usr/lib/libdb.so.2 As root and the retry the installation.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=3&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>installing Oracle Application Server 10g Release 2 (10.1.2.0.2) within the OEL 5.x or RHEL 5.x operating systems fails with this err:</p>
<p>/appl/oracle/product/1013/Apache/Apache/bin/apachectl startssl: execing httpd<br />
/appl/oracle/product/1013/Apache/Apache/bin/httpd: error while loading shared libraries:<br />
create the symbolic link</p>
<p># ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2</p>
<p>chmod 755 /usr/lib/libgdbm.so.2.0.0</p>
<p>chmod 755 /usr/lib/libdb.so.2</p>
<p>As root and the retry the installation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimpidevan.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimpidevan.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rimpidevan.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rimpidevan.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rimpidevan.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rimpidevan.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rimpidevan.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rimpidevan.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rimpidevan.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rimpidevan.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rimpidevan.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rimpidevan.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rimpidevan.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rimpidevan.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=3&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rimpidevan.wordpress.com/2009/07/08/installing-oracle-application-server-10g-release-2-10-1-2-0-2-within-the-oel-5-x-or-rhel-5-x-operating-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/133fd78a8c8eafb673e47cf3f7353877?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rimpidevamrithan</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://rimpidevan.wordpress.com/2009/07/08/hello-world/</link>
		<comments>http://rimpidevan.wordpress.com/2009/07/08/hello-world/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 13:39:21 +0000</pubDate>
		<dc:creator>rimpidevamrithan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=1&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimpidevan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimpidevan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rimpidevan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rimpidevan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rimpidevan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rimpidevan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rimpidevan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rimpidevan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rimpidevan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rimpidevan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rimpidevan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rimpidevan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rimpidevan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rimpidevan.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rimpidevan.wordpress.com&amp;blog=8488907&amp;post=1&amp;subd=rimpidevan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rimpidevan.wordpress.com/2009/07/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/133fd78a8c8eafb673e47cf3f7353877?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rimpidevamrithan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
