<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle Faq</title>
	<atom:link href="http://www.oraclefaq.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclefaq.net</link>
	<description></description>
	<lastBuildDate>Mon, 13 Feb 2012 06:14:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RMAN Features of Oracle 11g</title>
		<link>http://www.oraclefaq.net/2007/11/26/rman-features-of-oracle-11g/</link>
		<comments>http://www.oraclefaq.net/2007/11/26/rman-features-of-oracle-11g/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 06:19:14 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Oracle 11g features]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/11/26/rman-features-of-oracle-11g/</guid>
		<description><![CDATA[Hi All, With each newer version of Oracle from Oracle 8i to Oracle 11g rman features are enchanced making it more and more powerful and thereby simplifying backup and recovery process to large extent. The new feature of Oracle 11g makes rman more powerful by automatically detecting the failure, advising how to recover from failure and then [...]]]></description>
			<content:encoded><![CDATA[<!-- AdSense Now! Lite V3.04 -->
<!-- Post[count: 3] -->
<div class="adsense adsense-leadin" style="float:left;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-3602303122422549";
/* OracleFaq */
google_ad_slot = "0273411572";
google_ad_width = 300;
google_ad_height = 250;

//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
 </div><p>Hi All,</p>
<p>With each newer version of Oracle from Oracle 8i to Oracle 11g rman features are enchanced making it more and more powerful and thereby simplifying backup and recovery process to large extent.</p>
<p>The new feature of Oracle 11g makes rman more powerful by automatically detecting the failure, advising how to recover from failure and then actually recovering from failure.</p>
<p>For e.g.</p>
<p>Letz say my database consists of following datafiles</p>
<p>-bash-3.00$ cd /oracle/product/oradata/OTM/datafile/</p>
<p>-bash-3.00$ ls -lart</p>
<p>total 2096616</p>
<p>drwxr-x&#8212;  5 oracle oinstall      4096 Oct 15 16:30 ..</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall  40902656 Nov 23 11:26 o1_mf_temp_3k6l2q8q_.tmp</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall   5251072 Nov 23 13:11 o1_mf_users_3ndztqcd_.dbf</p>
<p>drwxr-x&#8212;  2 oracle oinstall      4096 Nov 23 16:42 .</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 492838912 Nov 23 16:42 o1_mf_undotbs1_3k6l2hkr_.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 104865792 Nov 23 16:43 o1_mf_test_3nffdoxh_.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 734011392 Nov 23 16:44 o1_mf_system_3k6l1shq_.dbf</p>
<p>-rw-r&#8212;&#8211;  1 oracle oinstall 770514944 Nov 23 16:44 o1_mf_sysaux_3k6l2bqf_.dbf </p>
<p>Let us say by mistake someone deletes the o1_mf_test_3nffdoxh_.dbf or the file gets corrupted.</p>
<p>-bash-3.00$ rm -rf o1_mf_test_3nffdoxh_.dbf</p>
<p>Now I detect the failure when I try to perform a transaction accessing that database or when I try to shutdown the database , I get the following error</p>
<p>-bash-3.00$ sqlplus</p>
<p>SQL*Plus: Release 11.1.0.6.0 &#8211; Production on Fri Nov 23 16:46:00 2007</p>
<p>Copyright (c) 1982, 2007, Oracle.  All rights reserved.</p>
<p>Enter user-name: / as sysdba</p>
<p>Connected to:<br />
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 &#8211; Production<br />
With the Partitioning, OLAP, Data Mining and Real Application Testing options</p>
<p>SQL&gt; shutdown immediate<br />
ORA-01116: error in opening database file 5<br />
ORA-01110: data file 5: &#8216;/oracle/product/oradata/OTM/datafile/o1_mf_test_3nffdoxh_.dbf&#8217;<br />
ORA-27041: unable to open file<br />
Linux Error: 2: No such file or directory<br />
Additional information: 3<br />
SQL&gt; exit<br />
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 &#8211; Production<br />
With the Partitioning, OLAP, Data Mining and Real Application Testing options</p>
<p>  </p>
<p><strong>Now we can use rman to detect the failure as shown below</strong></p>
<p>-bash-3.00$ rman target /</p>
<p>Recovery Manager: Release 11.1.0.6.0 &#8211; Production on Fri Nov 23 16:46:15 2007</p>
<p>Copyright (c) 1982, 2007, Oracle.  All rights reserved.</p>
<p>connected to target database: OTM (DBID=811910212)</p>
<p><strong>RMAN&gt; list failure;</strong></p>
<p>using target database control file instead of recovery catalog<br />
List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status    Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
1242       HIGH     OPEN      23-NOV-07     One or more non-system datafiles are missing</p>
<p><strong>Now we can ask rman to advise us to repair the failure as shown.</strong></p>
<p> <strong>RMAN&gt; advise failure;</strong></p>
<p>List of Database Failures<br />
=========================</p>
<p>Failure ID Priority Status    Time Detected Summary<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8211; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
1242       HIGH     OPEN      23-NOV-07     One or more non-system datafiles are missing</p>
<p>analyzing automatic repair options; this may take some time<br />
allocated channel: ORA_DISK_1<br />
channel ORA_DISK_1: SID=1640 device type=DISK<br />
analyzing automatic repair options complete</p>
<p>Mandatory Manual Actions<br />
========================<br />
no manual actions available</p>
<p>Optional Manual Actions<br />
=======================<br />
1. If file /oracle/product/oradata/OTM/datafile/o1_mf_test_3nffdoxh_.dbf was unintentionally renamed or moved, restore it</p>
<p>Automated Repair Options<br />
========================<br />
Option Repair Description<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
1      Restore and recover datafile 5 <br />
  Strategy: The repair includes complete media recovery with no data loss<br />
  Repair script: /oracle/product/diag/rdbms/otm/OTM/hm/reco_1550806931.hm</p>
<p>  </p>
<p><strong>As shown above rman by itself prepares the script which can be used to repair the failure. To view the content of the script use the following commandd</strong></p>
<p><strong>RMAN&gt; repair failure  preview;</strong></p>
<p>Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: /oracle/product/diag/rdbms/otm/OTM/hm/reco_1550806931.hm</p>
<p>contents of repair script:<br />
   # restore and recover datafile<br />
   sql &#8216;alter database datafile 5 offline&#8217;;<br />
   restore datafile 5;<br />
   recover datafile 5;<br />
   sql &#8216;alter database datafile 5 online&#8217;; </p>
<p><strong>Finally to repair the failure using rman we use the following command</strong></p>
<p><strong>RMAN&gt; repair failure;</strong></p>
<p>Strategy: The repair includes complete media recovery with no data loss<br />
Repair script: /oracle/product/diag/rdbms/otm/OTM/hm/reco_1550806931.hm</p>
<p>contents of repair script:<br />
   # restore and recover datafile<br />
   sql &#8216;alter database datafile 5 offline&#8217;;<br />
   restore datafile 5;<br />
   recover datafile 5;<br />
   sql &#8216;alter database datafile 5 online&#8217;;</p>
<p>Do you really want to execute the above repair (enter YES or NO)? YES<br />
executing repair script</p>
<p>sql statement: alter database datafile 5 offline</p>
<p>Starting restore at 23-NOV-07<br />
using channel ORA_DISK_1</p>
<p>channel ORA_DISK_1: starting datafile backup set restore<br />
channel ORA_DISK_1: specifying datafile(s) to restore from backup set<br />
channel ORA_DISK_1: restoring datafile 00005 to /oracle/product/oradata/OTM/datafile/o1_mf_test_3nffdoxh_.dbf<br />
channel ORA_DISK_1: reading from backup piece /oracle/1mj173au_1_1<br />
channel ORA_DISK_1: piece handle=/oracle/1mj173au_1_1 tag=TAG20071116T164612<br />
channel ORA_DISK_1: restored backup piece 1<br />
channel ORA_DISK_1: restore complete, elapsed time: 00:00:07<br />
Finished restore at 23-NOV-07</p>
<p>Starting recover at 23-NOV-07<br />
using channel ORA_DISK_1</p>
<p>starting media recovery</p>
<p>archived log for thread 1 with sequence 111 is already on disk as file /oracle/product/flash_recovery_area/OTM/archivelog/2007_11_22/o1_mf_1_111_3n9o59by_.arc<br />
archived log for thread 1 with sequence 112 is already on disk as file /oracle/product/flash_recovery_area/OTM/archivelog/2007_11_22/o1_mf_1_112_3nbdyxbh_.arc<br />
archived log for thread 1 with sequence 113 is already on disk as file /oracle/product/flash_recovery_area/OTM/archivelog/2007_11_22/o1_mf_1_113_3nc2wt57_.arc<br />
archived log for thread 1 with sequence 114 is already on disk as file /oracle/product/flash_recovery_area/OTM/archivelog/2007_11_22/o1_mf_1_114_3nccpz0p_.arc<br />
archived log for thread 1 with sequence 115 is already on disk as file /oracle/product/flash_recovery_area/OTM/archivelog/2007_11_23/o1_mf_1_115_3ncmyrhb_.arc<br />
archived log for thread 1 with sequence 116 is already on disk as file /oracle/product/flash_recovery_area/OTM/archivelog/2007_11_23/o1_mf_1_116_3nd5stp7_.arc<br />
archived log for thread 1 with sequence 117 is already on disk as file /oracle/product/flash_recovery_area/OTM/archivelog/2007_11_23/o1_mf_1_117_3ndxlsp4_.arc<br />
archived log file name=/oracle/product/flash_recovery_area/OTM/archivelog/2007_11_22/o1_mf_1_111_3n9o59by_.arc thread=1 sequence=111<br />
archived log file name=/oracle/product/flash_recovery_area/OTM/archivelog/2007_11_22/o1_mf_1_112_3nbdyxbh_.arc thread=1 sequence=112<br />
archived log file name=/oracle/product/flash_recovery_area/OTM/archivelog/2007_11_22/o1_mf_1_113_3nc2wt57_.arc thread=1 sequence=113<br />
archived log file name=/oracle/product/flash_recovery_area/OTM/archivelog/2007_11_22/o1_mf_1_114_3nccpz0p_.arc thread=1 sequence=114<br />
archived log file name=/oracle/product/flash_recovery_area/OTM/archivelog/2007_11_23/o1_mf_1_115_3ncmyrhb_.arc thread=1 sequence=115<br />
media recovery complete, elapsed time: 00:00:47<br />
Finished recover at 23-NOV-07</p>
<p>sql statement: alter database datafile 5 online<br />
repair failure complete</p>
<p>RMAN&gt; exit</p>
<p>Recovery Manager complete. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/11/26/rman-features-of-oracle-11g/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Oracle Question II</title>
		<link>http://www.oraclefaq.net/2007/11/20/oracle-question-ii/</link>
		<comments>http://www.oraclefaq.net/2007/11/20/oracle-question-ii/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 17:45:38 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[oracle faq]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/11/20/oracle-question-ii/</guid>
		<description><![CDATA[20)  What is the location of init&#60;SID&#62;.ora file for windows system and for unix system? The default location of init&#60;SID&#62;.ora file is %ORACLE_HOME%/database  folder for Windows while it is $ORACLE_HOME/dbs for UNIX System. 21) What is the use of init&#60;SID&#62;.ora file in Oracle Database? init&#60;SID&#62;.ora Files contains all the parameters which is used to configure the Oracle Instance. For e.g shared_pool_size parameter in init&#60;SID&#62;.ora decides  the size of shared pool large_pool parameter decides the size of large pool. 22) Can the parameter of init file be changed dynamically? No, the parameters of the init&#60;SID&#62;.ora does not take effect on the fly when the database is running. To change the parameter we need to modify the parameter in init&#60;SID&#62;.ora and then stop the database and start the database with the modified pfile. 23) How can we start the database with pfile which is  located in the non default location? To start the database with pfile located in the non default location i.e (Not in %oracle_home%/database OR $ORACLE_HOME/  dbs) we can use the following command at SQL prompt SQL&#62; startup pfile=&#60;location of pfile&#62; 24) Which parameter determines the location control files in oracle database? CONTROL_FILES parameter decides the location of control files in oracle database. 25) What are Instance specific parameters and how are they defined in init&#60;SID&#62;.ora? In RAC (Real Application Cluster) which is a Oracle [...]]]></description>
			<content:encoded><![CDATA[<p><strong>20)  What is the location of init&lt;SID&gt;.ora file for windows system and for unix system?</strong></p>
<p>The default location of init&lt;SID&gt;.ora file is %ORACLE_HOME%/database  folder for Windows while it is $ORACLE_HOME/dbs for UNIX System.</p>
<p><strong>21) What is the use of init&lt;SID&gt;.ora file in Oracle Database?</strong></p>
<p>init&lt;SID&gt;.ora Files contains all the parameters which is used to configure the Oracle Instance.</p>
<p>For e.g</p>
<p>shared_pool_size parameter in init&lt;SID&gt;.ora decides  the size of shared pool</p>
<p>large_pool parameter decides the size of large pool.</p>
<p><strong>22) Can the parameter of init file be changed dynamically?</strong></p>
<p>No, the parameters of the init&lt;SID&gt;.ora does not take effect on the fly when the database</p>
<p>is running. To change the parameter we need to modify the parameter in init&lt;SID&gt;.ora</p>
<p>and then stop the database and start the database with the modified pfile.</p>
<p><strong>23) How can we start the database with pfile which is </strong></p>
<p><strong>located in the non default location?</strong></p>
<p>To start the database with pfile located in the non default location</p>
<p>i.e (Not in %oracle_home%/database OR $ORACLE_HOME/  dbs) we can use the following command at SQL prompt</p>
<p>SQL&gt; startup pfile=&lt;location of pfile&gt;</p>
<p><strong>24) Which parameter determines the location control files in oracle database?</strong></p>
<p>CONTROL_FILES parameter decides the location of control files in oracle database.</p>
<p><strong>25) What are Instance specific parameters and how are they defined in init&lt;SID&gt;.ora?</strong></p>
<p>In RAC (Real Application Cluster) which is a Oracle HA(High Availability) Feature we can have multiple oracle instance configured on different nodes which can access the same database located in shared storage area. These instances configured on different nodes can be configured differently by using these instance specific parameters. These instance specific parameters are defined in init&lt;SID&gt;.ora as</p>
<p>Letz say the database name is ORCL</p>
<p>Instance1 SID: ORCL1</p>
<p>Instance 2 SID:ORCL2</p>
<p>initORCL1.ora</p>
<p>ORCL1.undo_tablespace=UNDOTBS1</p>
<p>ORCL2.undo_tablespace=UNDOTBS2</p>
<p><strong>26) What is spfile&lt;SID&gt;.ora?</strong></p>
<p>In Oracle 9i, spfile&lt;SID&gt;.ora was introduced as a replacement for init&lt;SID&gt;.ora in which</p>
<p>some of databaseparameters can be changed dynamically</p>
<p>without shutting down the database.</p>
<p>Spfile&lt;SID&gt;.ora is a binary file and cannot be modified manually</p>
<p><strong>27) How can we create spfile from pfile and vice versa?</strong></p>
<p>In the server set oracle_sid environment variable to the SID name</p>
<p>Log in to the database with sys as sysdba user</p>
<p>and fire the following query at the SQL prompt</p>
<p>SQL&gt; create spfile from pfile;</p>
<p>File created</p>
<p>SQL&gt; create pfile from spfile;</p>
<p>File created</p>
<p>By firing the above command the spfile/pfile is created in the default location i.e %oracle_home%/database in Windows and</p>
<p>$ORACLE_HOME/dbs</p>
<p><strong>28) How can we dynamically change the parameter with spfile&lt;SID&gt;.ora?</strong></p>
<p>To  dynamically  change the database parameter your database must be started with spfile&lt;SID&gt;.ora</p>
<p>log into the datbase with sys as sysdba</p>
<p>and fire the following query</p>
<p>SQL&gt; alter system set <em>&lt;parameter name&gt;=&lt;value&gt;</em> scope=both;</p>
<p>If the parameter cannot be modified on the fly use the following command</p>
<p>SQL&gt; alter system set <em>&lt;parameter-name&gt;=&lt;value&gt;</em> scope=spfile;</p>
<p><strong>29) When you give startup to start the database and if both spfile and pfile are present in </strong></p>
<p><strong>default location which file is used to start the database? </strong></p>
<p>When the oracle starts the instance it looks the following files in the specified order</p>
<p>1)spfile&lt;SID&gt;.ora</p>
<p>2) spfile.ora</p>
<p>3)init&lt;SID&gt;.ora</p>
<p>4) init.ora</p>
<p>If it finds spfile&lt;SID&gt;.ora it will start the database using that but if it is not</p>
<p>present it will look for spfile.ora file. If that file is also not present it looks for init&lt;SID&gt;.ora</p>
<p>and so on.</p>
<p><strong>30) how can we create pointer to other init/spfile?</strong></p>
<p>We can use</p>
<p>IFILE= &#8217;&lt;location of the pfile&gt;&#8217;</p>
<p>SPFILE=&#8217;&lt;location of spfile&gt;&#8217;</p>
<p>parameters to create pointer to init/spfile which are located at some other location.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/11/20/oracle-question-ii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RemoteOperationException: ERROR: NMO not setuid-root (Unix-only)</title>
		<link>http://www.oraclefaq.net/2007/11/16/remoteoperationexception-error-nmo-not-setuid-root-unix-only/</link>
		<comments>http://www.oraclefaq.net/2007/11/16/remoteoperationexception-error-nmo-not-setuid-root-unix-only/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 09:51:11 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/11/16/remoteoperationexception-error-nmo-not-setuid-root-unix-only/</guid>
		<description><![CDATA[Hi All, I was trying using Oracle Enterprise Manager to start the database/Listener and when I tried to start the database/listener through OEM i got the following error RemoteOperationException: ERROR: NMO not setuid-root (Unix-only) Later on I discovered that the error was since the root.sh script was not run properly. Then i tried to rerun [...]]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>I was trying using Oracle Enterprise Manager to start the database/Listener and when I tried to start the database/listener through OEM i got the following error</p>
<p><span class="x2q">RemoteOperationException: ERROR: NMO not setuid-root (Unix-only)</span></p>
<p><span class="x2q">Later on I discovered that the error was since the root.sh script was not run properly.</span></p>
<p><span class="x2q">Then i tried to rerun the root.sh which is located in $ORACLE_HOME/root.sh the </span></p>
<p><span class="x2q">above error disapperad. It was because the improper permissions on oracle binaries in particular nmo,nmhs,nmb binaries. </span></p>
<p><span class="x2q">Later on after running the root.sh the following permission were giving the nmo,nmhs and nmb binaries </span></p>
<p><span class="x2q">-rwsr-s&#8212;   1 root   oinstall     23744 Oct 15 16:17 nmo<br />
-rwsr-x&#8212;   1 root   oinstall     46480 Oct 15 16:17 nmhs<br />
-rwsr-s&#8212;   1 root   oinstall     17256 Oct 15 16:17 nmb </span></p>
<p><span class="x2q">Here &#8216;s&#8217; stands for that SUID bit is set for this binaries </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/11/16/remoteoperationexception-error-nmo-not-setuid-root-unix-only/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A Shell Script To Take RMAN Cold,Hot and Export Backup</title>
		<link>http://www.oraclefaq.net/2007/11/16/a-shell-script-to-take-rman-coldhot-and-export-backup/</link>
		<comments>http://www.oraclefaq.net/2007/11/16/a-shell-script-to-take-rman-coldhot-and-export-backup/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 05:57:42 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/11/16/a-shell-script-to-take-rman-coldhot-and-export-backup/</guid>
		<description><![CDATA[#!/bin/bash ORACLE_SID=OTM;export ORACLE_SID echo $ORACLE_SID echo &#8220;Please Specify the kind of backup you want to take&#8221; echo &#8220;1) COLD BACKUP&#8221; echo &#8220;2) HOT BACKUP&#8221; echo &#8220;3) EXPORT BACKUP&#8221; echo &#8220;Enter your option&#8221; read option while [ $option -gt 3 ]&#124;&#124;[ $option -le 0 ] do echo &#8220;Please Enter the correct option&#8221; read option done case [...]]]></description>
			<content:encoded><![CDATA[<p>#!/bin/bash<br />
ORACLE_SID=OTM;export ORACLE_SID<br />
echo $ORACLE_SID</p>
<p>echo &#8220;Please Specify the kind of backup you want to take&#8221;<br />
echo &#8220;1) COLD BACKUP&#8221;<br />
echo &#8220;2) HOT BACKUP&#8221;<br />
echo &#8220;3) EXPORT BACKUP&#8221;<br />
echo &#8220;Enter your option&#8221;</p>
<p>read option</p>
<p>while [ $option -gt 3 ]||[ $option -le 0 ]<br />
do<br />
echo &#8220;Please Enter the correct option&#8221;<br />
read option<br />
done</p>
<p>case $option in<br />
1|2) echo &#8220;You are taking rman backup of DB&#8221;<br />
   rman target sys/sys @/oracle/product/11g/rman_backup_$option.txt;exit;;<br />
3) echo &#8220;You are taking export backup of DB&#8221;<br />
   exp system/sys file=/oracle/exp_dat.dmp log=/oracle/exp_dat.log full=y;<br />
   exit;;<br />
esac</p>
<p>exit</p>
<p> The above script can call anyone of the following rman script depending upon the user who wants take cold or hot backup</p>
<p>The content of rman_backup_1.txt </p>
<p>run {<br />
   shutdown immediate;<br />
   startup mount;<br />
   allocate channel dup1 device type disk;<br />
   allocate channel dup2 device type disk;<br />
   backup format &#8216;/oracle/%U&#8217; database;<br />
   release channel dup1;<br />
   release channel dup2;<br />
   alter database open;<br />
  }</p>
<p>The content of rman_backup_2.txt</p>
<p>run {<br />
allocate channel dup1 device type disk;<br />
allocate channel dup2 device type disk;<br />
backup format &#8216;/oracle/%U&#8217; database;<br />
backup format &#8216;/oracle/arch_%U&#8217; archivelog all;<br />
backup format &#8216;/oracle/ctl_%U&#8217; current controlfile;<br />
release channel dup1;<br />
release channel dup2;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/11/16/a-shell-script-to-take-rman-coldhot-and-export-backup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>STEPS TO CLONE A DATABASE ON A NEW SERVER WITH A NEW SID NAME USING HOT BACKUP</title>
		<link>http://www.oraclefaq.net/2007/11/15/steps-to-clone-a-database-on-a-new-server-with-a-new-sid-name-using-hot-backup/</link>
		<comments>http://www.oraclefaq.net/2007/11/15/steps-to-clone-a-database-on-a-new-server-with-a-new-sid-name-using-hot-backup/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 08:24:51 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[oracle faq]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/11/15/steps-to-clone-a-database-on-a-new-server-with-a-new-sid-name-using-hot-backup/</guid>
		<description><![CDATA[1) To use hot backup and clone the database the production database has to be in archivelog mode. 2) Create a new init.ora from the production database’s init.ora file and make the required modifications like the location of bdump,udump, cdump,log_archive_dest_1,instance_name,db_name and also make sure the folders are physically present at the OS level(i.e create them). [...]]]></description>
			<content:encoded><![CDATA[<p>1) To use hot backup and clone the database the<br />
production database has to be in archivelog mode.</p>
<p>2) Create a new init.ora from the production<br />
database’s init.ora file and make the required<br />
modifications like the location of bdump,udump,<br />
cdump,log_archive_dest_1,instance_name,db_name and<br />
also make sure the folders are physically present<br />
at the OS level(i.e create them).</p>
<p>3) On the target machine (i.e where the clone database has been created)<br />
we have to create a new service as well as the password file.</p>
<p>Commands for the same are:-<br />
C:oracleora92bin&gt;oradim -new -sid &lt;new SID&gt;<br />
C:oracleora92database&gt;orapwd file=PWD&lt;new_sid&gt;.ora password=sys</p>
<p>4) Now on your production database fire the following command<br />
 to create a trace of the controlfile</p>
