﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-10560 Through ORA-19999  / ORA-16038: alter database open" ORA-16038 ORA-19809 ORA-00312 errors / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Fri, 10 Feb 2012 23:22:33 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ORA-16038: alter database open" ORA-16038 ORA-19809 ORA-00312 errors</title><link>http://www.franklinfaces.com/Topic118-55-1.aspx</link><description>Whenever you try to startup the database it fails with error ORA-16038,ORA-19809, ORA-00312.&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;SQL&amp;gt; startup&lt;/SPAN&gt;&lt;BR&gt;ORACLE instance started.&lt;BR&gt;&lt;BR&gt;Total System Global Area 167772160 bytes&lt;BR&gt;Fixed Size 2019288 bytes&lt;BR&gt;Variable Size 117440552 bytes&lt;BR&gt;Database Buffers 41943040 bytes&lt;BR&gt;Redo Buffers 6369280 bytes&lt;BR&gt;Database mounted.&lt;BR&gt;ORA-16038: log 3 sequence# 572 cannot be archived&lt;BR&gt;ORA-19809: limit exceeded for recovery files&lt;BR&gt;ORA-00312: online log 3 thread 1: '/oradata2/data1/dbase/redo03.log'&lt;BR&gt;&lt;BR&gt;Or in mount stage whenever you try to open the database it fails with error ORA-16014, ORA-00312.&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;SQL&amp;gt; alter database open;&lt;/SPAN&gt;&lt;BR&gt;alter database open&lt;BR&gt;*&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-16014: log 3 sequence# 572 not archived, no available destinations&lt;BR&gt;ORA-00312: online log 3 thread 1: '/oradata2/data1/dbase/redo03.log'&lt;BR&gt;&lt;/P&gt;&lt;P&gt;The most common of happening the error is the archive log destination if full. You have flash recovery area configured and rman retention policy is failed to delete any archived or incremental backups and so can't archived new online log.&lt;BR&gt;&lt;/P&gt;&lt;P&gt;1)Check alert log for any errors.&lt;BR&gt;&lt;BR&gt;2)Check the archive destination.  To make sure all is ok and not at 100%.&lt;BR&gt;&lt;BR&gt;3)Increase the value of db_recovery_file_dest_size&lt;BR&gt;&lt;BR&gt;4)Open the database now.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;If you have not enough space in your disk and you have recent backup of your database and archive log is not needed then you can issue&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;$rman target /&lt;BR&gt;RMAN&amp;gt;DELETE ARCHIVELOG UNTIL TIME 'SYSDATE-2';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;If you have not any recent backup then backup database to another location and delete archivelogs.&lt;BR&gt;&lt;BR&gt;To do this,&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;$rman target /&lt;BR&gt;RMAN&amp;gt;backup format '/oradata2/%U' archivelog all delete input database;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;If you have backup and only need archivelogs.&lt;BR&gt;&lt;BR&gt;In this case backup the archive log to another location and delete archive log from flash recovery area.&lt;BR&gt;You can do this by,&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;&lt;BR&gt;$rman target /&lt;BR&gt;RMAN&amp;gt; backup format '/oradata2/%U' archivelog all delete input;&lt;/SPAN&gt;</description><pubDate>Thu, 10 Jun 2010 12:08:59 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-16038: alter database open" ORA-16038 ORA-19809 ORA-00312 errors</title><link>http://www.franklinfaces.com/Topic118-55-1.aspx</link><description>oracle 10g database "alter database open" ORA-16038 ORA-19809 ORA-00312 errors&lt;/P&gt;&lt;P&gt;Just deleting the old backups/archive logs from disk is not sufficient as &lt;BR&gt;it's the rman repository/controlfile that holds the space used information.&lt;BR&gt;&lt;/P&gt;&lt;P&gt;There are a couple of possible options.&lt;BR&gt;&lt;BR&gt;1) Increase the parameter db_recovery_file_dest_size&lt;BR&gt;2) Stop using the db_recovery_file_dest by unsetting the parameter. (This &lt;BR&gt;   assumes you never really wanted to use this option)&lt;BR&gt;3) Remove the Entries from the rman repository/Controlfile&lt;BR&gt;&lt;BR&gt;The removal is desribed in the RMAN documentation but this is a quick and&lt;BR&gt;dirty way if you don't have an rman repository - but could endanger your &lt;BR&gt;ability to recover - so be careful.&lt;BR&gt;&lt;BR&gt;a) delete unwanted archive log files from disk (rm, del commands)&lt;BR&gt;b) connect to rman ( RMAN&amp;gt; connect target / )&lt;BR&gt;c) RMAN&amp;gt; crosscheck archivelog all; - marks the controlfile that the archives &lt;BR&gt;   have been deleted&lt;BR&gt;d) RMAN&amp;gt; delete expired archivelog all; - deletes the log entries identified &lt;BR&gt;   above.&lt;BR&gt;&lt;BR&gt;You should then find archiving resumes OK.</description><pubDate>Thu, 10 Jun 2010 12:00:12 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-16038: alter database open" ORA-16038 ORA-19809 ORA-00312 errors</title><link>http://www.franklinfaces.com/Topic118-55-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I'm getting the following error message when starting up the database:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;OS:  SUN Solaris 5.10      DB:   10.2.0.3   USING ASM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; startup&lt;BR&gt;ORACLE instance started.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;Total System Global Area 2634022912 bytes&lt;BR&gt;Fixed Size                  2130720 bytes&lt;BR&gt;Variable Size             513637600 bytes&lt;BR&gt;Database Buffers         2113929216 bytes&lt;BR&gt;Redo Buffers                4325376 bytes&lt;BR&gt;Database mounted.&lt;BR&gt;ORA-16038: log 2 sequence# 1704 cannot be archived&lt;BR&gt;ORA-19809: limit exceeded for recovery files&lt;BR&gt;ORA-00312: online log 2 thread 1:&lt;BR&gt;'+SHARED_DATA_DG02/proddb/onlinelog/group_2.257.681318315'&lt;BR&gt;ORA-00312: online log 2 thread 1:&lt;BR&gt;'+SHARED_DATA_DG03/proddb/onlinelog/group_2.263.681321803'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I couldn't figure out what to do.  I even deleted all the archivelogs from RMAN:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;RMAN&amp;gt; delete noprompt archivelog all;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;released channel: ORA_DISK_1&lt;BR&gt;released channel: ORA_DISK_2&lt;BR&gt;allocated channel: ORA_DISK_1&lt;BR&gt;channel ORA_DISK_1: sid=64 devtype=DISK&lt;BR&gt;allocated channel: ORA_DISK_2&lt;BR&gt;channel ORA_DISK_2: sid=163 devtype=DISK&lt;BR&gt;specification does not match any archive log in the recovery catalog&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I then checked the recovery area:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; show parameter recovery&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;NAME                                 TYPE        VALUE&lt;BR&gt;------------------------------------ ----------- ------------------------------&lt;BR&gt;db_recovery_file_dest                string      +SHARED_FRA_DG01&lt;BR&gt;db_recovery_file_dest_size           big integer 2G&lt;BR&gt;recovery_parallelism                 integer     0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;After checking this, I knew what my problem was.   The db_recovery_file_dest_size is set to 2G.  When i had created my spfile, i had set it to 200G, but this time, I had started it with the init&amp;lt;sid&amp;gt;.ora file and the initfile had it set to 2G and the archiver had been stuck.   I changed it by issuesing the following command:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;SQL&amp;gt; alter system set db_recovery_file_dest_size=200G scope=both;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;System altered.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Then i shutdown the db and started it up again:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#115511&gt;SQL&amp;gt; shutdown immediate;&lt;BR&gt;ORA-01109: database not open&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#115511&gt;Database dismounted.&lt;BR&gt;ORACLE instance shut down.&lt;BR&gt;SQL&amp;gt; startup&lt;BR&gt;ORACLE instance started.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#115511&gt;Total System Global Area 2634022912 bytes&lt;BR&gt;Fixed Size                  2130720 bytes&lt;BR&gt;Variable Size             513637600 bytes&lt;BR&gt;Database Buffers         2113929216 bytes&lt;BR&gt;Redo Buffers                4325376 bytes&lt;BR&gt;Database mounted.&lt;BR&gt;Database opened.&lt;BR&gt;SQL&amp;gt; exit&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Hope this helps.&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt; </description><pubDate>Fri, 24 Apr 2009 15:57:17 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
