<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-37416821</atom:id><lastBuildDate>Sat, 14 Feb 2026 08:53:11 +0000</lastBuildDate><category>New Thing What I learn EVERY DAY</category><category>Oracle Apps DBA</category><category>BUG</category><category>Database Reference</category><category>EMCA</category><category>Oracle Error</category><category>Oracle on LINUX</category><category>Oracle 11gr2</category><category>Performance</category><category>Frequently Ask Questions</category><category>Oracle DBA</category><category>Oracle Net Configuration</category><category>Oracle 11gr1</category><category>CERTIFICATION</category><category>Practical RMAN</category><category>Business Intelligence</category><category>Oracle 10gr2</category><category>Oracle on Windows</category><category>PATCH</category><category>Metalink Note</category><category>Oracle Flashback Technology</category><category>RMAN Oracle 10.1.0.2.0</category><category>EXP</category><category>Security</category><category>UPGRADE</category><category>User Managed Backup</category><category>Off Topic</category><category>STANDBY DATABASE</category><category>Tablespaces</category><category>Backup Scripts</category><category>New Features 11G</category><category>Authentication</category><category>New Features</category><category>New Features Oracle 10.1.0.2.0</category><category>Oracle Streams</category><category>expdp</category><category>ASM (Automatic Storage Mgmt)</category><category>DBNEWID</category><category>Data Guard</category><category>IMP</category><category>Table</category><category>ARCHIVE LOG backup/recovery Many Options</category><category>Backup and Recovery Overview</category><category>DBMS_STATS</category><category>Database Creation</category><category>Flash_Recovery_Area</category><category>LogMinar</category><category>NO ARCHIVE LOG BAC/REC Many Options</category><category>Oracle 9ir2</category><category>Oracle on UNIX</category><category>Window Error</category><category>Audit Database</category><category>Blog Stats</category><category>Flashback Feature</category><category>Fragmentation</category><category>Globalization Support</category><category>Materialized View</category><category>New Features Oracle 10.2.0.1.0</category><category>PL/SQL</category><category>RMAN 10.2.0.1.0</category><category>STATSPACK</category><category>AWR Report</category><category>Advance Replication</category><category>DBMS_JOB</category><category>Express Edition Oracle</category><category>JAVA</category><category>SQL*Loader</category><category>Technical Question</category><category>UTL_SMTP</category><category>11.2.0.3.0</category><category>Block Change Tracking</category><category>CHANGE_SCHEMA_NAME</category><category>Compile</category><category>DBMS_LOB</category><category>DBMS_PROFILER</category><category>DBVERIFY</category><category>Latches</category><category>ORA-00600</category><category>Oracle History</category><category>Oracle Product</category><category>Oracle SQLDeveloper</category><category>Oracle Workflow</category><category>Undo Tablespace</category><category>dbms_repair</category><category>impdp</category><category>utl_file</category><title>Oracle Newbie DBA / Apps DBA</title><description>&quot;Teach Oracle Learn Oracle&quot; -- Taj&#xa;Contact me for support at askdbataj@gmail.com&#xa;&#xa;This blog is dedicated to all ORACLE Professionals and Learning Students.</description><link>http://dbataj.blogspot.com/</link><managingEditor>noreply@blogger.com (Mohammed Taj)</managingEditor><generator>Blogger</generator><openSearch:totalResults>531</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-8272967012848449385</guid><pubDate>Fri, 07 Nov 2014 06:59:00 +0000</pubDate><atom:updated>2014-11-07T10:59:13.438+04:00</atom:updated><title></title><description>&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14.4444446563721px; font-weight: bold; text-align: right;&quot;&gt;What To Do If A Concurrent Request Is Inactive With No Manager Status?&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14.4444446563721px; font-weight: bold; text-align: right;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
APPLIES TO:&lt;/h2&gt;
&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Oracle Concurrent Processing - Version 11.5.10.0 to 12.2 [Release 11.5 to 12.2]&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Information in this document applies to any platform.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Checked for relevance on 18-FEB-2014&lt;/span&gt;&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;GOAL&quot;&gt;&lt;/a&gt;GOAL&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
What to do if a concurrent request is Inactive with No Manager status?&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;SOLUTION&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
A concurrent request has a life cycle consisting of the following phases: Pending, Running, and Completed. During each phase, a request has a specific status. Listed below are the possible status for each phase:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;li&gt;Pending Phase - Normal, Standby, Scheduled, Waiting&lt;/li&gt;
&lt;li&gt;Running Phase - Normal, Paused, Resuming, Terminating&lt;/li&gt;
&lt;li&gt;Completed Phase - Normal, Error, Warning, Cancelled, Terminated&lt;/li&gt;
&lt;li&gt;Inactive Phase - Disabled, On Hold, No Manager&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
If a concurrent request is on hold or unable to run when there are no active manager processes that can run the request, the request is placed in an Inactive phase.&lt;br /&gt;&lt;br /&gt;Review the following points when the concurrent request is in Inactive phase with No Manager status.&lt;br /&gt;&lt;br /&gt;1. Verify that Internal Concurrent Manager(ICM) is up and running. Use any one navigation mentioned below to check the status details of Internal Manager.&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
i. Oracle Applications Manager(OAM) &amp;gt; Site Map &amp;gt; Monitoring &amp;gt; Availability &amp;gt; Internal Concurrent Manager &amp;gt; View Status.&lt;br /&gt;
&lt;blockquote dir=&quot;ltr&quot; style=&quot;margin-right: 0px;&quot;&gt;
OR&lt;/blockquote&gt;
ii. System Administrator Responsibility &amp;gt; Concurrent &amp;gt; Manager &amp;gt; Administer&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
2. Verify that there is at least one active concurrent manager with/without specialization rules that allow the concurrent program to run.&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
i. Run the following query to check whether any specialization rule defined for any concurrent manager that includes/excludes the concurrent program in question. Query returns &#39;no rows selected&#39; when there are no Include/Exclude specialization rules of&amp;nbsp;Program type for the given concurrent program.&lt;br /&gt;
&lt;div class=&quot;kmcodeblock&quot; style=&quot;background-color: #e0eaf1; border: 1px solid rgb(196, 209, 230); font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12.222222328186px; margin: 5px 0px 0px; overflow: auto; padding: 0.5em; width: 710.381958007813px;&quot;&gt;
select &#39;Concurrent program &#39;||fcp.concurrent_program_name||&#39; is &#39; ||decode(fcqc.include_flag,&#39;I&#39;,&#39;included in &#39;,&#39;E&#39;,&#39;excluded from &#39;)||fcqv.user_concurrent_queue_name specialization_rule_details from fnd_concurrent_queues_vl fcqv,fnd_concurrent_queue_content fcqc,fnd_concurrent_programs fcp where fcqv.concurrent_queue_id=fcqc.concurrent_queue_id and fcqc.type_id=fcp.concurrent_program_id and fcp.concurrent_program_name=&#39;&lt;program_short_name&gt;&#39;;&lt;br /&gt;&lt;br /&gt;Note: Program Short Name is visible when the program is queried in concurrent program definition form.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;SQL&amp;gt; select &#39;Concurrent program &#39;||fcp.concurrent_program_name||&#39; is &#39; ||decode(fcqc.include_flag,&#39;I&#39;,&#39;included in &#39;,&#39;E&#39;,&#39;excluded from &#39;)||fcqv.user_concurrent_queue_name specialization_rule_details from fnd_concurrent_queues_vl fcqv,fnd_concurrent_queue_content fcqc,fnd_concurrent_programs fcp where fcqv.concurrent_queue_id=fcqc.concurrent_queue_id and fcqc.type_id=fcp.concurrent_program_id and fcp.concurrent_program_name=&#39;OKCRAQE&#39;;&lt;br /&gt;&lt;br /&gt;SPECIALIZATION_RULE_DETAILS&lt;br /&gt;-----------------------------------------------------------------------------&lt;br /&gt;Concurrent program OKCRAQE is included in Contracts Core Concurrent Manager&lt;br /&gt;Concurrent program OKCRAQE is excluded from Standard Manager&amp;nbsp;&lt;/program_short_name&gt;&lt;/div&gt;
From the sample output above, it shows that the OKCRAQE(Listener for Events Queue) concurrent program has been excluded from the Standard Manager and included in Contracts Core Concurrent Manager. That means the concurrent request OKCRAQE can be run only by the Contracts Core Concurrent Manager which should be up and running to run and complete the OKCRAQE concurrent request.&lt;br /&gt;
Make sure that Concurrent Manager whose specialization rule includes the concurrent program is up and running.&lt;br /&gt;
ii. Ensure that standard concurrent manager is up and running.&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
Follow the below step only when you have confirmed the previous points and the issue is still remaining as there may be an issue with concurrent request queue view.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
3. Manually re-create the concurrent request queue view for concurrent managers by entering the following command as an applmgr user at operating system prompt.&lt;/div&gt;
&lt;div class=&quot;kmcodeblock&quot; style=&quot;background-color: #e0eaf1; border: 1px solid rgb(196, 209, 230); font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12.222222328186px; margin: 5px 0px 0px; overflow: auto; padding: 0.5em; width: 786.388916015625px;&quot;&gt;
&lt;strong&gt;FNDLIBR FND FNDCPBWV apps/&lt;pwd&gt; SYSADMIN &#39;System Administrator&#39; SYSADMIN&lt;/pwd&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;Successful completion of the above command shows the message &quot;View created successfully&quot; in the generated log file.&lt;/div&gt;
&lt;div class=&quot;kmnotebox&quot; style=&quot;background-color: #fff9d7; border: 1px solid rgb(193, 169, 13); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small; padding: 10px;&quot;&gt;
The concurrent request queue view is used internally to map requests to managers. This view would be regenerated when concurrent managers are created, or specialization rules are altered.&lt;/div&gt;
&lt;/div&gt;
</description><link>http://dbataj.blogspot.com/2014/11/what-to-do-if-concurrent-request-is.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-6175448549895168000</guid><pubDate>Fri, 07 Nov 2014 06:05:00 +0000</pubDate><atom:updated>2014-11-07T10:05:31.144+04:00</atom:updated><title></title><description>&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14.4444446563721px; font-weight: bold; text-align: right;&quot;&gt;Receivables Activity Error: Please Define A Party Tax Profile For Operating Unit &amp;amp; ORG_ID&amp;nbsp;&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
APPLIES TO:&lt;/h2&gt;
&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Oracle Receivables - Version 12.0.0 and later&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Information in this document applies to any platform.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;ARXSUMRT.fmb&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;SYMPTOM&quot;&gt;&lt;/a&gt;SYMPTOMS&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;li&gt;Attempting to navigate to the Receivables Activities form to complete the setup and receive the following error:&lt;strong&gt;&lt;br /&gt;Responsibility:&lt;/strong&gt;&amp;nbsp;Receivables Manager&lt;strong&gt;&lt;br /&gt;Navigation:&lt;/strong&gt;&amp;nbsp;Setup &amp;gt; Receivables &amp;gt; Receivable Activities&lt;span class=&quot;kmfixedwidthfont&quot; sizcache=&quot;7&quot; sizset=&quot;3&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;br /&gt;Error: Please define a party tax profile for operating unit &amp;amp;ORG_ID&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;No record in ZX_PARTY_TAX_PROFILE&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;CAUSE&quot;&gt;&lt;/a&gt;CAUSE&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
The Operating Unit owning Tax Content Profile was incorrectly setup&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://support.oracle.com/epmos/faces/BugDisplay?parent=DOCUMENT&amp;amp;sourceId=419019.1&amp;amp;id=5899659&quot;&gt;BUG 5899659&lt;/a&gt;&amp;nbsp;RECEIVABLES ACTIVITY ERROR PLEASE DEFINE PARTY TAX PROFILE FOR &amp;amp;ORGID&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;SOLUTION&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
To implement the solution, please execute the following steps:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Responsibility:&lt;/strong&gt;&amp;nbsp;Tax Managers&lt;br /&gt;&lt;strong&gt;Navigation:&lt;/strong&gt;&amp;nbsp; Parties &amp;gt; Party Tax &amp;gt; Profiles&lt;/div&gt;
&lt;ol style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;li&gt;Query:&lt;br /&gt;Party Type: Operating Unit Owning Tax Content&lt;br /&gt;Party Name: Populate your Operating Unit Name&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Click on&amp;nbsp;&lt;em&gt;GO&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Click on&amp;nbsp;&lt;em&gt;Create Tax Profile&lt;/em&gt;&amp;nbsp;and then&lt;/li&gt;
&lt;li&gt;Click only&amp;nbsp;&lt;em&gt;Apply&lt;/em&gt;&amp;nbsp;button without doing anything&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
You should have a result to this query.&lt;br /&gt;If you do not, make sure you create a Party Tax Profile for your operating Unit of the Type: First Party Legal Entity.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
Verify the each component of location address associated with your organization is valid&lt;/div&gt;
&lt;/div&gt;
</description><link>http://dbataj.blogspot.com/2014/11/receivables-activity-error-please.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-2953220912268622803</guid><pubDate>Thu, 30 Oct 2014 14:20:00 +0000</pubDate><atom:updated>2014-10-30T18:20:55.847+04:00</atom:updated><title>Restarting dead background process QMNC recorded in the alert.log file</title><description>&lt;div id=&quot;kmPgTpl:r1:0:psl1::t&quot; style=&quot;color: #333333; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 11.1111116409302px; overflow: hidden; position: relative; width: 1097.77783203125px;&quot;&gt;
&lt;div class=&quot;x1a&quot; id=&quot;kmPgTpl:r1:0:pgl14&quot;&gt;
&lt;div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; id=&quot;kmPgTpl:r1:0:tl5&quot; style=&quot;width: 100%px;&quot; summary=&quot;&quot;&gt;&lt;tbody&gt;
&lt;tr id=&quot;kmPgTpl:r1:0:rl12&quot;&gt;&lt;td align=&quot;left&quot; id=&quot;kmPgTpl:r1:0:cf49&quot;&gt;&lt;span class=&quot;xq&quot; id=&quot;kmPgTpl:r1:0:ol22&quot; style=&quot;font-size: 14.4444446563721px; font-weight: bold; padding: 0px 6px 0px 0px; text-align: right;&quot;&gt;&lt;label&gt;Repeated : Restarting dead background process QMNC recorded in the alert.log file (Doc ID 395137.1)&lt;/label&gt;&lt;/span&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; id=&quot;kmPgTpl:r1:0:cf48&quot;&gt;&lt;a class=&quot;xfd&quot; href=&quot;https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=466782760622775&amp;amp;parent=DOCUMENT&amp;amp;sourceId=839527.1&amp;amp;id=395137.1&amp;amp;_afrWindowMode=0&amp;amp;_adf.ctrl-state=whf4j7nuz_347#&quot; id=&quot;kmPgTpl:r1:0:toBottom&quot; style=&quot;font-size: 11px; text-decoration: none; white-space: nowrap;&quot; title=&quot;To Bottom&quot;&gt;&lt;img alt=&quot;To Bottom&quot; class=&quot;x137&quot; id=&quot;kmPgTpl:r1:0:toBottom::icon&quot; src=&quot;https://support.oracle.com/epmos/ui/images/quicklink_smlarrowdown_enabled.gif&quot; style=&quot;border: none; display: inline; vertical-align: middle;&quot; title=&quot;To Bottom&quot; /&gt;&lt;span class=&quot;x133&quot; style=&quot;color: #003286; margin-left: 3px;&quot;&gt;To Bottom&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td id=&quot;kmPgTpl:r1:0:cf50&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;10&quot; id=&quot;kmPgTpl:r1:0:s6&quot; src=&quot;https://support.oracle.com/epmos/adf/images/t.gif&quot; width=&quot;20&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;hr class=&quot;x1j&quot; id=&quot;kmPgTpl:r1:0:s4&quot; style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(173, 182, 199); border-top-style: solid; margin-bottom: 3px; margin-top: 3px;&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 11.1111116409302px; overflow: hidden;&quot;&gt;
&lt;div id=&quot;kmPgTpl:r1:0:psl1::c&quot; style=&quot;overflow: hidden;&quot;&gt;
&lt;div class=&quot;xpj x1a&quot; id=&quot;kmPgTpl:r1:0:kmDocPanel&quot; style=&quot;box-sizing: border-box; height: 969.305603027344px; margin-left: 0px; margin-right: 0px; overflow: auto; width: 1097.77783203125px;&quot;&gt;
&lt;div&gt;
&lt;img alt=&quot;&quot; height=&quot;5&quot; id=&quot;kmPgTpl:r1:0:s23&quot; src=&quot;https://support.oracle.com/epmos/adf/images/t.gif&quot; width=&quot;10&quot; /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; id=&quot;kmPgTpl:r1:0:tl7&quot; style=&quot;overflow: hidden; table-layout: fixed; width: 100%px;&quot; summary=&quot;&quot;&gt;&lt;tbody&gt;
&lt;tr id=&quot;kmPgTpl:r1:0:rl14&quot;&gt;&lt;td id=&quot;kmPgTpl:r1:0:cf54&quot; style=&quot;overflow: hidden; vertical-align: top;&quot;&gt;&lt;div class=&quot;x1a&quot; id=&quot;kmPgTpl:r1:0:pgl25&quot; style=&quot;overflow: auto;&quot;&gt;
&lt;span class=&quot;kmContent&quot; id=&quot;kmPgTpl:r1:ot71&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;In this Document&lt;/b&gt;&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;0&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=466782760622775&amp;amp;parent=DOCUMENT&amp;amp;sourceId=839527.1&amp;amp;id=395137.1&amp;amp;_afrWindowMode=0&amp;amp;_adf.ctrl-state=whf4j7nuz_347#SYMPTOM&quot;&gt;Symptoms&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;0&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=466782760622775&amp;amp;parent=DOCUMENT&amp;amp;sourceId=839527.1&amp;amp;id=395137.1&amp;amp;_afrWindowMode=0&amp;amp;_adf.ctrl-state=whf4j7nuz_347#CHANGE&quot;&gt;Changes&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;0&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=466782760622775&amp;amp;parent=DOCUMENT&amp;amp;sourceId=839527.1&amp;amp;id=395137.1&amp;amp;_afrWindowMode=0&amp;amp;_adf.ctrl-state=whf4j7nuz_347#CAUSE&quot;&gt;Cause&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;0&quot;&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=466782760622775&amp;amp;parent=DOCUMENT&amp;amp;sourceId=839527.1&amp;amp;id=395137.1&amp;amp;_afrWindowMode=0&amp;amp;_adf.ctrl-state=whf4j7nuz_347#FIX&quot;&gt;Solution&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;hr size=&quot;1&quot; /&gt;
&lt;br /&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
APPLIES TO:&lt;/h2&gt;
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]&lt;br /&gt;Information in this document applies to any platform.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;SYMPTOM&quot;&gt;&lt;/a&gt;SYMPTOMS&lt;/h2&gt;
The following messages are recorded in the alert log every 5 minutes&lt;br /&gt;&lt;br /&gt;Restarting dead background process QMNC&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;CHANGE&quot;&gt;&lt;/a&gt;CHANGES&lt;/h2&gt;
&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;CAUSE&quot;&gt;&lt;/a&gt;CAUSE&lt;/h2&gt;
1. database startup&amp;nbsp;:&lt;br /&gt;
The database&amp;nbsp;has not opened for an undetermined reason, i.e there is no statement:&lt;br /&gt;
Completed: ALTER DATABASE OPEN&lt;br /&gt;
recorded in the alert.log file.&lt;br /&gt;
2. database shutdown :&lt;br /&gt;
A process may be preventing the database from shutting down&lt;br /&gt;cleanly.&amp;nbsp;As a consequence, this may be causing the qmnc process problems.&lt;br /&gt;
&lt;br /&gt;
&lt;div id=&quot;refHTML&quot;&gt;
&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;SOLUTION&lt;/h2&gt;
This is expected behaviour.&lt;br /&gt;&lt;br /&gt;The reason&amp;nbsp;why the database has not opened or shutdown should be investigated.&lt;br /&gt;
These messages are a symptom of the problem and not the underlying cause.&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2014/10/restarting-dead-background-process-qmnc.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-250701697562769674</guid><pubDate>Tue, 28 Oct 2014 15:03:00 +0000</pubDate><atom:updated>2014-10-28T19:03:35.424+04:00</atom:updated><title></title><description>&lt;h3 style=&quot;background: rgb(255, 255, 255); border: 0px; color: #73656b; font-family: &#39;Droid Sans&#39;, sans-serif; font-size: 2em; line-height: 1.5; margin: 10px 0px 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
R12 CE: Unable to view Legal Entities LoV’s in the bank account definition page&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #73656b; font-family: arial, helvetica, sans; font-size: 1.3em; line-height: 1.54em; margin-bottom: 15px; margin-right: 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If&amp;nbsp;you are experiencing difficulties in seeing&amp;nbsp;all your required Legal Entities as&amp;nbsp;a List of Values (LoV) within the bank account definition form in Oracle Cash Management, following these simple steps will rectify the issue and unlock the LoV. This process will also explain how to&amp;nbsp;grant permissions to a specific role or responsibility based on bank account use and maintenance.&lt;/div&gt;
&lt;ol style=&quot;background: rgb(255, 255, 255); border: 0px; color: #73656b; font-family: arial, helvetica, sans; font-size: 1.3em; line-height: 1.6em; list-style-image: none; list-style-position: outside; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Login to Oracle Applications as sysadmin&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Select the User Management Responsibility&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Select the navigation path of ‘Roles and Role Inheritance’&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Within the field ‘&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Type&lt;/strong&gt;‘, select Roles and Responsibilities&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Following step 4,&amp;nbsp;a new field appears called&amp;nbsp;’&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Category&lt;/strong&gt;‘, select ‘&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Miscellaneous’&lt;/strong&gt;&amp;nbsp;as the value&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Within the ‘&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Application&lt;/strong&gt;‘ field, select ‘&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Cash Management&lt;/strong&gt;‘.&amp;nbsp;&lt;em style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note: Add the name of the role or responsibility if known&lt;/em&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Click Go&lt;br /&gt;&lt;img alt=&quot;User Mgt Search&quot; class=&quot;alignnone size-large wp-image-1711&quot; height=&quot;288&quot; src=&quot;http://www.project.eu.com/media/User-Mgt-Search-342x288.png&quot; style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;User-Mgt-Search&quot; width=&quot;342&quot; /&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Search for the role or responsibility that you intend to use to create bank accounts.&amp;nbsp;&lt;em style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note: The&amp;nbsp;permissions you assign during the rest of this procedure will&amp;nbsp;be&amp;nbsp;aligned to the choice you make here.&lt;/em&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Click on the update icon against the desired role or responsibility&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;A new window (update Role)&amp;nbsp;will be displayed. Click the ‘&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Security Wizards&lt;/strong&gt;‘ button&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Click Save and Proceed (if requested)&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Click the ‘&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Run Wizard&lt;/strong&gt;‘ icon against ‘&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;CE UMX Security&lt;/strong&gt;‘ row&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Bank Account Security Management Window&lt;/strong&gt;: In this window you can&amp;nbsp;add all&amp;nbsp;legal entities to which you&amp;nbsp;wish to grant access and assign&amp;nbsp;permissions based on the selected role or responsibility. Click the ‘&lt;strong style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Add Legal Entities&lt;/strong&gt;‘ button and select any required legal entities that are not already listed.&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Choose each&amp;nbsp;permission that you wish to assign to the Legal Entity for the role or responsibility relating to&amp;nbsp;bank accounts and further use within the applications. Choices include Use, Maintenance and Bank account Transfers.&amp;nbsp;&lt;em style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note: Each permission is explained at the foot of this procedure.&lt;/em&gt;&lt;/li&gt;
&lt;li style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px 20px 0px 18px; outline: 0px; padding: 0px 0px 15px; vertical-align: baseline;&quot;&gt;Apply the changes and then verify in the Cash Management responsibility if you are now able to see the&amp;nbsp;Legal Entities in bank account creation form.&lt;br /&gt;&lt;a class=&quot;img fancybox&quot; href=&quot;http://www.project.eu.com/media/Grant-Access.png&quot; rel=&quot;gallery&quot; style=&quot;background: transparent; border: 0px; color: #ee1d26; cursor: pointer; display: inline; font-size: 1em; font-weight: 900; line-height: 1.5; margin: 0px 0px 30px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Bank Account: Grant Permissions&quot; class=&quot;alignnone size-large wp-image-1712&quot; height=&quot;141&quot; src=&quot;http://www.project.eu.com/media/Grant-Access-342x141.png&quot; style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot; title=&quot;Grant-Access&quot; width=&quot;342&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #73656b; font-family: arial, helvetica, sans; font-size: 1.3em; line-height: 1.54em; margin-bottom: 15px; margin-right: 20px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;background: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; text-decoration: underline; vertical-align: baseline;&quot;&gt;Bank Account Grants: Permissions&lt;/span&gt;Use:&lt;/strong&gt;&amp;nbsp;Allows the user to view the bank accounts for the selected legal entity in Cash Positioning, Cash Forecasting and Cash flows, as well as reconcile cash flows for the selected legal entity.&lt;br /&gt;&lt;strong style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Bank Account Transfer:&lt;/strong&gt;&amp;nbsp;Allows the user to transfer funds from and to the bank accounts for the selected legal entity.&lt;br /&gt;&lt;strong style=&quot;background: transparent; border: 0px; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Maintenance:&lt;/strong&gt;&amp;nbsp;Allows the user to create and update bank accounts for the selected legal entity.&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2014/10/r12-ce-unable-to-view-legal-entities.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-7087140013286343037</guid><pubDate>Tue, 28 Oct 2014 14:25:00 +0000</pubDate><atom:updated>2014-10-28T18:25:31.728+04:00</atom:updated><title></title><description>&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14.4444446563721px; font-weight: bold; text-align: right;&quot;&gt;How to Prevent EXP-79 or EXP-80 Warnings (Data In Table Is Protected) During Export (Doc ID 277606.1)&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14.4444446563721px; font-weight: bold; text-align: right;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
APPLIES TO:&lt;/h2&gt;
&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Enterprise Manager for Oracle Database - Version 8.1.7.4 and later&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Oracle Database - Enterprise Edition - Version 8.1.7.0 to 11.2.0.4 [Release 8.1.7 to 11.2]&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Information in this document applies to any platform.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;***Checked for relevance on 21-Oct-2013***&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;GOAL&quot;&gt;&lt;/a&gt;GOAL&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
The information in this article applies to:&lt;br /&gt;&lt;br /&gt;Enterprise Manager for RDBMS - Version: 2.1 to 11g&lt;br /&gt;Oracle Server - Enterprise Edition - Version: 8.1.7.0 and higher&lt;br /&gt;&lt;br /&gt;Errors:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;li&gt;EXP-79&lt;/li&gt;
&lt;li&gt;EXP-80&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
When exporting data from an Oracle8i, Oracle9i or Oracle10g database you see the following warning in the export log file (note that the table name is probably different):&lt;/div&gt;
&lt;div class=&quot;kmnotebox&quot; style=&quot;background-color: #fff9d7; border: 1px solid rgb(193, 169, 13); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small; padding: 10px;&quot;&gt;
About to export specified tables via Conventional Path ...&lt;br /&gt;EXP-00079: Data in table &quot;TEST_TAB&quot; is protected. Conventional path may only be exporting partial table.&lt;br /&gt;. . exporting table TEST_TAB 1 rows exported&lt;br /&gt;Export terminated successfully with warnings.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
- OR -&lt;/div&gt;
&lt;div class=&quot;kmnotebox&quot; style=&quot;background-color: #fff9d7; border: 1px solid rgb(193, 169, 13); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small; padding: 10px;&quot;&gt;
About to export specified tables via Direct Path ...&lt;br /&gt;EXP-00080: Data in table &quot;TEST_TAB&quot; is protected. Using conventional mode.&lt;br /&gt;EXP-00079: Data in table &quot;TEST_TAB&quot; is protected. Conventional path may only be exporting partial table.&lt;br /&gt;. . exporting table TEST_TAB 1 rows exported&lt;br /&gt;Export terminated successfully with warnings.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;This document describes:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;li&gt;How to ensure that all table data has been exported&lt;/li&gt;
&lt;li&gt;How to prevent these warnings during export.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: #777773; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 16.6666679382324px; padding-bottom: 6px; padding-left: 8px; padding-top: 6px; text-transform: uppercase;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;SOLUTION&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
The warning is given because the table has a so called fine-grained access control policy (FGA) enabled. If fine-grained access control is enabled on a SELECT statement, then the Export may not export the entire table, because fine-grained access may rewrite the query.&lt;br /&gt;&lt;br /&gt;Example (very simplified):&lt;/div&gt;
&lt;div class=&quot;kmcodeblock&quot; style=&quot;background-color: #e0eaf1; border: 1px solid rgb(196, 209, 230); font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12.222222328186px; margin: 5px 0px 0px; overflow: auto; padding: 0.5em;&quot;&gt;
% sqlplus /nolog&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; CONNECT system/manager&lt;br /&gt;SQL&amp;gt; GRANT execute_catalog_role, create procedure TO scott;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; CONNECT scott/tiger&lt;br /&gt;SQL&amp;gt; CREATE TABLE test_tab (first NUMBER);&lt;br /&gt;SQL&amp;gt; INSERT INTO test_tab VALUES (1);&lt;br /&gt;SQL&amp;gt; INSERT INTO test_tab VALUES (2);&lt;br /&gt;SQL&amp;gt; COMMIT;&lt;br /&gt;SQL&amp;gt; SELECT COUNT(*) FROM test_tab;&lt;br /&gt;&lt;br /&gt;COUNT(*)&lt;br /&gt;----------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; CREATE OR REPLACE FUNCTION test_func (schema_in VARCHAR2,&lt;br /&gt;object_in VARCHAR2) RETURN VARCHAR2 IS&lt;br /&gt;BEGIN&lt;br /&gt;RETURN &#39;first = 1&#39;;&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;SQL&amp;gt; EXECUTE DBMS_RLS.ADD_POLICY (&#39;scott&#39;, &#39;test_tab&#39;, &#39;test_privs&#39;, -&lt;br /&gt;&#39;scott&#39;, &#39;test_func&#39;);&lt;br /&gt;&lt;br /&gt;A select from table TEST_TAB will shows only one row:&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; SELECT COUNT(*) FROM test_tab;&lt;br /&gt;&lt;br /&gt;COUNT(*)&lt;br /&gt;----------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;span class=&quot;awizEndDelimiter&quot;&gt;&lt;/span&gt;&lt;br /&gt;Similar, a conventional path export (DIRECT=N or parameter DIRECT has not been specified), will export one row only. In addition, the following warning is given during export:&lt;span class=&quot;awizStartDelimiter&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;kmnotebox&quot; style=&quot;background-color: #fff9d7; border: 1px solid rgb(193, 169, 13); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small; padding: 10px;&quot;&gt;
EXP-00079: Data in table &quot;TEST_TAB&quot; is protected. Conventional path may&lt;br /&gt;only be exporting partial table.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;How to ensure that all table data has been exported?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Only the user SYS (all versions) or any user who has the EXEMPT ACCESS POLICY applied (Oracle9i and higher), can select all rows. To verify that the table has an enabled FGA Control policy:&lt;/div&gt;
&lt;div class=&quot;kmcodeblock&quot; style=&quot;background-color: #e0eaf1; border: 1px solid rgb(196, 209, 230); font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12.222222328186px; margin: 5px 0px 0px; overflow: auto; padding: 0.5em;&quot;&gt;
SQL&amp;gt; CONNECT system/manager&lt;br /&gt;SQL&amp;gt; SELECT enable,sel,object_owner||&#39;.&#39;||object_name &quot;OBJECT_OWNER.NAME&quot;&lt;br /&gt;FROM dba_policies WHERE object_name=&#39;TEST_TAB&#39;;&lt;br /&gt;&lt;br /&gt;ENA SEL OBJECT_OWNER.NAME&lt;br /&gt;--- --- -----------------------&lt;br /&gt;YES YES SCOTT.TEST_TAB&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;To verify that all table data has been exported, the following options are available.&lt;br /&gt;&lt;br /&gt;1. Connect AS SYSDBA and check the number of rows in the table.&lt;/div&gt;
&lt;div class=&quot;kmcodeblock&quot; style=&quot;background-color: #e0eaf1; border: 1px solid rgb(196, 209, 230); font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12.222222328186px; margin: 5px 0px 0px; overflow: auto; padding: 0.5em;&quot;&gt;
SQL&amp;gt; CONNECT / AS SYSDBA&lt;br /&gt;SQL&amp;gt; SELECT COUNT(*) FROM scott.test_tab;&lt;br /&gt;&lt;br /&gt;COUNT(*)&lt;br /&gt;----------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
Compare this number with the number of exported rows in the export logfile. If different, not all rows have been exported due to the enabled FGA control policy. See below how to resolve this.&lt;br /&gt;&lt;br /&gt;Or in Oracle9i and above:&lt;br /&gt;&lt;br /&gt;2. Connect as a user who has the EXEMPT ACCESS POLICY privilege and check the number of rows in the table.&lt;/div&gt;
&lt;div class=&quot;kmcodeblock&quot; style=&quot;background-color: #e0eaf1; border: 1px solid rgb(196, 209, 230); font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12.222222328186px; margin: 5px 0px 0px; overflow: auto; padding: 0.5em;&quot;&gt;
SQL&amp;gt; CONNECT system/manager&lt;br /&gt;SQL&amp;gt; GRANT exempt access policy TO system;&lt;br /&gt;SQL&amp;gt; SELECT COUNT(*) FROM scott.test_tab;&lt;br /&gt;&lt;br /&gt;COUNT(*)&lt;br /&gt;----------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
Compare this number with the number of exported rows in the export logfile. If different, not all rows have been exported due to the enabled FGA control policy. See below how to resolve this.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;How to prevent the EXP-79 and EXP-80 warnings during an export?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Run a DIRECT path export (Oracle8i and above), while connected as a user who has the EXP_FULL_DATABASE role. Example:&lt;/div&gt;
&lt;div class=&quot;kmcodeblock&quot; style=&quot;background-color: #e0eaf1; border: 1px solid rgb(196, 209, 230); font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12.222222328186px; margin: 5px 0px 0px; overflow: auto; padding: 0.5em;&quot;&gt;
SQL&amp;gt; SELECT grantee FROM dba_role_privs WHERE granted_role IN&lt;br /&gt;(SELECT grantee FROM dba_role_privs&lt;br /&gt;WHERE granted_role=&#39;EXP_FULL_DATABASE&#39;);&lt;br /&gt;&lt;br /&gt;GRANTEE&lt;br /&gt;----------------&lt;br /&gt;SYS&lt;br /&gt;SYSTEM&lt;br /&gt;...&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;kmnotebox&quot; style=&quot;background-color: #fff9d7; border: 1px solid rgb(193, 169, 13); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small; padding: 10px;&quot;&gt;
exp system/manager FILE=exp_tab.dmp LOG=exp_tab.log TABLES=scott.test_tab DIRECT=y&lt;br /&gt;&lt;br /&gt;About to export specified tables via Direct Path ...&lt;br /&gt;Current user changed to SCOTT&lt;br /&gt;. . exporting table TEST_TAB 2 rows exported&lt;br /&gt;Export terminated successfully without warnings.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;br /&gt;Rows in tables that contain objects and LOBs will be exported using conventional path method, even if direct path was specified. If this table has fine-grained access control policy (FGA) enabled, the export may still error with:&lt;/div&gt;
&lt;div class=&quot;kmnotebox&quot; style=&quot;background-color: #fff9d7; border: 1px solid rgb(193, 169, 13); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small; padding: 10px;&quot;&gt;
EXP-00008: ORACLE error 604 encountered&lt;br /&gt;ORA-00604: error occurred at recursive SQL level 1&lt;br /&gt;ORA-28112: failed to execute policy function&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;In those cases, run the export while connected as a user who has the EXEMPT ACCESS POLICY enabled (only available in Oracle9i and above). See solution (3) mentioned below.&lt;br /&gt;&lt;br /&gt;For details, see also:&lt;br /&gt;&quot;Parameter DIRECT: Conventional Path Export Versus Direct Path Export&quot;&lt;br /&gt;&lt;br /&gt;- OR -&lt;br /&gt;&lt;br /&gt;2. Run the export while connected AS SYSDBA (Oracle8i and above).&lt;br /&gt;&lt;br /&gt;Example:&lt;/div&gt;
&lt;div class=&quot;kmnotebox&quot; style=&quot;background-color: #fff9d7; border: 1px solid rgb(193, 169, 13); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small; padding: 10px;&quot;&gt;
exp &#39;/ as sysdba&#39; FILE=exp_tab.dmp LOG=exp_tab.log TABLES=scott.test_tab&lt;br /&gt;&lt;br /&gt;About to export specified tables via Conventional Path ...&lt;br /&gt;Current user changed to SCOTT&lt;br /&gt;. . exporting table TEST_TAB 2 rows exported&lt;br /&gt;Export terminated successfully without warnings.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;For details, see:&lt;br /&gt;&quot;How to Connect AS SYSDBA when Using Export or Import&quot;&lt;br /&gt;&lt;br /&gt;- OR -&lt;br /&gt;in Oracle9i and above:&lt;br /&gt;&lt;br /&gt;3. Run the export while connected as a user who has the EXEMPT ACCESS POLICY (only available in Oracle9i and above).&lt;br /&gt;&lt;br /&gt;Example:&lt;/div&gt;
&lt;div class=&quot;kmcodeblock&quot; style=&quot;background-color: #e0eaf1; border: 1px solid rgb(196, 209, 230); font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 12.222222328186px; margin: 5px 0px 0px; overflow: auto; padding: 0.5em;&quot;&gt;
SQL&amp;gt; CONNECT system/manager&lt;br /&gt;SQL&amp;gt; GRANT exempt access policy TO scott;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;kmnotebox&quot; style=&quot;background-color: #fff9d7; border: 1px solid rgb(193, 169, 13); font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small; padding: 10px;&quot;&gt;
exp scott/tiger FILE=exp_tab.dmp LOG=exp_tab.log TABLES=test_tab&lt;br /&gt;&lt;br /&gt;About to export specified tables via Conventional Path ...&lt;br /&gt;EXP-00079: Data in table &quot;TEST_TAB&quot; is protected. Conventional path may only&lt;br /&gt;be exporting partial table.&lt;br /&gt;. . exporting table TEST_TAB 2 rows exported&lt;br /&gt;Export terminated successfully with warnings.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;Note that although all rows have been exported, the EXP-79 warning is still given. This is caused by:&lt;br /&gt;&quot;Exempt Access Policy Privilege Not Properly Recognized By The Export Utility&quot;.&lt;br /&gt;&lt;br /&gt;In this case, you can ignore the warning.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Remarks&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that this document does not apply to the Oracle10g Export DataPump utility. An export with the new Oracle10g Export DataPump utility will not give any warning message.&lt;br /&gt;&lt;br /&gt;For details, see:&lt;br /&gt;&quot;NO EXP-79 WARNING IF EXP WITH EXPORT DATAPUMP AND TABLE HAS FGA POLICY APPLIED&quot;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;References&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&quot;Exempt Access Policy Privilege Not Properly Recognized By The Export Utility&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&quot;Parameter DIRECT: Conventional Path Export Versus Direct Path Export&quot;&lt;br /&gt;&quot;All About Security: User, Privilege, Role, SYSDBA, O/S Authentication, Audit, Encryption, OLS&quot;&lt;br /&gt;&quot;How to Connect AS SYSDBA when Using Export or Import&quot;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://dbataj.blogspot.com/2014/10/how-to-prevent-exp-79-or-exp-80.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-6341281440815901905</guid><pubDate>Sun, 26 Oct 2014 15:50:00 +0000</pubDate><atom:updated>2014-10-26T19:50:46.823+04:00</atom:updated><title></title><description>&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 14.4444446563721px; font-weight: bold; text-align: right;&quot;&gt;Receivables Activity Error: Please Define A Party Tax Profile For Operating Unit &amp;amp; ORG_ID&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;strong&gt;This is bug.:&amp;nbsp;&lt;/strong&gt;&lt;a href=&quot;https://support.oracle.com/epmos/faces/BugDisplay?parent=DOCUMENT&amp;amp;sourceId=419019.1&amp;amp;id=5899659&quot;&gt;BUG 5899659&lt;/a&gt;&amp;nbsp;RECEIVABLES ACTIVITY ERROR PLEASE DEFINE PARTY TAX PROFILE FOR &amp;amp;ORGID&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;strong&gt;Responsibility:&lt;/strong&gt;&amp;nbsp;Tax Managers&lt;br /&gt;&lt;strong&gt;Navigation:&lt;/strong&gt;&amp;nbsp; Parties &amp;gt; Party Tax &amp;gt; Profiles&lt;/div&gt;
&lt;ol style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;li&gt;Query:&lt;br /&gt;Party Type: Operating Unit Owning Tax Content&lt;br /&gt;Party Name: Populate your Operating Unit Name&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Click on&amp;nbsp;&lt;em&gt;GO&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Click on&amp;nbsp;&lt;em&gt;Create Tax Profile&lt;/em&gt;&amp;nbsp;and then&lt;/li&gt;
&lt;li&gt;Click only&amp;nbsp;&lt;em&gt;Apply&lt;/em&gt;&amp;nbsp;button without doing anything&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description><link>http://dbataj.blogspot.com/2014/10/receivables-activity-error-please.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-2589322634293294803</guid><pubDate>Sat, 18 Oct 2014 18:26:00 +0000</pubDate><atom:updated>2014-10-18T22:26:30.299+04:00</atom:updated><title>Data Guard Switchover Note</title><description>&lt;blockquote&gt;
old primary site&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;select switchover_status from v$database;&lt;/blockquote&gt;
&lt;blockquote&gt;
quick procedure for switchover.&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;alter database commit to switchover to physical standby with session shutdown;&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;shutdown immediate&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;startup nomount&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;alter database mount standby database;&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;alter system set log_archive_dest_state_2=defer;&lt;/blockquote&gt;
&lt;blockquote&gt;
old standby site&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;select switchover_status from v$database;&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;alter database commit to switchover to primary;&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;shutdown immediate&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;startup&lt;/blockquote&gt;
&lt;blockquote&gt;
old primary site&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL&amp;gt;recover managed standby database disconnect&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
How to check GAP? (run at both side (primary/standby)&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp;select status, gap_status&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp; &amp;nbsp; from v$archive_dest_status&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp; &amp;nbsp; where dest_id = 2;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
how to check delay?&lt;/blockquote&gt;
&lt;blockquote&gt;
select delay_mins from v$archive_dest where dest_id = 2;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
how to check switchover status from primary db?&lt;/blockquote&gt;
&lt;blockquote&gt;
select switchover_status from v$database;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
how to verify active session at primary db?&lt;/blockquote&gt;
&lt;blockquote&gt;
select sid, process, program&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp; &amp;nbsp; from v$session where type = &#39;USER&#39;;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
pre-req for switchover.&lt;/blockquote&gt;
&lt;blockquote&gt;
1. check gap between both side&lt;/blockquote&gt;
&lt;blockquote&gt;
2. check tempfile name should be same at both side&lt;/blockquote&gt;
&lt;blockquote&gt;
3. check delay between both side.&lt;/blockquote&gt;
&lt;blockquote&gt;
4. verify primary db can be switch to standby (switchover_status should return to standby)&lt;/blockquote&gt;
&lt;blockquote&gt;
5. safe side verify the active session at primary db&lt;/blockquote&gt;
&lt;blockquote&gt;
alter database commit to switchover to standby; (on primary db)&lt;/blockquote&gt;
&lt;blockquote&gt;
6.command to switchover (perform on standby db)&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp;alter database commit to switchover to primary with session shutdown; ( acitve sesion is there)&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp;alter database commit to switchover to primary; (without active session)&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;1. Verify the Physical Standby Database Is Performing Properly&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Step 1 Identify the existing archived redo log files on strandby&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Step 2 Force a log switch to archive the current online redo log file on primary&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;ALTER SYSTEM SWITCH LOGFILE;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Step 3 Verify the new redo data was archived on the standby database.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Step 4 Verify that received redo has been applied on standby&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;The value of the APPLIED column for the most recently received log file will be&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;either IN-MEMORY or YES if that log file has been applied.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;2. Pre-Switchover Checks&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Verify Managed Recovery is Running (non-broker) on the standby&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;select process from v$managed_standby where process like &#39;MRP%&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Cancel apply delay for the target standby using SQL&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;select delay_mins from v$managed_standby where process = &#39;MRP0&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;if delay_mins &amp;gt;0 then&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;RECOVER MANAGED STANDBY DATABASE CANCEL&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY USING CURRENT LOGFILE DISCONNECT FROM SESSION;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Verify there are no large GAPS.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;On primary&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;SELECT THREAD#, SEQUENCE# FROM V$THREAD;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;On the standby the following query should be no more than 1-2 less than the primary query result&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;SELECT THREAD#, MAX(SEQUENCE#)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;FROM V$ARCHIVED_LOG val, V$DATABASE vdb&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;WHERE APPLIED = &#39;YES&#39; AND val.RESETLOGS_CHANGE#=vdb.RESETLOGS_CHANGE#GROUP BY THREAD#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;If there is a gap .. fix the gap&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Verify Primary and Standby TEMP Files Match&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;select tmp.name FileName, bytes, ts.name Tablespace from v$tempfile tmp, v$tablespace ts where tmp.ts#=ts.ts#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;If there is no match then you will correct the temp tbs problem after switchover&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Verify that there is no issue with V$LOG_HISTORY on the Standby (bug 6010833)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;1. Get the Primary RESETLOGS_CHANGE#. On the primary execute:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;select RESETLOGS_CHANGE# from V$DATABASE;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;2. On the standby get the maximum sequence numbers for each thread from V$LOG_HISTORY:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;select thread#, max(sequence#) from V$LOG_HISTORY where resetlogs_change#=1 group by thread#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;3. Get current sequence numbers on standby:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;select thread#, max(sequence#) from v$archived_log alog, v$database db where alog.resetlogs_change#=db.resetlogs_change# group by thread#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;4. The last sequence# for each thread# from V$LOG_HISTORY should be close (the difference in log sequences &amp;lt; 3) to the last sequence# for each thread# from V$ARCHIVED_LOG.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;5. If there is an issue with V$LOG_HISTORY then recreate the standby controlfile&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;Verify no old partial Standby Redo Logs on the Standby (bug 7159505)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;1. Identify any active standby redo logs (SRL’s)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;SELECT GROUP#, THREAD#, SEQUENCE# FROM V$STANDBY_LOG WHERE STATUS = &#39;ACTIVE&#39; ORDER BY THREAD#,SEQUENCE#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;2.Identify maximum applied sequence number(s).&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt; select thread#, max(sequence#)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;from V$LOG_HISTORY&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;where resetlogs_change#=&amp;lt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;group by thread#;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;3.If there are any active SRL&#39;s that have a thread#/sequence# less than the thread#/sequence# returned from the V$LOG_HISTORY (meaning the recovery has progressed beyond the active SRL) query then clear them.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;RECOVER MANAGED STANDBY DATABASE CANCEL&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;SQL&amp;gt;ALTER DATABASE CLEAR LOGFILE GROUP&amp;nbsp;&lt;/span&gt;&lt;srl style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18.4799995422363px;&quot;&gt;;&lt;br /&gt;&lt;br /&gt;3 Switchover&lt;br /&gt;Clear Potential Blocking Parameters &amp;amp; Jobs&lt;br /&gt;1.Capture current job state on the primary&lt;br /&gt;SQL&amp;gt;select * from dba_jobs_running;&lt;br /&gt;SQL&amp;gt;select owner,job_name, start_date, end_date, enabled from dba_scheduler_jobs where enabled=&#39;TRUE&#39; and owner &amp;lt;&amp;gt; &#39;SYS&#39;;&lt;br /&gt;SQL&amp;gt;show parameter job_queue_processes -- and capture the value&lt;br /&gt;&lt;br /&gt;Block further job submission&lt;br /&gt;SQL&amp;gt;alter system set job_queue_processes=0 scope=both;&lt;br /&gt;SQL&amp;gt;execute dbms_scheduler.disable(job_name);&lt;br /&gt;&lt;br /&gt;Disable any cron jobs that may interfere , rman backups&lt;br /&gt;Shutdown all mid-tiers (e.g db console)&lt;br /&gt;$ emctl stop dbconsole&lt;br /&gt;&lt;br /&gt;Monitor Switchover&lt;br /&gt;Turn on Data Guard tracing on primary and standby&lt;br /&gt;Tracing is turned on to have diagnostic information available in case any issues arise.&lt;br /&gt;SQL&amp;gt;show parameter log_archive_trace -- capture the value&lt;br /&gt;Set Data Guard trace level to 8191&lt;br /&gt;SQL&amp;gt;alter system set log_archive_trace=8191;&lt;br /&gt;Trace output will appear under the destination pointed to by the database parameter BACKGROUND_DUMP_DEST with “mrp” in the file name.&lt;br /&gt;&lt;br /&gt;Monitor alert log for both primary and standby&lt;br /&gt;&lt;br /&gt;Finally Switchover&lt;br /&gt;Verify that the primary database can be switched to the standby role&lt;br /&gt;SQL&amp;gt;SELECT SWITCHOVER_STATUS FROM V$DATABASE;&lt;br /&gt;A value of TO STANDBY or SESSIONS ACTIVE (requires the WITH SESSION SHUTDOWN clause on the switchover command) indicates that the primary database can be switched to the standby role&lt;br /&gt;&lt;br /&gt;Switchover the primary to a standby database&lt;br /&gt;SQL&amp;gt;ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN;&lt;br /&gt;in primary alert log you would see&lt;br /&gt;&lt;br /&gt;Switchover: Complete - Database shutdown required (sfs_stby1)&lt;br /&gt;Completed: ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN&lt;br /&gt;&lt;br /&gt;Verify that the standby database can be switched to the primary role&lt;br /&gt;SQL&amp;gt;SELECT SWITCHOVER_STATUS FROM V$DATABASE;&lt;br /&gt;&lt;br /&gt;Check if the standby has ever been open read-only&lt;br /&gt;SQL&amp;gt; SELECT VALUE FROM V$DATAGUARD_STATS WHERE NAME=&#39;standby has been open&#39;;&lt;br /&gt;&lt;br /&gt;If the standby was open read-only then restart the standby&lt;br /&gt;SQL&amp;gt; SHUTDOWN IMMEDIATE&lt;br /&gt;SQL&amp;gt; STARTUP MOUNT&lt;br /&gt;&lt;br /&gt;Switchover the standby database to a primary&lt;br /&gt;SQL&amp;gt; ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;&lt;br /&gt;&lt;br /&gt;Open the new primary database:&lt;br /&gt;SQL&amp;gt; ALTER DATABASE OPEN;&lt;br /&gt;Correct any tempfile mismatch&lt;br /&gt;&lt;br /&gt;Restart the new standby&lt;br /&gt;On the the new standby database (old production database), bring it to the mount state and start managed recovery.&lt;br /&gt;SQL&amp;gt; SHUTDOWN IMMEDIATE;&lt;br /&gt;SQL&amp;gt; STARTUP MOUNT;&lt;br /&gt;SQL&amp;gt; RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;&lt;br /&gt;&lt;br /&gt;Post-Switchover Steps&lt;br /&gt;For each database:&lt;br /&gt;SQL&amp;gt;alter system set log_archive_trace=&lt;captured&gt;;&lt;br /&gt;SQL&amp;gt;alter system set job_queue_processes=&lt;captured&gt;&amp;nbsp;scope=both;&lt;br /&gt;SQL&amp;gt;execute dbms_scheduler.enable(&lt;for&gt;);&lt;br /&gt;Enable any cron jobs that were diabled in 3.1&lt;br /&gt;&lt;br /&gt;Check that they are syncronized&lt;br /&gt;Perfom log switch on new primary&lt;br /&gt;Create cron job to backup new primary !!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;Metalink Note id : 751600.1&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
http://agstamy.blogspot.ae/2009/02/manually-switch-over-to-standby.html&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2014/10/data-guard-switchover-note.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-1114923697286161872</guid><pubDate>Sat, 18 Oct 2014 16:23:00 +0000</pubDate><atom:updated>2014-10-18T20:23:02.695+04:00</atom:updated><title>Data Guard Switchover Notes</title><description>&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old primary site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;quick procedure for switchover.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database commit to switchover to physical standby with session shutdown;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;shutdown immediate&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;startup nomount&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database mount standby database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter system set log_archive_dest_state_2=defer;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old standby site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database commit to switchover to primary;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;shutdown immediate&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;startup&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old primary site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;recover managed standby database disconnect&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;How to check GAP? (run at both side (primary/standby)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;select status, gap_status&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; from v$archive_dest_status&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; where dest_id = 2;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to check delay?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select delay_mins from v$archive_dest where dest_id = 2;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to check switchover status from primary db?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to verify active session at primary db?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select sid, process, program&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; from v$session where type = &#39;USER&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;pre-req for switchover.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;1. check gap between both side&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;2. check tempfile name should be same at both side&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;3. check delay between both side.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;4. verify primary db can be switch to standby (switchover_status should return to standby)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;5. safe side verify the active session at primary db&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;alter database commit to switchover to standby; (on primary db)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;6.command to switchover (perform on standby db)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;alter database commit to switchover to primary with session shutdown; ( acitve sesion is there)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;alter database commit to switchover to primary; (without active session)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 22px; font-stretch: normal; font-weight: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
Manually switch over to the standby database&lt;/h3&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 11px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
Manually switch over of dataguard configuration without dataguard broker&lt;br /&gt;&lt;br /&gt;1. Verify the Physical Standby Database Is Performing Properly&lt;br /&gt;Step 1 Identify the existing archived redo log files on strandby&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;Step 2 Force a log switch to archive the current online redo log file on primary&lt;br /&gt;SQL&amp;gt;ALTER SYSTEM SWITCH LOGFILE;&lt;br /&gt;&lt;br /&gt;Step 3 Verify the new redo data was archived on the standby database.&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;Step 4 Verify that received redo has been applied on standby&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;The value of the APPLIED column for the most recently received log file will be&lt;br /&gt;either IN-MEMORY or YES if that log file has been applied.&lt;br /&gt;&lt;br /&gt;2. Pre-Switchover Checks&lt;br /&gt;Verify Managed Recovery is Running (non-broker) on the standby&lt;br /&gt;SQL&amp;gt;select process from v$managed_standby where process like &#39;MRP%&#39;;&lt;br /&gt;&lt;br /&gt;Cancel apply delay for the target standby using SQL&lt;br /&gt;SQL&amp;gt;select delay_mins from v$managed_standby where process = &#39;MRP0&#39;;&lt;br /&gt;&lt;br /&gt;if delay_mins &amp;gt;0 then&lt;br /&gt;SQL&amp;gt;RECOVER MANAGED STANDBY DATABASE CANCEL&lt;br /&gt;SQL&amp;gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY USING CURRENT LOGFILE DISCONNECT FROM SESSION;&lt;br /&gt;&lt;br /&gt;Verify there are no large GAPS.&lt;br /&gt;On primary&lt;br /&gt;SQL&amp;gt;SELECT THREAD#, SEQUENCE# FROM V$THREAD;&lt;br /&gt;On the standby the following query should be no more than 1-2 less than the primary query result&lt;br /&gt;SQL&amp;gt;SELECT THREAD#, MAX(SEQUENCE#)&lt;br /&gt;FROM V$ARCHIVED_LOG val, V$DATABASE vdb&lt;br /&gt;WHERE APPLIED = &#39;YES&#39; AND val.RESETLOGS_CHANGE#=vdb.RESETLOGS_CHANGE#GROUP BY THREAD#;&lt;br /&gt;If there is a gap .. fix the gap&lt;br /&gt;&lt;br /&gt;Verify Primary and Standby TEMP Files Match&lt;br /&gt;SQL&amp;gt;select tmp.name FileName, bytes, ts.name Tablespace from v$tempfile tmp, v$tablespace ts where tmp.ts#=ts.ts#;&lt;br /&gt;If there is no match then you will correct the temp tbs problem after switchover&lt;br /&gt;&lt;br /&gt;Verify that there is no issue with V$LOG_HISTORY on the Standby (bug 6010833)&lt;br /&gt;1. Get the Primary RESETLOGS_CHANGE#. On the primary execute:&lt;br /&gt;SQL&amp;gt;select RESETLOGS_CHANGE# from V$DATABASE;&lt;br /&gt;&lt;br /&gt;2. On the standby get the maximum sequence numbers for each thread from V$LOG_HISTORY:&lt;br /&gt;SQL&amp;gt;select thread#, max(sequence#) from V$LOG_HISTORY where resetlogs_change#=1 group by thread#;&lt;br /&gt;&lt;br /&gt;3. Get current sequence numbers on standby:&lt;br /&gt;SQL&amp;gt;select thread#, max(sequence#) from v$archived_log alog, v$database db where alog.resetlogs_change#=db.resetlogs_change# group by thread#;&lt;br /&gt;&lt;br /&gt;4. The last sequence# for each thread# from V$LOG_HISTORY should be close (the difference in log sequences &amp;lt; 3) to the last sequence# for each thread# from V$ARCHIVED_LOG.&lt;br /&gt;&lt;br /&gt;5. If there is an issue with V$LOG_HISTORY then recreate the standby controlfile&lt;br /&gt;&lt;br /&gt;Verify no old partial Standby Redo Logs on the Standby (bug 7159505)&lt;br /&gt;1. Identify any active standby redo logs (SRL’s)&lt;br /&gt;SQL&amp;gt;SELECT GROUP#, THREAD#, SEQUENCE# FROM V$STANDBY_LOG WHERE STATUS = &#39;ACTIVE&#39; ORDER BY THREAD#,SEQUENCE#;&lt;br /&gt;&lt;br /&gt;2.Identify maximum applied sequence number(s).&lt;br /&gt;SQL&amp;gt; select thread#, max(sequence#)&lt;br /&gt;from V$LOG_HISTORY&lt;br /&gt;where resetlogs_change#=&amp;lt;&amp;gt;&lt;br /&gt;group by thread#;&lt;br /&gt;&lt;br /&gt;3.If there are any active SRL&#39;s that have a thread#/sequence# less than the thread#/sequence# returned from the V$LOG_HISTORY (meaning the recovery has progressed beyond the active SRL) query then clear them.&lt;br /&gt;SQL&amp;gt;RECOVER MANAGED STANDBY DATABASE CANCEL&lt;br /&gt;SQL&amp;gt;ALTER DATABASE CLEAR LOGFILE GROUP&amp;nbsp;&lt;srl&gt;;&lt;br /&gt;&lt;br /&gt;3 Switchover&lt;br /&gt;Clear Potential Blocking Parameters &amp;amp; Jobs&lt;br /&gt;1.Capture current job state on the primary&lt;br /&gt;SQL&amp;gt;select * from dba_jobs_running;&lt;br /&gt;SQL&amp;gt;select owner,job_name, start_date, end_date, enabled from dba_scheduler_jobs where enabled=&#39;TRUE&#39; and owner &amp;lt;&amp;gt; &#39;SYS&#39;;&lt;br /&gt;SQL&amp;gt;show parameter job_queue_processes -- and capture the value&lt;br /&gt;&lt;br /&gt;Block further job submission&lt;br /&gt;SQL&amp;gt;alter system set job_queue_processes=0 scope=both;&lt;br /&gt;SQL&amp;gt;execute dbms_scheduler.disable(job_name);&lt;br /&gt;&lt;br /&gt;Disable any cron jobs that may interfere , rman backups&lt;br /&gt;Shutdown all mid-tiers (e.g db console)&lt;br /&gt;$ emctl stop dbconsole&lt;br /&gt;&lt;br /&gt;Monitor Switchover&lt;br /&gt;Turn on Data Guard tracing on primary and standby&lt;br /&gt;Tracing is turned on to have diagnostic information available in case any issues arise.&lt;br /&gt;SQL&amp;gt;show parameter log_archive_trace -- capture the value&lt;br /&gt;Set Data Guard trace level to 8191&lt;br /&gt;SQL&amp;gt;alter system set log_archive_trace=8191;&lt;br /&gt;Trace output will appear under the destination pointed to by the database parameter BACKGROUND_DUMP_DEST with “mrp” in the file name.&lt;br /&gt;&lt;br /&gt;Monitor alert log for both primary and standby&lt;br /&gt;&lt;br /&gt;Finally Switchover&lt;br /&gt;Verify that the primary database can be switched to the standby role&lt;br /&gt;SQL&amp;gt;SELECT SWITCHOVER_STATUS FROM V$DATABASE;&lt;br /&gt;A value of TO STANDBY or SESSIONS ACTIVE (requires the WITH SESSION SHUTDOWN clause on the switchover command) indicates that the primary database can be switched to the standby role&lt;br /&gt;&lt;br /&gt;Switchover the primary to a standby database&lt;br /&gt;SQL&amp;gt;ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN;&lt;br /&gt;in primary alert log you would see&lt;br /&gt;&lt;br /&gt;Switchover: Complete - Database shutdown required (sfs_stby1)&lt;br /&gt;Completed: ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN&lt;br /&gt;&lt;br /&gt;Verify that the standby database can be switched to the primary role&lt;br /&gt;SQL&amp;gt;SELECT SWITCHOVER_STATUS FROM V$DATABASE;&lt;br /&gt;&lt;br /&gt;Check if the standby has ever been open read-only&lt;br /&gt;SQL&amp;gt; SELECT VALUE FROM V$DATAGUARD_STATS WHERE NAME=&#39;standby has been open&#39;;&lt;br /&gt;&lt;br /&gt;If the standby was open read-only then restart the standby&lt;br /&gt;SQL&amp;gt; SHUTDOWN IMMEDIATE&lt;br /&gt;SQL&amp;gt; STARTUP MOUNT&lt;br /&gt;&lt;br /&gt;Switchover the standby database to a primary&lt;br /&gt;SQL&amp;gt; ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;&lt;br /&gt;&lt;br /&gt;Open the new primary database:&lt;br /&gt;SQL&amp;gt; ALTER DATABASE OPEN;&lt;br /&gt;Correct any tempfile mismatch&lt;br /&gt;&lt;br /&gt;Restart the new standby&lt;br /&gt;On the the new standby database (old production database), bring it to the mount state and start managed recovery.&lt;br /&gt;SQL&amp;gt; SHUTDOWN IMMEDIATE;&lt;br /&gt;SQL&amp;gt; STARTUP MOUNT;&lt;br /&gt;SQL&amp;gt; RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;&lt;br /&gt;&lt;br /&gt;Post-Switchover Steps&lt;br /&gt;For each database:&lt;br /&gt;SQL&amp;gt;alter system set log_archive_trace=&lt;captured&gt;;&lt;br /&gt;SQL&amp;gt;alter system set job_queue_processes=&lt;captured&gt;&amp;nbsp;scope=both;&lt;br /&gt;SQL&amp;gt;execute dbms_scheduler.enable(&lt;for&gt;);&lt;br /&gt;Enable any cron jobs that were diabled in 3.1&lt;br /&gt;&lt;br /&gt;Check that they are syncronized&lt;br /&gt;Perfom log switch on new primary&lt;br /&gt;Create cron job to backup new primary !!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;Metalink Note id : 751600.1&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
&lt;srl&gt;&lt;captured&gt;&lt;captured&gt;&lt;for&gt;&lt;br /&gt;&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
&lt;srl&gt;&lt;captured&gt;&lt;captured&gt;&lt;for&gt;Source: Google Search&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2014/10/data-guard-switchover-notes_38.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-4106131517254292060</guid><pubDate>Sat, 18 Oct 2014 16:22:00 +0000</pubDate><atom:updated>2014-10-18T20:22:27.403+04:00</atom:updated><title>Data Guard Switchover Notes</title><description>&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old primary site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;quick procedure for switchover.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database commit to switchover to physical standby with session shutdown;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;shutdown immediate&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;startup nomount&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database mount standby database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter system set log_archive_dest_state_2=defer;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old standby site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database commit to switchover to primary;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;shutdown immediate&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;startup&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old primary site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;recover managed standby database disconnect&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;How to check GAP? (run at both side (primary/standby)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;select status, gap_status&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; from v$archive_dest_status&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; where dest_id = 2;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to check delay?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select delay_mins from v$archive_dest where dest_id = 2;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to check switchover status from primary db?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to verify active session at primary db?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select sid, process, program&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; from v$session where type = &#39;USER&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;pre-req for switchover.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;1. check gap between both side&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;2. check tempfile name should be same at both side&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;3. check delay between both side.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;4. verify primary db can be switch to standby (switchover_status should return to standby)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;5. safe side verify the active session at primary db&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;alter database commit to switchover to standby; (on primary db)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;6.command to switchover (perform on standby db)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;alter database commit to switchover to primary with session shutdown; ( acitve sesion is there)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;alter database commit to switchover to primary; (without active session)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 22px; font-stretch: normal; font-weight: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
Manually switch over to the standby database&lt;/h3&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 11px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
Manually switch over of dataguard configuration without dataguard broker&lt;br /&gt;&lt;br /&gt;1. Verify the Physical Standby Database Is Performing Properly&lt;br /&gt;Step 1 Identify the existing archived redo log files on strandby&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;Step 2 Force a log switch to archive the current online redo log file on primary&lt;br /&gt;SQL&amp;gt;ALTER SYSTEM SWITCH LOGFILE;&lt;br /&gt;&lt;br /&gt;Step 3 Verify the new redo data was archived on the standby database.&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;Step 4 Verify that received redo has been applied on standby&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;The value of the APPLIED column for the most recently received log file will be&lt;br /&gt;either IN-MEMORY or YES if that log file has been applied.&lt;br /&gt;&lt;br /&gt;2. Pre-Switchover Checks&lt;br /&gt;Verify Managed Recovery is Running (non-broker) on the standby&lt;br /&gt;SQL&amp;gt;select process from v$managed_standby where process like &#39;MRP%&#39;;&lt;br /&gt;&lt;br /&gt;Cancel apply delay for the target standby using SQL&lt;br /&gt;SQL&amp;gt;select delay_mins from v$managed_standby where process = &#39;MRP0&#39;;&lt;br /&gt;&lt;br /&gt;if delay_mins &amp;gt;0 then&lt;br /&gt;SQL&amp;gt;RECOVER MANAGED STANDBY DATABASE CANCEL&lt;br /&gt;SQL&amp;gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY USING CURRENT LOGFILE DISCONNECT FROM SESSION;&lt;br /&gt;&lt;br /&gt;Verify there are no large GAPS.&lt;br /&gt;On primary&lt;br /&gt;SQL&amp;gt;SELECT THREAD#, SEQUENCE# FROM V$THREAD;&lt;br /&gt;On the standby the following query should be no more than 1-2 less than the primary query result&lt;br /&gt;SQL&amp;gt;SELECT THREAD#, MAX(SEQUENCE#)&lt;br /&gt;FROM V$ARCHIVED_LOG val, V$DATABASE vdb&lt;br /&gt;WHERE APPLIED = &#39;YES&#39; AND val.RESETLOGS_CHANGE#=vdb.RESETLOGS_CHANGE#GROUP BY THREAD#;&lt;br /&gt;If there is a gap .. fix the gap&lt;br /&gt;&lt;br /&gt;Verify Primary and Standby TEMP Files Match&lt;br /&gt;SQL&amp;gt;select tmp.name FileName, bytes, ts.name Tablespace from v$tempfile tmp, v$tablespace ts where tmp.ts#=ts.ts#;&lt;br /&gt;If there is no match then you will correct the temp tbs problem after switchover&lt;br /&gt;&lt;br /&gt;Verify that there is no issue with V$LOG_HISTORY on the Standby (bug 6010833)&lt;br /&gt;1. Get the Primary RESETLOGS_CHANGE#. On the primary execute:&lt;br /&gt;SQL&amp;gt;select RESETLOGS_CHANGE# from V$DATABASE;&lt;br /&gt;&lt;br /&gt;2. On the standby get the maximum sequence numbers for each thread from V$LOG_HISTORY:&lt;br /&gt;SQL&amp;gt;select thread#, max(sequence#) from V$LOG_HISTORY where resetlogs_change#=1 group by thread#;&lt;br /&gt;&lt;br /&gt;3. Get current sequence numbers on standby:&lt;br /&gt;SQL&amp;gt;select thread#, max(sequence#) from v$archived_log alog, v$database db where alog.resetlogs_change#=db.resetlogs_change# group by thread#;&lt;br /&gt;&lt;br /&gt;4. The last sequence# for each thread# from V$LOG_HISTORY should be close (the difference in log sequences &amp;lt; 3) to the last sequence# for each thread# from V$ARCHIVED_LOG.&lt;br /&gt;&lt;br /&gt;5. If there is an issue with V$LOG_HISTORY then recreate the standby controlfile&lt;br /&gt;&lt;br /&gt;Verify no old partial Standby Redo Logs on the Standby (bug 7159505)&lt;br /&gt;1. Identify any active standby redo logs (SRL’s)&lt;br /&gt;SQL&amp;gt;SELECT GROUP#, THREAD#, SEQUENCE# FROM V$STANDBY_LOG WHERE STATUS = &#39;ACTIVE&#39; ORDER BY THREAD#,SEQUENCE#;&lt;br /&gt;&lt;br /&gt;2.Identify maximum applied sequence number(s).&lt;br /&gt;SQL&amp;gt; select thread#, max(sequence#)&lt;br /&gt;from V$LOG_HISTORY&lt;br /&gt;where resetlogs_change#=&amp;lt;&amp;gt;&lt;br /&gt;group by thread#;&lt;br /&gt;&lt;br /&gt;3.If there are any active SRL&#39;s that have a thread#/sequence# less than the thread#/sequence# returned from the V$LOG_HISTORY (meaning the recovery has progressed beyond the active SRL) query then clear them.&lt;br /&gt;SQL&amp;gt;RECOVER MANAGED STANDBY DATABASE CANCEL&lt;br /&gt;SQL&amp;gt;ALTER DATABASE CLEAR LOGFILE GROUP&amp;nbsp;&lt;srl&gt;;&lt;br /&gt;&lt;br /&gt;3 Switchover&lt;br /&gt;Clear Potential Blocking Parameters &amp;amp; Jobs&lt;br /&gt;1.Capture current job state on the primary&lt;br /&gt;SQL&amp;gt;select * from dba_jobs_running;&lt;br /&gt;SQL&amp;gt;select owner,job_name, start_date, end_date, enabled from dba_scheduler_jobs where enabled=&#39;TRUE&#39; and owner &amp;lt;&amp;gt; &#39;SYS&#39;;&lt;br /&gt;SQL&amp;gt;show parameter job_queue_processes -- and capture the value&lt;br /&gt;&lt;br /&gt;Block further job submission&lt;br /&gt;SQL&amp;gt;alter system set job_queue_processes=0 scope=both;&lt;br /&gt;SQL&amp;gt;execute dbms_scheduler.disable(job_name);&lt;br /&gt;&lt;br /&gt;Disable any cron jobs that may interfere , rman backups&lt;br /&gt;Shutdown all mid-tiers (e.g db console)&lt;br /&gt;$ emctl stop dbconsole&lt;br /&gt;&lt;br /&gt;Monitor Switchover&lt;br /&gt;Turn on Data Guard tracing on primary and standby&lt;br /&gt;Tracing is turned on to have diagnostic information available in case any issues arise.&lt;br /&gt;SQL&amp;gt;show parameter log_archive_trace -- capture the value&lt;br /&gt;Set Data Guard trace level to 8191&lt;br /&gt;SQL&amp;gt;alter system set log_archive_trace=8191;&lt;br /&gt;Trace output will appear under the destination pointed to by the database parameter BACKGROUND_DUMP_DEST with “mrp” in the file name.&lt;br /&gt;&lt;br /&gt;Monitor alert log for both primary and standby&lt;br /&gt;&lt;br /&gt;Finally Switchover&lt;br /&gt;Verify that the primary database can be switched to the standby role&lt;br /&gt;SQL&amp;gt;SELECT SWITCHOVER_STATUS FROM V$DATABASE;&lt;br /&gt;A value of TO STANDBY or SESSIONS ACTIVE (requires the WITH SESSION SHUTDOWN clause on the switchover command) indicates that the primary database can be switched to the standby role&lt;br /&gt;&lt;br /&gt;Switchover the primary to a standby database&lt;br /&gt;SQL&amp;gt;ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN;&lt;br /&gt;in primary alert log you would see&lt;br /&gt;&lt;br /&gt;Switchover: Complete - Database shutdown required (sfs_stby1)&lt;br /&gt;Completed: ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN&lt;br /&gt;&lt;br /&gt;Verify that the standby database can be switched to the primary role&lt;br /&gt;SQL&amp;gt;SELECT SWITCHOVER_STATUS FROM V$DATABASE;&lt;br /&gt;&lt;br /&gt;Check if the standby has ever been open read-only&lt;br /&gt;SQL&amp;gt; SELECT VALUE FROM V$DATAGUARD_STATS WHERE NAME=&#39;standby has been open&#39;;&lt;br /&gt;&lt;br /&gt;If the standby was open read-only then restart the standby&lt;br /&gt;SQL&amp;gt; SHUTDOWN IMMEDIATE&lt;br /&gt;SQL&amp;gt; STARTUP MOUNT&lt;br /&gt;&lt;br /&gt;Switchover the standby database to a primary&lt;br /&gt;SQL&amp;gt; ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;&lt;br /&gt;&lt;br /&gt;Open the new primary database:&lt;br /&gt;SQL&amp;gt; ALTER DATABASE OPEN;&lt;br /&gt;Correct any tempfile mismatch&lt;br /&gt;&lt;br /&gt;Restart the new standby&lt;br /&gt;On the the new standby database (old production database), bring it to the mount state and start managed recovery.&lt;br /&gt;SQL&amp;gt; SHUTDOWN IMMEDIATE;&lt;br /&gt;SQL&amp;gt; STARTUP MOUNT;&lt;br /&gt;SQL&amp;gt; RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;&lt;br /&gt;&lt;br /&gt;Post-Switchover Steps&lt;br /&gt;For each database:&lt;br /&gt;SQL&amp;gt;alter system set log_archive_trace=&lt;captured&gt;;&lt;br /&gt;SQL&amp;gt;alter system set job_queue_processes=&lt;captured&gt;&amp;nbsp;scope=both;&lt;br /&gt;SQL&amp;gt;execute dbms_scheduler.enable(&lt;for&gt;);&lt;br /&gt;Enable any cron jobs that were diabled in 3.1&lt;br /&gt;&lt;br /&gt;Check that they are syncronized&lt;br /&gt;Perfom log switch on new primary&lt;br /&gt;Create cron job to backup new primary !!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;Metalink Note id : 751600.1&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
&lt;srl&gt;&lt;captured&gt;&lt;captured&gt;&lt;for&gt;&lt;br /&gt;&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
&lt;srl&gt;&lt;captured&gt;&lt;captured&gt;&lt;for&gt;Source: Google Search&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2014/10/data-guard-switchover-notes_18.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-2684029829135308513</guid><pubDate>Sat, 18 Oct 2014 16:22:00 +0000</pubDate><atom:updated>2014-10-18T20:22:25.422+04:00</atom:updated><title>Data Guard Switchover Notes</title><description>&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old primary site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;quick procedure for switchover.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database commit to switchover to physical standby with session shutdown;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;shutdown immediate&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;startup nomount&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database mount standby database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter system set log_archive_dest_state_2=defer;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old standby site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;alter database commit to switchover to primary;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;shutdown immediate&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;startup&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;old primary site&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;SQL&amp;gt;recover managed standby database disconnect&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;How to check GAP? (run at both side (primary/standby)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;select status, gap_status&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; from v$archive_dest_status&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; where dest_id = 2;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to check delay?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select delay_mins from v$archive_dest where dest_id = 2;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to check switchover status from primary db?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select switchover_status from v$database;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;how to verify active session at primary db?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;select sid, process, program&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp; &amp;nbsp; from v$session where type = &#39;USER&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;pre-req for switchover.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;1. check gap between both side&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;2. check tempfile name should be same at both side&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;3. check delay between both side.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;4. verify primary db can be switch to standby (switchover_status should return to standby)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;5. safe side verify the active session at primary db&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;alter database commit to switchover to standby; (on primary db)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;6.command to switchover (perform on standby db)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;alter database commit to switchover to primary with session shutdown; ( acitve sesion is there)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3e454c; font-family: Helvetica, Arial, lucida grande, tahoma, verdana, arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #dbedfe; font-size: 12px; line-height: 15.3599996566772px; white-space: pre-wrap;&quot;&gt;&amp;nbsp;alter database commit to switchover to primary; (without active session)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 22px; font-stretch: normal; font-weight: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
Manually switch over to the standby database&lt;/h3&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 11px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
Manually switch over of dataguard configuration without dataguard broker&lt;br /&gt;&lt;br /&gt;1. Verify the Physical Standby Database Is Performing Properly&lt;br /&gt;Step 1 Identify the existing archived redo log files on strandby&lt;br /&gt;&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;Step 2 Force a log switch to archive the current online redo log file on primary&lt;br /&gt;SQL&amp;gt;ALTER SYSTEM SWITCH LOGFILE;&lt;br /&gt;&lt;br /&gt;Step 3 Verify the new redo data was archived on the standby database.&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;Step 4 Verify that received redo has been applied on standby&lt;br /&gt;SQL&amp;gt;SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;&lt;br /&gt;&lt;br /&gt;The value of the APPLIED column for the most recently received log file will be&lt;br /&gt;either IN-MEMORY or YES if that log file has been applied.&lt;br /&gt;&lt;br /&gt;2. Pre-Switchover Checks&lt;br /&gt;Verify Managed Recovery is Running (non-broker) on the standby&lt;br /&gt;SQL&amp;gt;select process from v$managed_standby where process like &#39;MRP%&#39;;&lt;br /&gt;&lt;br /&gt;Cancel apply delay for the target standby using SQL&lt;br /&gt;SQL&amp;gt;select delay_mins from v$managed_standby where process = &#39;MRP0&#39;;&lt;br /&gt;&lt;br /&gt;if delay_mins &amp;gt;0 then&lt;br /&gt;SQL&amp;gt;RECOVER MANAGED STANDBY DATABASE CANCEL&lt;br /&gt;SQL&amp;gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY USING CURRENT LOGFILE DISCONNECT FROM SESSION;&lt;br /&gt;&lt;br /&gt;Verify there are no large GAPS.&lt;br /&gt;On primary&lt;br /&gt;SQL&amp;gt;SELECT THREAD#, SEQUENCE# FROM V$THREAD;&lt;br /&gt;On the standby the following query should be no more than 1-2 less than the primary query result&lt;br /&gt;SQL&amp;gt;SELECT THREAD#, MAX(SEQUENCE#)&lt;br /&gt;FROM V$ARCHIVED_LOG val, V$DATABASE vdb&lt;br /&gt;WHERE APPLIED = &#39;YES&#39; AND val.RESETLOGS_CHANGE#=vdb.RESETLOGS_CHANGE#GROUP BY THREAD#;&lt;br /&gt;If there is a gap .. fix the gap&lt;br /&gt;&lt;br /&gt;Verify Primary and Standby TEMP Files Match&lt;br /&gt;SQL&amp;gt;select tmp.name FileName, bytes, ts.name Tablespace from v$tempfile tmp, v$tablespace ts where tmp.ts#=ts.ts#;&lt;br /&gt;If there is no match then you will correct the temp tbs problem after switchover&lt;br /&gt;&lt;br /&gt;Verify that there is no issue with V$LOG_HISTORY on the Standby (bug 6010833)&lt;br /&gt;1. Get the Primary RESETLOGS_CHANGE#. On the primary execute:&lt;br /&gt;SQL&amp;gt;select RESETLOGS_CHANGE# from V$DATABASE;&lt;br /&gt;&lt;br /&gt;2. On the standby get the maximum sequence numbers for each thread from V$LOG_HISTORY:&lt;br /&gt;SQL&amp;gt;select thread#, max(sequence#) from V$LOG_HISTORY where resetlogs_change#=1 group by thread#;&lt;br /&gt;&lt;br /&gt;3. Get current sequence numbers on standby:&lt;br /&gt;SQL&amp;gt;select thread#, max(sequence#) from v$archived_log alog, v$database db where alog.resetlogs_change#=db.resetlogs_change# group by thread#;&lt;br /&gt;&lt;br /&gt;4. The last sequence# for each thread# from V$LOG_HISTORY should be close (the difference in log sequences &amp;lt; 3) to the last sequence# for each thread# from V$ARCHIVED_LOG.&lt;br /&gt;&lt;br /&gt;5. If there is an issue with V$LOG_HISTORY then recreate the standby controlfile&lt;br /&gt;&lt;br /&gt;Verify no old partial Standby Redo Logs on the Standby (bug 7159505)&lt;br /&gt;1. Identify any active standby redo logs (SRL’s)&lt;br /&gt;SQL&amp;gt;SELECT GROUP#, THREAD#, SEQUENCE# FROM V$STANDBY_LOG WHERE STATUS = &#39;ACTIVE&#39; ORDER BY THREAD#,SEQUENCE#;&lt;br /&gt;&lt;br /&gt;2.Identify maximum applied sequence number(s).&lt;br /&gt;SQL&amp;gt; select thread#, max(sequence#)&lt;br /&gt;from V$LOG_HISTORY&lt;br /&gt;where resetlogs_change#=&amp;lt;&amp;gt;&lt;br /&gt;group by thread#;&lt;br /&gt;&lt;br /&gt;3.If there are any active SRL&#39;s that have a thread#/sequence# less than the thread#/sequence# returned from the V$LOG_HISTORY (meaning the recovery has progressed beyond the active SRL) query then clear them.&lt;br /&gt;SQL&amp;gt;RECOVER MANAGED STANDBY DATABASE CANCEL&lt;br /&gt;SQL&amp;gt;ALTER DATABASE CLEAR LOGFILE GROUP&amp;nbsp;&lt;srl&gt;;&lt;br /&gt;&lt;br /&gt;3 Switchover&lt;br /&gt;Clear Potential Blocking Parameters &amp;amp; Jobs&lt;br /&gt;1.Capture current job state on the primary&lt;br /&gt;SQL&amp;gt;select * from dba_jobs_running;&lt;br /&gt;SQL&amp;gt;select owner,job_name, start_date, end_date, enabled from dba_scheduler_jobs where enabled=&#39;TRUE&#39; and owner &amp;lt;&amp;gt; &#39;SYS&#39;;&lt;br /&gt;SQL&amp;gt;show parameter job_queue_processes -- and capture the value&lt;br /&gt;&lt;br /&gt;Block further job submission&lt;br /&gt;SQL&amp;gt;alter system set job_queue_processes=0 scope=both;&lt;br /&gt;SQL&amp;gt;execute dbms_scheduler.disable(job_name);&lt;br /&gt;&lt;br /&gt;Disable any cron jobs that may interfere , rman backups&lt;br /&gt;Shutdown all mid-tiers (e.g db console)&lt;br /&gt;$ emctl stop dbconsole&lt;br /&gt;&lt;br /&gt;Monitor Switchover&lt;br /&gt;Turn on Data Guard tracing on primary and standby&lt;br /&gt;Tracing is turned on to have diagnostic information available in case any issues arise.&lt;br /&gt;SQL&amp;gt;show parameter log_archive_trace -- capture the value&lt;br /&gt;Set Data Guard trace level to 8191&lt;br /&gt;SQL&amp;gt;alter system set log_archive_trace=8191;&lt;br /&gt;Trace output will appear under the destination pointed to by the database parameter BACKGROUND_DUMP_DEST with “mrp” in the file name.&lt;br /&gt;&lt;br /&gt;Monitor alert log for both primary and standby&lt;br /&gt;&lt;br /&gt;Finally Switchover&lt;br /&gt;Verify that the primary database can be switched to the standby role&lt;br /&gt;SQL&amp;gt;SELECT SWITCHOVER_STATUS FROM V$DATABASE;&lt;br /&gt;A value of TO STANDBY or SESSIONS ACTIVE (requires the WITH SESSION SHUTDOWN clause on the switchover command) indicates that the primary database can be switched to the standby role&lt;br /&gt;&lt;br /&gt;Switchover the primary to a standby database&lt;br /&gt;SQL&amp;gt;ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN;&lt;br /&gt;in primary alert log you would see&lt;br /&gt;&lt;br /&gt;Switchover: Complete - Database shutdown required (sfs_stby1)&lt;br /&gt;Completed: ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY WITH SESSION SHUTDOWN&lt;br /&gt;&lt;br /&gt;Verify that the standby database can be switched to the primary role&lt;br /&gt;SQL&amp;gt;SELECT SWITCHOVER_STATUS FROM V$DATABASE;&lt;br /&gt;&lt;br /&gt;Check if the standby has ever been open read-only&lt;br /&gt;SQL&amp;gt; SELECT VALUE FROM V$DATAGUARD_STATS WHERE NAME=&#39;standby has been open&#39;;&lt;br /&gt;&lt;br /&gt;If the standby was open read-only then restart the standby&lt;br /&gt;SQL&amp;gt; SHUTDOWN IMMEDIATE&lt;br /&gt;SQL&amp;gt; STARTUP MOUNT&lt;br /&gt;&lt;br /&gt;Switchover the standby database to a primary&lt;br /&gt;SQL&amp;gt; ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;&lt;br /&gt;&lt;br /&gt;Open the new primary database:&lt;br /&gt;SQL&amp;gt; ALTER DATABASE OPEN;&lt;br /&gt;Correct any tempfile mismatch&lt;br /&gt;&lt;br /&gt;Restart the new standby&lt;br /&gt;On the the new standby database (old production database), bring it to the mount state and start managed recovery.&lt;br /&gt;SQL&amp;gt; SHUTDOWN IMMEDIATE;&lt;br /&gt;SQL&amp;gt; STARTUP MOUNT;&lt;br /&gt;SQL&amp;gt; RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;&lt;br /&gt;&lt;br /&gt;Post-Switchover Steps&lt;br /&gt;For each database:&lt;br /&gt;SQL&amp;gt;alter system set log_archive_trace=&lt;captured&gt;;&lt;br /&gt;SQL&amp;gt;alter system set job_queue_processes=&lt;captured&gt;&amp;nbsp;scope=both;&lt;br /&gt;SQL&amp;gt;execute dbms_scheduler.enable(&lt;for&gt;);&lt;br /&gt;Enable any cron jobs that were diabled in 3.1&lt;br /&gt;&lt;br /&gt;Check that they are syncronized&lt;br /&gt;Perfom log switch on new primary&lt;br /&gt;Create cron job to backup new primary !!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;Metalink Note id : 751600.1&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
&lt;srl&gt;&lt;captured&gt;&lt;captured&gt;&lt;for&gt;&lt;br /&gt;&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-191952953129371623&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 570px;&quot;&gt;
&lt;srl&gt;&lt;captured&gt;&lt;captured&gt;&lt;for&gt;Source: Google Search&lt;/for&gt;&lt;/captured&gt;&lt;/captured&gt;&lt;/srl&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2014/10/data-guard-switchover-notes.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-3483561423428108437</guid><pubDate>Sun, 21 Jul 2013 16:15:00 +0000</pubDate><atom:updated>2013-07-21T20:15:31.828+04:00</atom:updated><title>warning message cpu jul-13 </title><description>&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;warning: overriding commands for target `nmosudo&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot; /&gt;&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;warning: ignoring old commands for target `nmosudo&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot; /&gt;&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;See the following document for additional information.&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;while applying critical patch update jul-13 on linux x86 11gr2 getting below error message:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;warning: overriding commands for target `nmosudo&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot; /&gt;&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;warning: ignoring old commands for target `nmosudo&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot; /&gt;&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;See the following document for additional information.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;As per oracle support the above error can be ignored. it is safe.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #003d5b; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 10.909090995788574px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #fafafa; color: #333333; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: 11.818181991577148px; font-weight: bold;&quot;&gt;1562458.1 ---&amp;gt; this is internal notes so customer may not be find the same in support.oracle.com.&lt;/span&gt;&lt;/div&gt;
</description><link>http://dbataj.blogspot.com/2013/07/warning-message-cpu-jul-13.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-4764330310923833598</guid><pubDate>Mon, 29 Apr 2013 04:55:00 +0000</pubDate><atom:updated>2013-04-29T08:55:08.345+04:00</atom:updated><title>find . -name &#39;*&#39; | xargs rm -v</title><description>find . -name &#39;*&#39; | xargs rm -v&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2013/04/find-name-xargs-rm-v.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-4556695232898002401</guid><pubDate>Sun, 09 Dec 2012 08:21:00 +0000</pubDate><atom:updated>2012-12-09T12:21:07.652+04:00</atom:updated><title> ORA-39181:Only Partial Table Data Exported Due To Fine Grain Access Control</title><description>&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
Applies to:&lt;/h2&gt;
&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Oracle Server - Enterprise Edition - Version 10.2.0.1 and later&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Information in this document applies to any platform.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;***Checked for relevance on 20-SEP-2012***&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;SYMPTOM&quot;&gt;&lt;/a&gt;Symptoms&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
ERROR:&lt;br /&gt;ORA-39181 :only partial table data may be exported due to fine grain access control&lt;br /&gt;&lt;br /&gt;This error appears trying to datapump export a table with FGAC policy enabled against it.&lt;br /&gt;&lt;br /&gt;When Expdp runs as the schema owner,&amp;nbsp;if fine grained policies are discovered on tables and if the exporting &amp;nbsp;user has unrestricted access, then the entire table data is exported.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;CHANGE&quot;&gt;&lt;/a&gt;Changes&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
A table with FGAC policy enabled against it.&lt;br /&gt;&lt;br /&gt;Scenario 1 (unprivileged user)&lt;br /&gt;------------------------------&lt;br /&gt;table: ABC_TAB&lt;br /&gt;partition=yes&lt;br /&gt;table_owner= X_USER&lt;br /&gt;data= 500GB&lt;br /&gt;&lt;br /&gt;when&amp;nbsp;expdp X_USER/password parameter=exp_ABC_TAB.par&lt;br /&gt;==&amp;gt;&lt;br /&gt;Getting ORA-39181: Only partial table data may be exported due to fine grain access control&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Scenario 2 (privileged user)&lt;br /&gt;-----------------------------&lt;br /&gt;table: ABC_TAB&lt;br /&gt;partition=yes&lt;br /&gt;table_owner= X_USER&lt;br /&gt;&lt;br /&gt;when&amp;nbsp;expdp oradba/password parameter=exp_ABC_TAB.par&lt;br /&gt;==&amp;gt;&lt;br /&gt;Getting exported &quot;X_USER&quot;.&quot;ABC_TAB&quot;:&quot;ABC_TAB_AA&quot;12340 KB&amp;nbsp;&amp;nbsp; 1000 rows&lt;br /&gt;Master table &quot;ORADBA&quot;.&quot;ABC_TAB_AA&quot; successfully loaded/unloaded&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;CAUSE&quot;&gt;&lt;/a&gt;Cause&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
This is expected behavior.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
ORA-39181 is caused by an unprivileged user who&amp;nbsp;tries to export a table with&amp;nbsp;a fine grain access control policiy applied. The table owner is subject to access control and may not be able to export all rows in the table. Only the rows that can be seen by that user&amp;nbsp;are exported. In order to preserve integrity of the table, the user importing the table should have enough privilege to recreate the table with the security policies at import time.&lt;br /&gt;&lt;br /&gt;Action: It is strongly recommended that the database administrator handles the export of this table.&lt;br /&gt;&lt;br /&gt;This as an informational message.&lt;br /&gt;&lt;br /&gt;VPD and Oracle Label Security are not enforced during DIRECT path export and similarly, database users granted the EXEMPT ACCESS POLICY privilege, either directly or through a database role, are exempt from VPD enforcements. However, the following policy enforcement options remain in effect even when EXEMPT ACCESS POLICY is granted:&lt;br /&gt;&lt;br /&gt;* INSERT_CONTROL, UPDATE_CONTROL, DELETE_CONTROL, WRITE_CONTROL, LABEL_UPDATE, and LABEL_DEFAULT&lt;br /&gt;&lt;br /&gt;EXEMPT ACCESS POLICY&amp;nbsp; is a strong privilege and must be granted with care. For example&amp;nbsp;, grant it to the role exp_full_database role as this role&amp;nbsp;is granted to admin users only.&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;Solution&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
To avoid this:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Grant the privilege EXEMPT ACCESS POLICY to the exporting user&lt;br /&gt;&lt;br /&gt;&amp;nbsp;-or-&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Disable the VPD policy.&lt;/div&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2012/12/ora-39181only-partial-table-data.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-1687416031229228454</guid><pubDate>Mon, 03 Dec 2012 09:05:00 +0000</pubDate><atom:updated>2012-12-03T13:05:09.235+04:00</atom:updated><title>Service Request Numbers Are Not in Sequential Order</title><description>&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;The Service Request automatic number generation is controlled by database sequence &#39;CS_INCIDENTS_NUMBER_S&#39;.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;That sequence comes seeded with an INCREMENT_BY value of 2 and a CACHE_SIZE value of 100.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;That can be verified with the following query:&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;select sequence_name, increment_by, cache_size&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;from dba_sequences&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;where sequence_name in (&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&#39;CS_INCIDENTS_S&#39;,&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&#39;CS_INCIDENTS_NUMBER_S&#39;);&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;That will show the following:&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span class=&quot;kmfixedwidthfont&quot; style=&quot;background-color: white; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;SEQUENCE_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCREMENT_BY CACHE_SIZE&lt;br /&gt;------------------------------ ------------ ----------&lt;br /&gt;CS_INCIDENTS_NUMBER_S&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;br /&gt;CS_INCIDENTS_S&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Due the reason that sequence numbers are cached, if for any reason the cache is flushed (like when the database is bounced) the cached numbers are lost. But the sequence itself is already advanced so, when the sequence numbers are cached again they will continue from the last number in the sequence and you will see a gap.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;The gap will change depending on how many cached numbers were &quot;lost&quot; hence, that gap could be different and will look like the service request numbers are generated in random increments.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;If you want to have a sequential order for Service Request numbers you can modify the sequence to have an INCREMENT_BY of 1 and no cache. That can be done with the following command:&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;alter sequence CS.CS_INCIDENTS_NUMBER_S INCREMENT BY 1 NOCACHE;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;CS_INCIDENTS_NUMBER_S sequence will control the Service Request number.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;If you want the INCIDENT_ID number in CS_INCIDENTS_ALL_B table to be also sequential then you need to modify CS_INCIDENTS_S. You can use the following command:&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;alter sequence CS.CS_INCIDENTS_S INCREMENT BY 1 NOCACHE;&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2012/12/service-request-numbers-are-not-in.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-4219462208886839052</guid><pubDate>Wed, 28 Nov 2012 07:00:00 +0000</pubDate><atom:updated>2012-11-28T11:00:50.190+04:00</atom:updated><title> java.sql.SQLException: Year out of range. when using database Audit Store</title><description>&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
Applies to:&lt;/h2&gt;
&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Oracle Access Manager - Version 11.1.1.5.0 and later&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;Information in this document applies to any platform.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot; /&gt;&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;SYMPTOM&quot;&gt;&lt;/a&gt;Symptoms&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
When configured Audit log storage as database as per &quot;&lt;a alt=&quot;audit config&quot; href=&quot;http://docs.oracle.com/cd/E14571_01/core.1111/e10043/audpolicy.htm&quot; target=&quot;_self&quot; title=&quot;audit config&quot;&gt;http://docs.oracle.com/cd/E14571_01/core.1111/e10043/audpolicy.htm&lt;/a&gt;#&quot; all data is going fine in table IAU_BASE but after some time errors like&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;span id=&quot;form1:panelPage1&quot;&gt;[2012-04-10T14:07:54.279+01:00] [oam_server1] [ERROR] [] [] [tid: AuditLoaderRunner] [userId: &lt;wls kernel=&quot;kernel&quot;&gt;] [ecid: a9c385d0a9a28e67:2214479:136963cb7ee:-8000-0000000000000004,0] IAU:IAU-5047: Problem in transferring audit record from file:E:\Oracle\Middleware\user_projects\domains\base_domain\servers\oam_server1\logs\auditlogs\OAM\audit.log position:2,138,186 will retry in next cycle. caught exception oracle.security.audit.AuditException: java.sql.SQLException: Year out of range.[[&lt;br /&gt;at oracle.security.audit.ajl.loader.OracleDatabaseRepository.write(OracleDatabaseRepository.java:360)&lt;br /&gt;at oracle.security.audit.ajl.loader.JDBCLogWriter.write(JDBCLogWriter.java:101)&lt;br /&gt;at oracle.security.audit.ajl.loader.AuditLoader.readMessages(AuditLoader.java:483)&lt;br /&gt;at oracle.security.audit.service.AuditLoaderManager.readMessages(AuditLoaderManager.java:82)&lt;br /&gt;at oracle.security.audit.service.AuditLoaderManager$Runner.run(AuditLoaderManager.java:151)&lt;br /&gt;&lt;strong&gt;Caused by: java.sql.SQLException: Year out of range.&lt;/strong&gt;&lt;br /&gt;at oracle.jdbc.driver.DateCommonBinder.setOracleCYMD(OraclePreparedStatement.java:24253)&lt;br /&gt;at oracle.jdbc.driver.TimestampBinder.bind(OraclePreparedStatement.java:24633)&lt;br /&gt;at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:3269)&lt;br /&gt;at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2466)&lt;br /&gt;at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3747)&lt;br /&gt;at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3887)&lt;br /&gt;at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)&lt;br /&gt;at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)&lt;br /&gt;at oracle.security.audit.ajl.loader.OracleDatabaseRepository.write(OracleDatabaseRepository.java:321)&lt;br /&gt;... 4 more&lt;br /&gt;&lt;br /&gt;]]&lt;/wls&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
appear.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If we delete the file OAM_Domain\servers\oam_server1\logs\auditlogs\OAM\audit.log manually, the server is working fine again but after some time it gives the same above error.&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;CAUSE&quot;&gt;&lt;/a&gt;Cause&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;This issue is treated in OPSS Bug 13436847 - Audit data to database no longer works; audit data to file is working&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&lt;br /&gt;&amp;nbsp;&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;Solution&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;
&amp;nbsp;The problem is fixed in patch#&amp;nbsp;&lt;span id=&quot;form1:panelPage1&quot;&gt;13436847 available @&amp;nbsp;&lt;a href=&quot;https://updates.oracle.com/download/13436847.html&quot; name=&quot;contextTextUrl_1335513344768&quot; target=&quot;_blank&quot; title=&quot;Click (or CTRL+Click if using Firefox) to view&quot;&gt;&lt;/a&gt;&lt;a alt=&quot;Patch# 13436847&quot; href=&quot;https://updates.oracle.com/download/13436847.html&quot; title=&quot;Patch# 13436847&quot;&gt;&lt;span id=&quot;3-2K7PAKZ1335513344768&quot;&gt;https://updates.oracle.com/download/13436847.html&lt;/span&gt;&lt;/a&gt;&amp;nbsp;.&lt;/span&gt;&lt;/div&gt;
&lt;h2 class=&quot;km&quot; style=&quot;background-color: white; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;REF&quot;&gt;&lt;/a&gt;References&lt;/h2&gt;
&lt;a href=&quot;https://support.oracle.com/epmos/faces/ui/km/BugDisplay.jspx?id=13436847&quot; style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: small;&quot;&gt;BUG:13436847&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;- AUDIT DATA TO DATABASE NO LONGER WORKS; AUDIT DATA TO FILE IS WORKING&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2012/11/javasqlsqlexception-year-out-of-range.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-3363833160726410056</guid><pubDate>Sat, 17 Nov 2012 12:57:00 +0000</pubDate><atom:updated>2012-11-18T23:05:00.151+04:00</atom:updated><title>inactive no manager concurrent request r12</title><description>&lt;div style=&quot;background-color: #bcc5c1; border: 0px; color: #333333; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; line-height: 21.600000381469727px; margin-bottom: 1.8em; padding: 0px; vertical-align: baseline;&quot;&gt;
Check output of ps -ef | grep FNDLIBR |wc -l&lt;/div&gt;
&lt;div style=&quot;background-color: #bcc5c1; border: 0px; color: #333333; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; line-height: 21.600000381469727px; margin-bottom: 1.8em; padding: 0px; vertical-align: baseline;&quot;&gt;
If its 1 then do,&lt;/div&gt;
&lt;div style=&quot;background-color: #bcc5c1; border: 0px; color: #333333; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; line-height: 21.600000381469727px; margin-bottom: 1.8em; padding: 0px; vertical-align: baseline;&quot;&gt;
- Stop CM&lt;br /&gt;
- Run cmclean.sql script — Concurrent Processing – CMCLEAN.SQL – Non Destructive Script to Clean Concurrent Manager Tables [ID 134007.1]&lt;br /&gt;
- Start CM&lt;/div&gt;
&lt;div style=&quot;background-color: #bcc5c1; border: 0px; color: #333333; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; line-height: 21.600000381469727px; margin-bottom: 1.8em; padding: 0px; vertical-align: baseline;&quot;&gt;
If its 0 then do,&lt;/div&gt;
&lt;div style=&quot;background-color: #bcc5c1; border: 0px; color: #333333; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; line-height: 21.600000381469727px; margin-bottom: 1.8em; padding: 0px; vertical-align: baseline;&quot;&gt;
A. run refer metalink id [134007.1] and run cmclean.sql , [ do a commit ]&lt;br /&gt;
B. Start the concurrent services , by running adcmctl.sh start apps/&lt;br /&gt;
C. Wait for few minutes , execute “ps -ef | grep FNDLIBR |grep -v grep|wc -l” and see whether the command output is greater than 0.&lt;/div&gt;
&lt;div style=&quot;background-color: #bcc5c1; border: 0px; color: #333333; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; line-height: 21.600000381469727px; margin-bottom: 1.8em; padding: 0px; vertical-align: baseline;&quot;&gt;
2. if the above does not work for you, then upload the latest concurrent manager log file&lt;/div&gt;
&lt;div style=&quot;background-color: #bcc5c1; border: 0px; color: #333333; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; line-height: 21.600000381469727px; margin-bottom: 1.8em; padding: 0px; vertical-align: baseline;&quot;&gt;
ls -ltr $APPLCSF/$APPLLOG/|grep -i $TWO_TASK|grep mgr&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM FILENAME&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM cmclean.sql&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM DESCRIPTION&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Clean out the concurrent manager tables&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM NOTES&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Usage: sqlplus @cmclean&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM $Id: cmclean.sql,v 1.4 2001/04/07 15:55:07 pferguso Exp $&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM +======================================================================+&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set verify off;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set head off;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set timing off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set pagesize 1000&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;column manager format a20 heading &#39;Manager short name&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;column pid heading &#39;Process id&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;column pscode format a12 heading &#39;Status code&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;column ccode format a12 heading &#39;Control code&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;column request heading &#39;Request ID&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;column pcode format a6 heading &#39;Phase&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;column scode format a6 heading &#39;Status&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;WHENEVER SQLERROR EXIT ROLLBACK;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;DOCUMENT&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;WARNING : Do not run this script without explicit instructions&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;from Oracle Support&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;*** Make sure that the managers are shut down ***&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;*** before running this script ***&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;*** If the concurrent managers are NOT shut down, ***&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;*** exit this script now !! ***&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;#&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;accept answer prompt &#39;If you wish to continue type the word &#39;&#39;dual&#39;&#39;: &#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feed off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;select null from &amp;amp;answer;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feed on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Update process status codes to TERMINATED&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt ------------------------------------------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt -- Updating invalid process status codes in FND_CONCURRENT_PROCESSES&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feedback off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set head on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;break on manager&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;SELECT concurrent_queue_name manager,&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;concurrent_process_id pid,&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;process_status_code pscode&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;FROM fnd_concurrent_queues fcq, fnd_concurrent_processes fcp&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;WHERE process_status_code not in (&#39;K&#39;, &#39;S&#39;)&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;AND fcq.concurrent_queue_id = fcp.concurrent_queue_id&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;AND fcq.application_id = fcp.queue_application_id;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set head off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feedback on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;UPDATE fnd_concurrent_processes&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;SET process_status_code = &#39;K&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;WHERE process_status_code not in (&#39;K&#39;, &#39;S&#39;);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Set all managers to 0 processes&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt ------------------------------------------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt -- Updating running processes in FND_CONCURRENT_QUEUES&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt -- Setting running_processes = 0 and max_processes = 0 for all managers&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;UPDATE fnd_concurrent_queues&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;SET running_processes = 0, max_processes = 0;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Reset control codes&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt ------------------------------------------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt -- Updating invalid control_codes in FND_CONCURRENT_QUEUES&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feedback off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set head on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;SELECT concurrent_queue_name manager,&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;control_code ccode&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;FROM fnd_concurrent_queues&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;WHERE control_code not in (&#39;E&#39;, &#39;R&#39;, &#39;X&#39;)&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;AND control_code IS NOT NULL;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feedback on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set head off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;UPDATE fnd_concurrent_queues&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;SET control_code = NULL&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;WHERE control_code not in (&#39;E&#39;, &#39;R&#39;, &#39;X&#39;)&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;AND control_code IS NOT NULL;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Also null out target_node for all managers&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;UPDATE fnd_concurrent_queues&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;SET target_node = null;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Set all &#39;Terminating&#39; requests to Completed/Error&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Also set Running requests to completed, since the managers are down&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt ------------------------------------------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt -- Updating any Running or Terminating requests to Completed/Error&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feedback off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set head on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;SELECT request_id request,&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;phase_code pcode,&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;status_code scode&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;FROM fnd_concurrent_requests&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;WHERE status_code = &#39;T&#39; OR phase_code = &#39;R&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;ORDER BY request_id;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feedback on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set head off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;UPDATE fnd_concurrent_requests&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;SET phase_code = &#39;C&#39;, status_code = &#39;E&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;WHERE status_code =&#39;T&#39; OR phase_code = &#39;R&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM Set all Runalone flags to &#39;N&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM This has to be done differently for Release 10&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt ------------------------------------------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt -- Updating any Runalone flags to &#39;N&#39;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set serveroutput on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feedback off&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;declare&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;c pls_integer := dbms_sql.open_cursor;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;upd_rows pls_integer;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;vers varchar2(50);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;tbl varchar2(50);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;col varchar2(50);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;statement varchar2(255);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;begin&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;select substr(release_name, 1, 2)&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;into vers&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;from fnd_product_groups;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;if vers &amp;gt;= 11 then&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;tbl := &#39;fnd_conflicts_domain&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;col := &#39;runalone_flag&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;else&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;tbl := &#39;fnd_concurrent_conflict_sets&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;col := &#39;run_alone_flag&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;end if;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;statement := &#39;update &#39; || tbl || &#39; set &#39; || col || &#39;=&#39;&#39;N&#39;&#39; where &#39; || col || &#39; = &#39;&#39;Y&#39;&#39;&#39;;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;dbms_sql.parse(c, statement, dbms_sql.native);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;upd_rows := dbms_sql.execute(c);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;dbms_sql.close_cursor(c);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;dbms_output.put_line(&#39;Updated &#39; || upd_rows || &#39; rows of &#39; || col || &#39; in &#39; || tbl || &#39; to &#39;&#39;N&#39;&#39;&#39;);&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;end;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;/&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt ------------------------------------------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt Updates complete.&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt Type commit now to commit these updates, or rollback to cancel.&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt ------------------------------------------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;prompt&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;set feedback on&lt;/span&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;br style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot; /&gt;&lt;span style=&quot;background-color: #eef3f7; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: normal;&quot;&gt;REM &amp;lt;= Last REM statment -----------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2012/11/inactive-no-manager-concurrent-request.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-2028048926185181415</guid><pubDate>Sat, 17 Nov 2012 12:17:00 +0000</pubDate><atom:updated>2012-11-17T16:17:17.591+04:00</atom:updated><title>Rc-50004: Fatal: Error Occurred In Applydatabase:Control File Creation Failed</title><description>&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Rc-50004: Fatal: Error Occurred In Applydatabase:Control File Creation Failed [ID 1350709.1]&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Modified 06-OCT-2011 &amp;nbsp; &amp;nbsp; Type PROBLEM &amp;nbsp; &amp;nbsp; Status PUBLISHED&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;In this Document&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp; Symptoms&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp; Cause&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp; Solution&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp; References&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Applies to:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Oracle Applications Manager - Version: 11.5.10.2 to 12.1.3 - Release: 11.5.10 to 12.1&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Information in this document applies to any platform.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Symptoms&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;When attempting to clone the DB Tier , the following error occurs.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;ERROR&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;-----------------------&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Logfile Name : ApplyDBTier_08211054.log&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;RC-00118: Error occurred during creation of database&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Raised by oracle.apps.ad.clone.ApplyDatabase&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;StackTrace:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;java.lang.Exception: Control file creation failed&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at oracle.apps.ad.clone.ApplyDatabase.&lt;/span&gt;&lt;init style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;(ApplyDatabase.java:661)&lt;/init&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at oracle.apps.ad.clone.ApplyDatabase.&lt;/span&gt;&lt;init style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;(ApplyDatabase.java:328)&lt;/init&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at oracle.apps.ad.clone.ApplyDatabase.&lt;/span&gt;&lt;init style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;(ApplyDatabase.java:304)&lt;/init&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at oracle.apps.ad.clone.ApplyDBTier.&lt;/span&gt;&lt;init style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;(ApplyDBTier.java:154)&lt;/init&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:274)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;at java.lang.Thread.run(Thread.java:534)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Also Log file addlnctl.txt showing the following error :&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;ERROR:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;--------------&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;TNSLSNR for Linux IA64: Version 10.2.0.3.0 - Production&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;System parameter file is $RDBMS_ORACLE_HOME/network/admin/clone_dbclone/listener.ora&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Log messages written to $RDBMS_ORACLE_HOME/network/admin/clone.log&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Error listening on: (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCclone))&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;TNS-12555: TNS:permission denied&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;TNS-12560: TNS:protocol adapter error&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;TNS-00525: Insufficient privilege for operation&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Linux IA64 Error: 1: Operation not permitted&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Cause&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;The contents of directory /var/tmp/.oracle have wrong permission&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Solution&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Please apply the following solution:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;1- change permission /var/tmp/ . oracle&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;[root@fakoradb tmp]# chmod -R 777 .oracle/&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2012/11/rc-50004-fatal-error-occurred-in.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-8537077270182775585</guid><pubDate>Thu, 25 Oct 2012 10:59:00 +0000</pubDate><atom:updated>2012-10-25T14:59:09.120+04:00</atom:updated><title>How to change IP address on oracle biz suite r12</title><description>&lt;blockquote&gt;
Symptoms 
&lt;br /&gt;
&lt;br /&gt;
Users are not able to Log into the E-Business Suite Instance. Trying to access the E-Biz Instance, statis page redirection to /OA_HTML/ApssLogin is resulting in &quot;page can&#39;t find&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cause&lt;br /&gt;
&lt;br /&gt;
The IP address of the Instance is changed but DBA followed incorrect method. &lt;br /&gt;
&lt;br /&gt;
Hence new IP address wasn&#39;t propogated to FND_NODES resulting in error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
&lt;br /&gt;
E-Business Suite Instance recognise host name of the node not IP address, but it does store the IP address in FND_NODES under SERVER_ADDRESS column. Follow the correct method of IP Address Change in E-Business Suite Instance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Middle Tier&lt;br /&gt;
&lt;br /&gt;
1. Change the IP address on the servers. Remember to check changes at all places depending on the Operating System e.g. /etcc/hosts in Linux. &lt;br /&gt;
&lt;br /&gt;
2. Ensure to change the entry for the hostname in the DNS lookup table i.e. specify the new IP address at the DNS server. Check it with &#39;nslookup&#39;. &lt;br /&gt;
&lt;br /&gt;
3. Stop the Middle Tier Services. &lt;br /&gt;
&lt;br /&gt;
4. Run the following command to remove the old IP address from the Oracle Applications tables:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt; perl $AD_TOP/bin/adgentns.pl appspass=apps contextfile=$APPL_TOP/admin/&lt;sid&gt;_hostname.xml -removeserverNote: Replace &lt;sid&gt;_hostname.xml for the context file name under the $APPL_TOP/admin directory. Both must be entered in upper case. &lt;/sid&gt;&lt;/sid&gt;&lt;br /&gt;
&lt;br /&gt;
In R12 context file location is $INST_TOP/appl/admin/&lt;sid&gt;_&lt;hostname&gt;.xml.&lt;/hostname&gt;&lt;/sid&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Connect to SQL*Plus as apps user and run: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
begin &lt;br /&gt;
&lt;br /&gt;
FND_NET_SERVICES.remove_server(&#39;&lt;sid&gt;&#39;, &#39;&lt;hostname&gt;&#39;); &lt;/hostname&gt;&lt;/sid&gt;&lt;br /&gt;
&lt;br /&gt;
end; &lt;br /&gt;
&lt;br /&gt;
/ &lt;br /&gt;
&lt;br /&gt;
commit; &lt;br /&gt;
&lt;br /&gt;
/Note: Replace &lt;sid&gt; by the SID of the environment and &lt;hostname&gt; by the hostname in the environment. &lt;/hostname&gt;&lt;/sid&gt;&lt;br /&gt;
&lt;br /&gt;
Both must be entered in upper case.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Run AutoConfig on the Middle Tier to populate the FND_NODES.&lt;br /&gt;
&lt;br /&gt;
7. Use following script to check if the change is reflected in FND_NODES table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
spool fnd_nodes &lt;br /&gt;
&lt;br /&gt;
set pagesize 50 &lt;br /&gt;
&lt;br /&gt;
col node_name format a15 &lt;br /&gt;
&lt;br /&gt;
col server_id format a8 &lt;br /&gt;
&lt;br /&gt;
col server_address format a15 &lt;br /&gt;
&lt;br /&gt;
col platform_code format a4 &lt;br /&gt;
&lt;br /&gt;
col webhost format a12 &lt;br /&gt;
&lt;br /&gt;
col domain format a20 &lt;br /&gt;
&lt;br /&gt;
col virtual_ip format a12 &lt;br /&gt;
&lt;br /&gt;
set linesize 132 &lt;br /&gt;
&lt;br /&gt;
select node_id, platform_code, support_db D, support_cp C, support_admin A, support_forms F, &lt;br /&gt;
&lt;br /&gt;
support_web W, node_name, server_id, server_address, domain, webhost, virtual_ip &lt;br /&gt;
&lt;br /&gt;
from fnd_nodes &lt;br /&gt;
&lt;br /&gt;
order by node_id;&lt;br /&gt;
&lt;br /&gt;
Now the FND_NODES should have correct IP Address value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. For R12, follow Note 555214.1 OACORE Processes Won&#39;t Start After Increasing Their Number In Oracle Applications Release 12 In Context.xml to purge the lock files. &lt;br /&gt;
&lt;br /&gt;
9. Start the Middle Tier Services. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Database Layer&lt;br /&gt;
&lt;br /&gt;
1. Look for the hardcoded old IP Address in the following files:&lt;br /&gt;
&lt;br /&gt;
a) listener.ora &lt;br /&gt;
&lt;br /&gt;
b) tnsnames.ora (Local Naming) or check if any other naming method is used to resolve address. &lt;br /&gt;
&lt;br /&gt;
Check if any of the parameter using the old IP Address. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Check if the parameter LOCAL_LISTENER and REMOTE_LISTENER parameter been set in Database Initialization file. &lt;br /&gt;
&lt;br /&gt;
3) If its a Production Instance then its recommended to take the backup of the Database. &lt;br /&gt;
&lt;br /&gt;
4) Please refer the Note 274476.1 and Note 363609.1 to have a detailed view to change the IP Address of the Database Server. &lt;br /&gt;
&lt;br /&gt;
5) As the change is made at the OS (Operating System) level.Please ensure that the IP address gets reflected in the DNS server and also in the local host file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2012/10/how-to-change-ip-address-on-oracle-biz.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-7806927861770350585</guid><pubDate>Tue, 25 Sep 2012 05:22:00 +0000</pubDate><atom:updated>2012-09-25T09:22:43.275+04:00</atom:updated><title>How To Retrieve Rows From Table Or Synonym For An ORG_ID In E-Business Suite 12</title><description>&lt;blockquote&gt;
In 11.5.10.2, Org Specific Views are used to filter rows with a specific ORG_ID.&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
For example&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
In SQL*Plus:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
exec dbms_application_info.set_client_info(&#39;&amp;amp;ORG_ID&#39;);&lt;/blockquote&gt;
&lt;blockquote&gt;
In SQL Developer or Toad:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Begin&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp; dbms_application_info.set_client_info(&#39;&amp;amp;ORG_ID&#39;);&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
End;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
In R12, Views are no longer used. Instead, Synonyms together with Security Policy are used to return rows for a single operating unit.&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Solution&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
The following provide the steps to retrieve Org Specific rows from a Synonym. In R12, mo_global.set_policy_context is used instead of dbms_application_info.set_client_info which is used in 11.5.10.2&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
To filter rows from synonym using org_id:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
SQL*Plus&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
exec mo_global.set_policy_context(&#39;S&#39;, &amp;amp;org_id);&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Toad and SQL Developer&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
Begin&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;nbsp; mo_global.set_policy_context(&#39;S&#39;, &amp;amp;org_id);&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
End;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Example in SQL*Plus&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
As an example, run the following first to see how many org_ids are being used in Incentive Compensation&lt;/blockquote&gt;
&lt;blockquote&gt;
select org_id, count(*)&lt;/blockquote&gt;
&lt;blockquote&gt;
from cn_commission_headers_all&lt;/blockquote&gt;
&lt;blockquote&gt;
group by org_id;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Results in:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
ORG_ID &amp;nbsp; &amp;nbsp; &amp;nbsp;COUNT(*)&lt;/blockquote&gt;
&lt;blockquote&gt;
---------- ----------&lt;/blockquote&gt;
&lt;blockquote&gt;
1733 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6&lt;/blockquote&gt;
&lt;blockquote&gt;
204 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2340&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
So we can see that two row are returned. &amp;nbsp;Let&#39;s take org_id 204 and run:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
exec mo_global.set_policy_context(&#39;S&#39;,204);&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
This sets org_id as the organization we will be looking into. &amp;nbsp;Run the following:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
select org_id, count(*)&lt;/blockquote&gt;
&lt;blockquote&gt;
from cn_commission_headers&lt;/blockquote&gt;
&lt;blockquote&gt;
group by org_id;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Results in:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
ORG_ID &amp;nbsp; &amp;nbsp; &amp;nbsp; COUNT(*)&lt;/blockquote&gt;
&lt;blockquote&gt;
---------- ----------&lt;/blockquote&gt;
&lt;blockquote&gt;
204 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2340&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2012/09/how-to-retrieve-rows-from-table-or.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-5074122004957262128</guid><pubDate>Tue, 25 Sep 2012 05:05:00 +0000</pubDate><atom:updated>2012-09-25T09:05:59.730+04:00</atom:updated><title>How to Schedule a Concurrent Request to Run Periodically Only on Certain Days and Only During Certain Hours of the Day</title><description>&lt;blockquote&gt;
Checked for relevance on 31-May-2012&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
goal: How to schedule a concurrent request to run periodically only on&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
certain days and only during certain hours of the day&lt;/blockquote&gt;
&lt;blockquote&gt;
fact: Oracle Application Object Library&lt;/blockquote&gt;
&lt;blockquote&gt;
fact: FNDRSRUN - Run Reports&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
fix:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
When scheduling a concurrent request these are the available options for running the&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
job:&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
1. &amp;nbsp;As soon as possible&lt;/blockquote&gt;
&lt;blockquote&gt;
2. &amp;nbsp;Once&lt;/blockquote&gt;
&lt;blockquote&gt;
3. &amp;nbsp;Periodically&lt;/blockquote&gt;
&lt;blockquote&gt;
4. &amp;nbsp;On specific days&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Only one of these choices can be selected. &amp;nbsp;It is not possible to combine any&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
of these choices. &amp;nbsp; Thus, &amp;nbsp;selecting &quot;Periodically&quot; and specifying &amp;amp;&lt;/blockquote&gt;
&lt;blockquote&gt;
quot;every two minutes&quot; as the time interval, will result in a request&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
running every two minutes 24 hrs per day.&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Selecting &quot;On specific days&quot; will result in a request running only&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
once on the exact days specified.&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
A workaround might be to create a specialized manager with a work shift from 6am&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
to 7pm. &amp;nbsp; Then assign this concurrent request to that specialized manager (add&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
an INCLUDE rule to the specialized manager that includes this particular&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
concurrent request). &amp;nbsp; &amp;nbsp;This specialized manager will work only 6am to 7pm. &amp;nbsp; &amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
However, if the specialized manager is not available (7 pm to 6am) then any&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
standard manager that exists in the Apps instance will try to run the job. &amp;nbsp; To&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
stop them from running the job it will be necessary to add an exclude rule for&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
those standard managers which explicitly tells them that they are not allowed&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
to run this job. &amp;nbsp; &amp;nbsp;However, &amp;nbsp;between 7pm and 6am, these jobs will have a&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
phase/status of inactive/no manager until 6:00 am when this specialized&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
manager wakes up and resumes its work shift.&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote&gt;
Another workaround might be to write a cron job at the OS level which uses the&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
CONCSUB utility to run the concurrent requests every two minutes.&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
</description><link>http://dbataj.blogspot.com/2012/09/how-to-schedule-concurrent-request-to.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-5941051859936463482</guid><pubDate>Sun, 22 Jul 2012 05:33:00 +0000</pubDate><atom:updated>2012-07-22T09:33:47.122+04:00</atom:updated><title>How to change OBIEE respository users password (reset)</title><description>This article demonstrate how to change / reset OBIEE 11g respository user password.&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Step:&lt;/div&gt;
&lt;div&gt;
1. You need to change first database schema password&lt;/div&gt;
&lt;div&gt;
SQL&amp;gt; alter user PROD_MDS identified by ORACLE;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
SQL&amp;gt; alter user PROD_BIPLATFORM identified by ORACLE;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
NOTE: only above two user password need to reset , this procedure also applicable if you forget respository username password.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Login to enterprise manager portal of BI and change JDBC data source password&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
URL : http://hostname:7001/em&lt;/div&gt;
&lt;div&gt;
username: weblogic (default)&lt;/div&gt;
&lt;div&gt;
password: weblogic (as set by user during installation)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRoEi06GI2uD9ksBMN-R5vPhlivfwSKjjRjGCZY9AOGdqSJXAdqwr35qZkrY3l7Zdu7PTGOugvMRvVKviwdTt9kM1KdIybJO2JGOvgjTtcdf6PUGKoYGScOWalV1Qpx5cv_ZopWg/s1600/1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRoEi06GI2uD9ksBMN-R5vPhlivfwSKjjRjGCZY9AOGdqSJXAdqwr35qZkrY3l7Zdu7PTGOugvMRvVKviwdTt9kM1KdIybJO2JGOvgjTtcdf6PUGKoYGScOWalV1Qpx5cv_ZopWg/s320/1.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;3. go to weblogic domain --&amp;gt; right click on bifoundation_domain --&amp;gt; jdbc data source (click on it)&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsp92tO8ukmiu8-J8EsPWgSES7MSg4kcHQhz0mqhUehWsZ5D_pW1Ri30JWGmAmq-fCrck_kTtBzZqYF1U9fYRoWoZGcySnM6j4p_IohWmv5-bH02AKlA_luLXhqkVoYFXZhPRwVQ/s1600/2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsp92tO8ukmiu8-J8EsPWgSES7MSg4kcHQhz0mqhUehWsZ5D_pW1Ri30JWGmAmq-fCrck_kTtBzZqYF1U9fYRoWoZGcySnM6j4p_IohWmv5-bH02AKlA_luLXhqkVoYFXZhPRwVQ/s320/2.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
4. change password of bip*, EMPS* , rtd* and mds* datasource.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjrEq1GQrbUU5F9Y4XcsBll-VkHdu4Gbgo5WTEszK2WpEDKNhUZaAItSSivGJAXpn6FZxVWG6um3y7rsaTSgGzVOAJgxNlly4G8NBfFfTGgJACEY6B5R4TSW02zCKCcdkJ8DFRQw/s1600/3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjrEq1GQrbUU5F9Y4XcsBll-VkHdu4Gbgo5WTEszK2WpEDKNhUZaAItSSivGJAXpn6FZxVWG6um3y7rsaTSgGzVOAJgxNlly4G8NBfFfTGgJACEY6B5R4TSW02zCKCcdkJ8DFRQw/s320/3.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
5. go to business intelligence category --&amp;gt; click on coreapplication --&amp;gt; click on deployment tab --&amp;gt; click on scheduler tab and change password&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhURi3sVxkIgc2guV0Thg-CFYMc2z2xrzp2o01cnydYljlGdzlvKvuKYh4Hxpc7keiQZTQm_FJQXqPX4CLu3iuaKrUUig9z6suvxpTZ4dGEVfh-V80hX24hDmAoIfMHahXkbZEHGA/s1600/4.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhURi3sVxkIgc2guV0Thg-CFYMc2z2xrzp2o01cnydYljlGdzlvKvuKYh4Hxpc7keiQZTQm_FJQXqPX4CLu3iuaKrUUig9z6suvxpTZ4dGEVfh-V80hX24hDmAoIfMHahXkbZEHGA/s320/4.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
5. go to business intelligence category --&amp;gt; click on coreapplication --&amp;gt; click on deployment tab --&amp;gt; click on scheduler tab and change password
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIILjltVWrpYUNOLb2yzWVII2Koy4QhKPfgKThtFvJUL6SsKak092ezjlpAOFmis9TKRJbPxmyDhAntNPQW6uIBnHjkOLR6FD1OmztFBS8NbyNlvu9E3qijcRkbFH-SdJwyqHLgA/s1600/5.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIILjltVWrpYUNOLb2yzWVII2Koy4QhKPfgKThtFvJUL6SsKak092ezjlpAOFmis9TKRJbPxmyDhAntNPQW6uIBnHjkOLR6FD1OmztFBS8NbyNlvu9E3qijcRkbFH-SdJwyqHLgA/s320/5.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
6. reboot machine and start BI services ( opmnctl and weblogic services)&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
7. check log file (em portal) for any error.&lt;/div&gt;</description><link>http://dbataj.blogspot.com/2012/07/how-to-change-obiee-respository-users.html</link><author>noreply@blogger.com (Mohammed Taj)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRoEi06GI2uD9ksBMN-R5vPhlivfwSKjjRjGCZY9AOGdqSJXAdqwr35qZkrY3l7Zdu7PTGOugvMRvVKviwdTt9kM1KdIybJO2JGOvgjTtcdf6PUGKoYGScOWalV1Qpx5cv_ZopWg/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-2125790778789483671</guid><pubDate>Wed, 04 Jul 2012 15:36:00 +0000</pubDate><atom:updated>2012-07-04T19:36:10.637+04:00</atom:updated><title>Input Not Supported Msg on LCD</title><description>&lt;blockquote&gt;
INput Not supported msg on LCD. coming while login to linux server.&lt;/blockquote&gt;
&lt;br /&gt;
unable to find login screen and desktop.&lt;br /&gt;
&lt;br /&gt;
CTRL+ALT+F1 to change GUI to TEXT MODE&lt;br /&gt;
&lt;br /&gt;
CTRL + ALT + F7 to change TEXT MODE to GUI mode.&lt;br /&gt;
&lt;br /&gt;
how to set login resolution to view login screen on linux machine.&lt;br /&gt;
&lt;br /&gt;
login in single user mood (text mode)&lt;br /&gt;
&lt;br /&gt;
root]#system-config-display --reconfig&lt;br /&gt;&lt;br /&gt;the above command will open resolution windows (GUI MODE)&lt;br /&gt;
&lt;br /&gt;
reset the resolution and save.&lt;br /&gt;
&lt;br /&gt;
after that reboot linux machine.&lt;br /&gt;
&lt;br /&gt;
Thanks</description><link>http://dbataj.blogspot.com/2012/07/input-not-supported-msg-on-lcd.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-1061930136648893382</guid><pubDate>Mon, 02 Jul 2012 08:04:00 +0000</pubDate><atom:updated>2012-07-02T12:04:25.275+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">BUG</category><title>ORACLE.EXE Virtual Memory Keeps Increasing on x64 Windows</title><description>&lt;h2 class=&quot;km&quot; style=&quot;border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
Applies to:&lt;/h2&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;Oracle Server - Enterprise Edition - Version: 10.2.0.1&amp;nbsp;to&amp;nbsp;10.2.0.5.0&amp;nbsp;&amp;nbsp;&amp;nbsp;[Release: 10.2 to 10.2]&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;Microsoft Windows x64 (64-bit)&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;NOTICE that this is a PLATFORM SPECIFIC problem for 10gR2 on x64 Windows systems&lt;/span&gt;&lt;h2 class=&quot;km&quot; style=&quot;border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;SYMPTOM&quot;&gt;&lt;/a&gt;Symptoms&lt;/h2&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;ORACLE.EXE continuous increases the amount of virtual memory used, and you see zombie thread accumulation on 64-bit MS Windows environment.&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;No ORA-4030 seen, but instance needs be restarted frequently to bring down the amount of virtual memory consumed by the oracle.exe process. Eventually, if all virtual memory has been consumed, ORA-4030 will occur.&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;Using Perfmon or TaskManager you see that the virtual size of oracle.exe is constantly growing (up to several 100&#39;s MB per day).&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;Using the VMMap tool to analyze the oracle.exe process, you see that the process stack accumulates zombie threads that holds around 3072 KB per zombie thread, accounting for the excess virtual memory consumption.&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;VMMap is a process virtual and physical memory analysis utility (available for free) (technet.microsoft.com/sysinternals).&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;h2 class=&quot;km&quot; style=&quot;border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;CAUSE&quot;&gt;&lt;/a&gt;Cause&lt;/h2&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;10.2 was the first release on x64 Windows and it shipped with the 1.5 JDK / 1.4 in the database. There are some memory management issues with this release which are only fixed in 11.1+, so customers should use the workaround or upgrade to 11.1+.&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;The problem can occur when running JVM related applications.&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;When a session ends, the thread is not cleaned up at OS level, but remains as a zombie thread, still occupying 3072 KB of thread stack memory.&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;h2 class=&quot;km&quot; style=&quot;border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;Solution&lt;/h2&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;Workaround the problem by setting the following parameter, and restart the instance :&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp; _kill_java_threads_on_eoc=TRUE&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;OR&lt;/span&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 13px;&quot;&gt;Migrate to 11gR1 or 11gR2, where this problem does not occur.&lt;/span&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;</description><link>http://dbataj.blogspot.com/2012/07/oracleexe-virtual-memory-keeps.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-585553790451712083</guid><pubDate>Sun, 06 May 2012 04:59:00 +0000</pubDate><atom:updated>2012-05-06T08:59:12.174+04:00</atom:updated><title>Database Crashes With ORA-221, ORA-206, ORA-202, ORA-27072</title><description>&lt;blockquote&gt;
Database Crashes With ORA-221, ORA-206, ORA-202, ORA-27072 &lt;br /&gt;
&lt;br /&gt;
One of my TEST database crashed with the above error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reason: it is due to BUG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solution: Apply the following patch 4401119 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Workaround:&lt;br /&gt;
&lt;br /&gt;
None. However the default server settings for AIX are:&lt;br /&gt;
&lt;br /&gt;
MINIMUM number of servers [1]&lt;br /&gt;
&lt;br /&gt;
MAXIMUM number of servers per cpu [100]&lt;br /&gt;
&lt;br /&gt;
Maximum number of REQUESTS [4096] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This problem is improved slightly by changing the above values to something like:&lt;br /&gt;
&lt;br /&gt;
MINIMUM number of servers (minservers) [64]&lt;br /&gt;
&lt;br /&gt;
MAXIMUM number of servers per cpu(maxservers) [256]&lt;br /&gt;
&lt;br /&gt;
Maximum number of REQUESTS (maxreqs) [8192]&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;
Apply patch 4401119 for the applicable Oracle version and Operating System &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The issue is fixed in&lt;br /&gt;
&lt;br /&gt;
10.1.0.5 (Server Patch Set)&lt;br /&gt;
&lt;br /&gt;
10.2.0.2 (Server Patch Set)&lt;br /&gt;
&lt;br /&gt;
11.1.0.6 (Base Release)&lt;br /&gt;
&lt;br /&gt;
Please refer to&lt;br /&gt;
&lt;br /&gt;
Note 4401119.8 - Bug 4401119 - AIX: Crash possible on AIX (ORA-206)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Metalink NOTE: [ID 332867.1]&lt;/blockquote&gt;</description><link>http://dbataj.blogspot.com/2012/05/database-crashes-with-ora-221-ora-206.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-37416821.post-8024518135710552874</guid><pubDate>Fri, 09 Mar 2012 14:00:00 +0000</pubDate><atom:updated>2012-03-09T18:00:36.786+04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PATCH</category><title>Critical Patch January 2012 Applied</title><description>Hi,&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;Today i applied Critical Patch January 2012 on our all Production database successfully.&amp;nbsp;&lt;/div&gt;&lt;div&gt;without any error :)&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html&quot;&gt;http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html&lt;/a&gt; &lt;/div&gt;</description><link>http://dbataj.blogspot.com/2012/03/critical-patch-january-2012-applied.html</link><author>noreply@blogger.com (Mohammed Taj)</author><thr:total>0</thr:total></item></channel></rss>