<p>SQL&gt;alter database backup controlfile to trace;</p>
<p>This will create a trace file in your udump folder<br />
 (kindly check the time to make sure it is the latest trace file).</p>
<p>5) Open the trace file which was created in step 4 and<br />
make the following modifications</p>
<p>a) Change the<br />
CREATE CONTROLFILE REUSE DATABASE “&lt;production database name&gt;” NORESETLOGS<br />
             TO<br />
CREATE CONTROLFILE SET DATABASE “&lt;new database name&gt;” RESETLOGS ARCHIVELOG</p>
<p>b) Change all directories in the create controlfile clause<br />
to point to the correct directories for the new target database, if necessary<br />
  <br />
c) Leave “only” the CREATE CONTROLFILE clause. The other statements,<br />
like the recover command, will be done manually.<br />
    <br />
Be sure you also remove the STARTUP NOMOUNT command.<br />
So remove all the other statements other then the script starting<br />
with CREATE CONTROLFILE &#8230;and ending with CHARACTER SET WE8MSWIN1252;</p>
<p>After making the modifications save the changed script<br />
as a sql file (i.e for example like create_contol.sql)<br />
 and send it to the target machine.</p>
<p>6) Now on the produstion database<br />
we begin the hot backup procedure</p>
<p>To find out the datafile associated with each tablespace<br />
fire the following query</p>
<p>SQL&gt;select file_name,tablespace_name from dba_data_files;<br />
SQL&gt;alter tablespace &lt;tablespace_name&gt; begin backup;</p>
<p>Copy all the datafiles associated with this tablespace<br />
to the required location as specified in the CREATE CONTROLFILE script.<br />
After copying is over fire the following command to end the backup</p>
<p>SQL&gt;alter tablespace &lt;tablespace_name&gt; end backup;<br />
Do this for all the tablespaces.</p>
<p>7) After all the datafiles have been copied and no more tablespace<br />
 is in backup mode fire the following query to archive the current logfile;</p>
<p>SQL&gt;alter system archive log current;</p>
<p>These were the steps to be performed on the production database<br />
except for step 3 which needs to be performed on the target machine.</p>
<p>The following steps needs to be performed on the target machine.<br />
 <img src='http://www.oraclefaq.net/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> On the target machine log into SQL with the following commands</p>
<p>C:&gt;set oracle_sid=&lt;new_database_sid&gt;<br />
C:&gt;sqlplus<br />
and then enter the username and password.</p>
<p>9) Ater logging into the sql prompt startup the database in nomount phase<br />
with the modified init file.</p>
<p>SQL&gt;startup nomount pfile=&lt;location of the modified init file&gt;</p>
<p>10) After the instance is started then we have to run the script<br />
to create the controlfile.</p>
<p>SQL&gt;@&lt;location of the create controlfile sql script&gt;</p>
<p>11) After the command has been executed successfully and<br />
the controlfile is created then we have to recover the database<br />
using the following command.</p>
<p>SQL&gt;recover database until cancel using backup controlfile;</p>
<p>It will ask for the archives which were generated in the production database<br />
during the hot backup and till the latest archive.Kindly copy those<br />
archives to the target machine at the loaction<br />
specified by the log_archive_dest_1 parameter in init file<br />
     .</p>
<p>12) After recovery is completed then open the database with resetlogs option.</p>
<p>SQL&gt;alter database open resetlogs;</p>
<p>Now after this command completed successfully your clone database is ready.<br />
                     <br />
        </p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/11/15/steps-to-clone-a-database-on-a-new-server-with-a-new-sid-name-using-hot-backup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Oracle Question &#8211; I</title>
		<link>http://www.oraclefaq.net/2007/11/14/oracle-question-i/</link>
		<comments>http://www.oraclefaq.net/2007/11/14/oracle-question-i/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 17:26:55 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[oracle faq]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/11/14/oracle-question-i/</guid>
		<description><![CDATA[11) What is the use of the large Pool? Large pool is mainly used to offload some burden of caching from shared pool. Large pool is a memory structure used during rman backup with multiple channel location. It is also used when DBWR I/O slaves are configured. Finally most importantly it is used to store UGA(user global area) when database is configured  in shared server configuration. Without large pool being configured all these information would be stored in shared pool thereby reducing the library hit ratio of shared pool and degrading the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>11) What is the use of the large Pool?</strong></p>
<p>Large pool is mainly used to offload some burden of caching</p>
<p>from shared pool.</p>
<p>Large pool is a memory structure used during rman backup</p>
<p>with multiple channel location.</p>
<p>It is also used when DBWR I/O slaves are configured.</p>
<p>Finally most importantly it is used to store UGA(user global area) when database is configured  in shared server configuration.</p>
<p>Without large pool being configured all these information would be stored in shared pool thereby</p>
<p>reducing the library hit ratio of shared pool and</p>
<p>degrading the performance</p>
<p><strong>1</strong><strong>2) What is the use of java pool?</strong></p>
<p>Java Pool is mainly used to load Java class and</p>
<p>libraries in oracle database</p>
<p><strong>13) What is Dedicated Server Configuration? </strong></p>
<p>In case of dedicated server configuration for each client which</p>
<p>tries to connect to the database</p>
<p>a user process is generated in the client machine and</p>
<p>when this client gets authenticated by the listener at the server,</p>
<p>the listener spawns a server process which fires the queries and fetches</p>
<p>the data from the database on behalf of the user process on the client.</p>
<p>Also this server process is dedicated to that particular client only and</p>
<p>serves only the request of that particular client</p>
<p>Hence such type of confirguration is called as</p>
<p>dedicated server process. The dedicated server configuration</p>
<p>requires more resources viz memory but provides better perfromance</p>
<p><strong>14) What is Shared Server Configuration ?</strong></p>
<p>In Shared Server  Configuration when the client tries</p>
<p>to connect to database a user process is spawned at</p>
<p>the client machine.This client is authenticated by the listener on the</p>
<p>database server and handed over to the dispatcher.</p>
<p>There are normally few dispatcher pre spawned when the instance is started dependinding on the dispatchers</p>
<p>parameter in init&lt;SID&gt;.ora</p>
<p>The Dispatcher places the request from client to the</p>
<p>common request queue placed in the sga.</p>
<p>The idle shared server which are also pre spawned</p>
<p>will pick the request from request queue service</p>
<p>the request and place it in the response queue</p>
<p>which is dedicated to each dispatcher.</p>
<p>The Shared server configuration requires less resources</p>
<p>like memory scarely and is the</p>
<p>favourite configuration for internet application</p>
<p>where large users connect to database</p>
<p><strong>15) Where is the Session Information stored in case of dedicated server configuration?</strong></p>
<p>In case of the Dedicated server Configuration the session</p>
<p>information is stored in PGA.For each session which is established</p>
<p>a dedicated server process is spawned. And for each dedicated server process a memory structure called as PGA</p>
<p>(Program Global Area) is</p>
<p>allocated. This PGA memory is used to store bind variable information,</p>
<p>cursors and session information for that particular session.</p>
<p><strong>16)  Where is the Session Information stored in Shared Server Configuration?</strong></p>
<p>In case of the Shared server Configuration the session information</p>
<p>is stored in Shared pool.</p>
<p>Because in shared server confirguration all the session are not linked</p>
<p>to same shared server during the entire period of the session.</p>
<p><strong> 17) Where is Shared Server Configuration used in Oracle Database?</strong></p>
<p>The Shared Server is used in internet application</p>
<p>where large users connect to database.</p>
<p>It is also used in application where <strong>not</strong> all the users connect or</p>
<p>hit the database simultaneously</p>
<p>Shared server Confirguration is based on the concept that between</p>
<p>two consequent queries fired by a particular session on the database</p>
<p>there is a idle time for server process and this idle time is</p>
<p>used to serve request from other clients.</p>
<p><strong>18) Which process starts the shared server process dynamically?</strong></p>
<p>In shared server confirguration initially shared servers</p>
<p>specified by shared_server parameter in init&lt;SID&gt;.ora is started at instance startup.</p>
<p>But as the load on the shared server process</p>
<p>increases background process PMON starts the shared server process dynamically .</p>
<p><strong>19) What is the maximum of number of shared servers which can be started by PMON?</strong></p>
<p>The max number shared server processes which can be started by PMON is decided by</p>
<p>max_shared_servers parameter in init.ora</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/11/14/oracle-question-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Questions</title>
		<link>http://www.oraclefaq.net/2007/11/12/oracle-questions/</link>
		<comments>http://www.oraclefaq.net/2007/11/12/oracle-questions/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 18:00:17 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[oracle faq]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/11/12/oracle-questions/</guid>
		<description><![CDATA[ 1) What is the default location for init&#60;SID&#62;.ora file or spfile&#60;SID&#62;.ora for a database? The default location for the spfile or init file of the database is in %ORACLE_HOME%/database folder in Windows and $ORACLE_HOME/dbs directory in case of Unix systems. 2) what is the use of oracle inventory? Oracle inventory stores the information of all the Oracle products installed in the system. The OUI(Oracle Universal Installer) uses this oraInventory to determine all the product versions which are installed in the system. 3) How to determine the location of Oracle Inventory on Unix systems? In Solaris system there exists a file called oraInst.loc in the location /var/opt/oracle/oratab. This file stores the information of the location of oraInventory. While in case of HP UX oraInst.loc is located in /etc/oratab directory which gives the location of oraInventory. 4)  What is an Oracle Server? Oracle Server consists of Oracle Instance and Oracle Database. 5) What is an Oracle Instance? An Oracle Instance consists of Memory structures (SGA/PGA) and background processes. The Memory structure include sga nd pga. SGA consists of shared pool,db buffer cache,log buffer and optionally large pool and java pool PGA is used to store bind variable,cursor,sort variables There 5 mandatory background processes viz PMON,SMON,DBWR,LGWR,CKPT and other background process also constitute the oracle [...]]]></description>
			<content:encoded><![CDATA[<p> <strong>1) What is the default location for init&lt;SID&gt;.ora file or spfile&lt;SID&gt;.ora for a database?</strong></p>
<p>The default location for the spfile or init file of the database is in</p>
<p>%ORACLE_HOME%/database folder in Windows and</p>
<p>$ORACLE_HOME/dbs directory in case of Unix systems.</p>
<p><strong>2) what is the use of oracle inventory?</strong></p>
<p>Oracle inventory stores the information of all the</p>
<p>Oracle products installed in the system.</p>
<p>The OUI(Oracle Universal Installer) uses this oraInventory to</p>
<p>determine all the product versions which are installed in the system.</p>
<p><strong>3) How to determine the location of Oracle Inventory on Unix systems?</strong></p>
<p>In Solaris system there exists a file called oraInst.loc in the location</p>
<p>/var/opt/oracle/oratab. This file stores the information of the location of oraInventory.</p>
<p>While in case of HP UX oraInst.loc is located in</p>
<p>/etc/oratab directory which gives the location of oraInventory.</p>
<p><strong>4)  What is an Oracle Server?</strong></p>
<p>Oracle Server consists of Oracle Instance and Oracle Database.</p>
<p><strong>5) What is an Oracle Instance?</strong></p>
<p>An Oracle Instance consists of Memory structures</p>
<p>(SGA/PGA) and background processes.</p>
<p>The Memory structure include sga nd pga.</p>
<p>SGA consists of shared pool,db buffer cache,log buffer</p>
<p>and optionally large pool and java pool</p>
<p>PGA is used to store bind variable,cursor,sort variables</p>
<p>There 5 mandatory background processes viz PMON,SMON,DBWR,LGWR,CKPT</p>
<p>and other background process also constitute the oracle instance like ARCH,RECO</p>
<p><strong>6) What is the use of shared pool?</strong></p>
<p>Shared pool is used to cache recently used sql statements so as to reduce the overall  response time of the sql query if they are executed consequently by the same of diffrent user. Shared pool consists of library cache,row cache and uga(in case of shared server configuration).Shared pool is flushed using LRU algorithm</p>
<p><strong>7) What is use of libarary cache?</strong></p>
<p>It is used to cache execution plan of the recently executed sql queries</p>
<p>so that subsequent execution of the same queries can be faster</p>
<p><strong>8) what is the use of row cache?</strong></p>
<p>It is use to cache the data dictionary information stored into system tablespace.</p>
<p><strong> 9)What is the use of the DB Buffer Cache?</strong></p>
<p>The DB Buffer cache is used to cache most recently accessed data.</p>
<p>The tables,indexes which stores the data in the datafiles in oracle database.Caching the data in the SGA make the execution of the query faster and reduces the response time.</p>
<p>DB buffer cache is also based on LRU algorithm.</p>
<p><strong>10) What is the use of log buffer?</strong></p>
<p>Log buffer is used to store  redo information generated while manipulating the data in the</p>
<p>oracle database.Redo information is used for recovery. The redo information is flushed from</p>
<p>log buffer to online redo log files of the Oracle Database in the circular fashion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/11/12/oracle-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ora-23421 job number 1 is not a job in job queue</title>
		<link>http://www.oraclefaq.net/2007/11/05/ora-23421-job-number-1-is-not-a-job-in-job-queue/</link>
		<comments>http://www.oraclefaq.net/2007/11/05/ora-23421-job-number-1-is-not-a-job-in-job-queue/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 16:40:31 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[ORA-ERROR]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/11/05/ora-23421-job-number-1-is-not-a-job-in-job-queue/</guid>
		<description><![CDATA[Hi All, Today we encountered a strange error i.e ora-23421  when trying to remove a job from the job queue. When we try to query the job in dba_jobs queue we found the job with job#=1 to be present also when the job was running when we queried dba_job_running we found job with job#=1 But when we try to remove the job using dbms_job package we got the above error ora-23421. SQL&#62; conn sys as sysdba SQL&#62; exec dbms_job.remove(1); ora-23421 job number 1 is not a job in job queue All the above activities were carried out by logging as sysdba user. In other words we tried to remove the job which was was created and scheduled by some other user with sysdba user and as a result we got the above error. Later on we queried priv_user column of the dba_jobs view for that job and logged into the database with that user and removed the job with the same dbms_job package and the job was removed succesfully.]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>Today we encountered a strange error i.e ora-23421  when trying</p>
<p>to remove a job from the job queue.</p>
<p>When we try to query the job in dba_jobs queue we found the job with job#=1</p>
<p>to be present</p>
<p>also when the job was running when we queried dba_job_running we found job</p>
<p>with job#=1</p>
<p>But when we try to remove the job using dbms_job package we got the above</p>
<p>error ora-23421.</p>
<p>SQL&gt; conn sys as sysdba</p>
<p>SQL&gt; exec dbms_job.remove(1);</p>
<p>ora-23421 job number 1 is not a job in job queue</p>
<p>All the above activities were carried out by logging as sysdba user.</p>
<p>In other words we tried to remove the job which was was created and scheduled</p>
<p>by some other user with sysdba user and as a result we got the above error.</p>
<p>Later on we queried priv_user column of the dba_jobs view for that job and</p>
<p>logged into the database with that user and removed the job with the same</p>
<p>dbms_job package</p>
<p>and the job was removed succesfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/11/05/ora-23421-job-number-1-is-not-a-job-in-job-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SP2-0734: unknown command beginning “catupgrd.s…” &#8211; rest of line ignored</title>
		<link>http://www.oraclefaq.net/2007/10/25/sp2-0734-unknown-command-beginning-catupgrds-rest-of-line-ignored/</link>
		<comments>http://www.oraclefaq.net/2007/10/25/sp2-0734-unknown-command-beginning-catupgrds-rest-of-line-ignored/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 09:40:45 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[ORA-ERROR]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/10/25/sp2-0734-unknown-command-beginning-%e2%80%9ccatupgrds%e2%80%a6%e2%80%9d-rest-of-line-ignored/</guid>
		<description><![CDATA[Hi All, Today while performing manual migration of the database to 10gr2 we encountered the following error while trying to run catupgrd.sql script as shown below SQL&#62; spool upgrade.log SQL&#62; @catupgrd.sql SP2-0734: unknown command beginning “catupgrd.s…” &#8211; rest of line ignored Later on we discovered that error was due to OS which was unix and following [...]]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>Today while performing manual migration of the database to 10gr2 we encountered the following error while trying to run catupgrd.sql script as shown below</p>
<p>SQL&gt; spool upgrade.log<br />
SQL&gt; @catupgrd.sql<br />
SP2-0734: unknown command beginning “catupgrd.s…” &#8211; rest of line ignored</p>
<p>Later on we discovered that error was due to OS which was unix and following line needs to be added to the .profile of the oracle to solve the problem</p>
<p>   if [ “$TERM” = “” ]<br />
        then<br />
                eval ` tset -s -Q -m ‘:?hp’ `<br />
        else<br />
                eval ` tset -s -Q `<br />
        fi<br />
        stty erase “^H” kill “^U” intr “^C” eof “^D”<br />
        stty hupcl ixon ixoff<br />
        tabs</p>
<p>Alternatively we could solve the problem by typing the following command</p>
<p>$stty kill Ctrl-u</p>
<p>$sqlplus</p>
<p> SQL&gt; spool upgrade.log<br />
SQL&gt; @catupgrd.sql</p>
<p>The stty kill Ctrl-U solved the problem. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/10/25/sp2-0734-unknown-command-beginning-catupgrds-rest-of-line-ignored/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Oracle 9204 Installation hangs at 17% on linux x86-64bit on AmD 64bit</title>
		<link>http://www.oraclefaq.net/2007/10/23/oracle-9204-installation-hangs-at-17-on-linux-x86-64bit-on-amd-64bit/</link>
		<comments>http://www.oraclefaq.net/2007/10/23/oracle-9204-installation-hangs-at-17-on-linux-x86-64bit-on-amd-64bit/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 18:47:05 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[ORA-ERROR]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.oraclefaq.net/2007/10/23/oracle-9204-installation-hangs-at-17-on-linux-x86-64bit-on-amd-64bit/</guid>
		<description><![CDATA[Hi All, Today One of my collegue had gone to install Oracle 9.2.0.4 on linux x86-64bit on AMD 64 bit. But to his suprise the OUI hanged when copying a file naeet.o when the installation was only 17% over. Later if found that it was a bug with 9204 OUI on linux x86-64 on amd 64. So the workaround for that is to set an environment variable called LD_ASSUME_KERNEL to 2.4.21 before running the runInstaller script. $LD_ASSUME_KERNEL = 2.4.21 $export LD_ASSUME_KERNEL $./runInstaller After setting the above variable the installation went through but it started giving make file errors during relinking. So to solve that problem we opened a new terminel where environment variable LD_ASSUME_KERNEL was not set and we tried to relink the oracle binaries as shown $echo $LD_ASSUME_KERNEL $cd $ORACLE_HOME/bin $relink all and there was no error found when manually relinking the oracle binaries and the installation went through sucessfully. Later when we applied the 9207 patch we followed the same above procedure and 9207 patch was also applied sucessfully. Also it is advisable to check all the pre requistes as given in metalink Docs. Alternatively the above error can also be solved by invoking the OUI of 9206 and using the product.jar of 9204 to install 9204.]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>Today One of my collegue had gone to install Oracle 9.2.0.4 on linux x86-64bit on AMD 64 bit. But to his suprise the OUI hanged when copying a file naeet.o</p>
<p>when the installation was only 17% over. Later if found that it was a bug with 9204 OUI on linux x86-64 on amd 64.</p>
<p>So the workaround for that is to set an environment variable called</p>
<p>LD_ASSUME_KERNEL to 2.4.21 before running the runInstaller script.</p>
<p>$LD_ASSUME_KERNEL = 2.4.21</p>
<p>$export LD_ASSUME_KERNEL</p>
<p>$./runInstaller</p>
<p>After setting the above variable the installation went through but it started</p>
<p>giving make file errors during relinking.</p>
<p>So to solve that problem we opened a new terminel where environment variable</p>
<p>LD_ASSUME_KERNEL was not set and</p>
<p>we tried to relink the oracle binaries as shown</p>
<p>$echo $LD_ASSUME_KERNEL</p>
<p>$cd $ORACLE_HOME/bin</p>
<p>$relink all</p>
<p>and there was no error found when manually relinking the oracle binaries and</p>
<p>the installation went through sucessfully.</p>
<p>Later when we applied the 9207 patch we followed the same above procedure</p>
<p>and 9207 patch was also applied sucessfully.</p>
<p>Also it is advisable to check all the pre requistes as given in metalink Docs.</p>
<p>Alternatively the above error can also be solved by invoking the OUI of 9206</p>
<p>and using the product.jar of 9204 to install 9204.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oraclefaq.net/2007/10/23/oracle-9204-installation-hangs-at-17-on-linux-x86-64bit-on-amd-64bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

